/[pub]/suikawiki/script/default/config.wp2
Suika

Diff of /suikawiki/script/default/config.wp2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by wakaba, Sat Oct 25 06:40:08 2003 UTC revision 1.2 by wakaba, Thu Oct 30 07:48:44 2003 UTC
# Line 35  ViewFragment: Line 35  ViewFragment:
35      %link-wiki(page=>"Wiki//Page//License",rel=>copyright,class=>wiki,      %link-wiki(page=>"Wiki//Page//License",rel=>copyright,class=>wiki,
36                 title=>"%res(name=>GoToWikiPageLicenseLink);"p);                 title=>"%res(name=>GoToWikiPageLicenseLink);"p);
37    
38        %link-wiki(page=>"Wiki//Page//Search",rel=>search,class=>wiki,
39                   title=>"%res(name=>GoToSearchPageLink);"p);
40    
41    ViewFragment:
42      @Name: ws--post-content
43      @Description:
44        @@@: After content body -- navigation bar
45        @@lang:en
46      @Order: 100
47      @Formatting:
48        %section (level=>2,
49          id       => children,
50          title    => {%res(name=>{Children:Title});}p, heading,
51          content  => {%page-list (
52                         ns       => {%page-name;}p, recursive => 0,
53                         type     => both,
54                         template => {%res(name=>{Children:Item});}p,
55                       );}p,
56        );
57            %section (level=>2,
58              id => see-also,
59              title => {%res(name=>SeeAlso);}p, heading,
60              content => {%search-result;}p,
61            );
62            %section (level=>2,
63              id => referer,
64              title => {%res(name=>Referer);}p, heading,
65              content => {%referer-list;}p,
66            );
67            %section (level=>2,
68              id => toc,
69              title => {%res(name=>{TOC:Title});}p, heading, add-to-toc => 0,
70              content => {%toc(drag);}p,
71            );
72    
73  ViewFragment:  ViewFragment:
74    @Name: ws--footer    @Name: ws--footer
75    @Formatting:    @Formatting:
# Line 43  ViewFragment: Line 78  ViewFragment:
78        label => {%link-to-it (label => {%char (ucs => {U+00A9});}p);},        label => {%link-to-it (label => {%char (ucs => {U+00A9});}p);},
79      );      );
80    
81    ViewFragment:
82      @Template[list]:wr--read-body
83      @Order: -10
84      @Description:
85        @@@: "Read" mode body -- Calender
86        @@lang:en
87      @Formatting:
88          %if-calender(month,true=>{
89            %format(context=>form_input,template=>{%calender;});
90          },false=>{
91            %if-calender(true=>{
92              %format(context=>form_input,template=>{%calender-months;});
93            });
94          });
95    
96    
97    ViewFragment:
98      @Template[list]:
99         we--edit-body
100         we--conflict-body
101      @Order: 1000
102      @Description:
103        @@@: WikiPage editing guide
104        @@lang:en
105      @Formatting:
106                        %block (
107                          id => edit-help,
108                          content => {%read(page=>{Wiki//EditHelp});}p,
109                        );
110    
111    
112    
113    
114  Resource:  Resource:
115    @GoToWikiNewsLink:    @GoToWikiNewsLink:
116      @@@: News      @@@: News
# Line 86  ViewFragment: Line 154  ViewFragment:
154      }p);      }p);
155    
156    
157    ## --- Should be moved to proper plugin module ---
158    
159    ## WikiPageRename
160    ViewFragment:
161      @Template[list]: we--adminedit-body
162      @Order:10
163      @Description:
164        @@@: Renaming WikiName section
165        @@lang:en
166      @Formatting:
167                    %section(level=>2,
168                      title   => {%res(name=>{Edit:Rename:Title});}p, heading,
169                      content => {
170                        %wp-rename-form (
171                          content => {
172                            %text (
173                              id      => to,
174                              label   => {%res(name=>{Edit:Rename:To=});}p,
175                              size    => 10,
176                              default => {%page-name;}p,
177                            );
178                            %submit;
179                          }p,
180                        );
181                      }p,
182                    );
183    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24