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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Fri Dec 26 07:05:09 2003 UTC (20 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.2: +50 -27 lines
*** empty log message ***

1 wakaba 1.1 #?SuikaWikiConfig/2.0
2    
3     Plugin:
4     @Name: config
5     @Description:
6     @@@: Per-Wiki Configuration Pseudo-Plugin
7     @@lang:en
8     @License: %%GPL%%
9 wakaba 1.3 @Date.RCS: $Date: 2003/10/30 07:48:44 $
10 wakaba 1.1
11     ViewFragment:
12     @Name: navbar
13     @Order: 20
14     @Formatting:
15 wakaba 1.3 %link-to-wikipage (
16     page => {Wiki//Page//Create},
17     label => {%link-to-it (
18     label => "%res(name=>GoToCreatePage);"p,
19     description => "%res(name=>GoToCreatePageLong);"p,
20     );},
21     );
22     %link-to-wikipage (
23     page => {IndexPage},
24     label => {%link-to-it (
25 wakaba 1.1 label=>"%res(name=>GoToIndexPage);"p,
26 wakaba 1.3 description=>"%res(name=>GoToIndexPageLong);"p,
27     );},
28     rel => index,
29     );
30     %link-to-wikipage (
31     page => {Wiki//Page//Search},
32     label => {%link-to-it (
33 wakaba 1.1 label=>"%res(name=>GoToSearchPage);"p,
34 wakaba 1.3 description=>"%res(name=>GoToSearchPageLong);"p,
35     );},
36     rel => search,
37     );
38     %link-to-wikipage (
39     page => {RecentChanges},
40     label => {%link-to-it (
41 wakaba 1.1 label=>"%res(name=>GoToRecentChanges);"p,
42 wakaba 1.3 description=>"%res(name=>GoToRecentChangesLong);"p,
43     );},
44     rel => news,
45     );
46 wakaba 1.1
47     ViewFragment:
48     @Name: links
49     @Formatting:
50 wakaba 1.3 %link-wiki(page=>"Wiki//News",rel=>news,
51     description=>"%res(name=>GoToWikiNewsLink);"p);
52     %link-wiki(page=>"Wiki//Help",rel=>help,
53     description=>"%res(name=>GoToWikiHelpLink);"p);
54     %link-wiki(page=>"Wiki//Page//License",rel=>copyright,
55     description=>"%res(name=>GoToWikiPageLicenseLink);"p);
56 wakaba 1.1
57 wakaba 1.3 %link-wiki(page=>"Wiki//Page//Search",rel=>search,
58     description=>"%res(name=>GoToSearchPageLink);"p);
59 wakaba 1.2
60     ViewFragment:
61     @Name: ws--post-content
62     @Description:
63     @@@: After content body -- navigation bar
64     @@lang:en
65     @Order: 100
66     @Formatting:
67     %section (level=>2,
68     id => children,
69     title => {%res(name=>{Children:Title});}p, heading,
70     content => {%page-list (
71     ns => {%page-name;}p, recursive => 0,
72     type => both,
73     template => {%res(name=>{Children:Item});}p,
74     );}p,
75     );
76     %section (level=>2,
77     id => see-also,
78     title => {%res(name=>SeeAlso);}p, heading,
79     content => {%search-result;}p,
80     );
81     %section (level=>2,
82     id => referer,
83     title => {%res(name=>Referer);}p, heading,
84     content => {%referer-list;}p,
85     );
86    
87 wakaba 1.1 ViewFragment:
88     @Name: ws--footer
89     @Formatting:
90     %link-to-wikipage (
91     page => {Wiki//Page//License},
92 wakaba 1.3 label => {%link-to-it (
93     label => {%res (name => {Footer:License:SeeLicensePage});}p,
94     description => {%res (name => {Footer:License:SeeLicensePageLong});}p,
95     );},
96 wakaba 1.1 );
97    
98 wakaba 1.2 ViewFragment:
99     @Template[list]:wr--read-body
100     @Order: -10
101     @Description:
102     @@@: "Read" mode body -- Calender
103     @@lang:en
104     @Formatting:
105     %if-calender(month,true=>{
106     %format(context=>form_input,template=>{%calender;});
107     },false=>{
108     %if-calender(true=>{
109     %format(context=>form_input,template=>{%calender-months;});
110     });
111     });
112    
113    
114     ViewFragment:
115     @Template[list]:
116     we--edit-body
117     we--conflict-body
118     @Order: 1000
119     @Description:
120     @@@: WikiPage editing guide
121     @@lang:en
122     @Formatting:
123     %block (
124     id => edit-help,
125     content => {%read(page=>{Wiki//EditHelp});}p,
126     );
127    
128    
129    
130    
131 wakaba 1.1 Resource:
132     @GoToWikiNewsLink:
133     @@@: News
134     @@lang:en
135     @GoToWikiHelpLink:
136     @@@: Help
137     @@lang:en
138     @GoToWikiPageLicenseLink:
139     @@@: License
140     @@lang:en
141    
142     ViewFragment:
143     @Name: we--edit
144     @Order: -100
145     @Formatting:
146 wakaba 1.3 %line(content=>{
147 wakaba 1.1 %submit(accesskey=>S,label=>{%res(name=>{Edit:Save});}p);
148     }p);
149    
150     ViewFragment:
151     @Name: we--edit
152     @Order: -10
153 wakaba 1.3 @Formatting: %line(content=>{
154 wakaba 1.1 ViewFragment:
155     @Name: we--edit
156     @Order: 10
157     @Formatting: }p);
158    
159     ViewFragment:
160     @Name: we--edit
161     @Order: 150
162     @Formatting:
163 wakaba 1.3 %line(content=>{
164 wakaba 1.1
165     ViewFragment:
166     @Name: we--edit
167     @Order: 250
168     @Formatting:
169     %mode-after-edit-selection;
170    
171     }p);
172    
173 wakaba 1.3 Resource:
174     @Footer:License:SeeLicensePage:
175     @@@: %char (ucs => {U+00A9});
176     @Footer:License:SeeLicensePageLong:
177     @@@: See license document
178     @@lang:en
179 wakaba 1.2
180     ## --- Should be moved to proper plugin module ---
181    
182     ## WikiPageRename
183     ViewFragment:
184     @Template[list]: we--adminedit-body
185     @Order:10
186     @Description:
187     @@@: Renaming WikiName section
188     @@lang:en
189     @Formatting:
190     %section(level=>2,
191     title => {%res(name=>{Edit:Rename:Title});}p, heading,
192     content => {
193     %wp-rename-form (
194     content => {
195     %text (
196     id => to,
197     label => {%res(name=>{Edit:Rename:To=});}p,
198     size => 10,
199     default => {%page-name;}p,
200     );
201     %submit;
202     }p,
203     );
204     }p,
205     );
206 wakaba 1.1

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24