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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sat Mar 13 06:10:00 2004 UTC (21 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.8: +4 -1 lines
New resource text

1 #?SuikaWikiConfig/2.0
2
3 Plugin:
4 @Name: config
5 @Description:
6 @@@: Per-Wiki Configuration Pseudo-Plugin
7 @@lang:en
8 @License: %%Perl%%
9 @Date.RCS:
10 $Date: 2004/03/11 10:09:41 $
11
12 ViewFragment:
13 @Name: navbar
14 @Order: 20
15 @Formatting:
16 %link-to-wikipage (
17 page => {Wiki//Page//Create},
18 label => {%link-to-it (
19 label => "%res(name=>GoToCreatePage);"p,
20 description => "%res(name=>GoToCreatePageLong);"p,
21 );},
22 );
23 %link-to-wikipage (
24 page => {Wiki//Page//Search},
25 label => {%link-to-it (
26 label=>"%res(name=>GoToSearchPage);"p,
27 description=>"%res(name=>GoToSearchPageLong);"p,
28 );},
29 rel => search,
30 );
31
32 ViewFragment:
33 @Name: links
34 @Formatting:
35 %link-wiki(page=>"Wiki//News",rel=>news,
36 description=>"%res(name=>GoToWikiNewsLink);"p);
37 %link-wiki(page=>"Wiki//Help",rel=>help,
38 description=>"%res(name=>GoToWikiHelpLink);"p);
39 %link-wiki(page=>"Wiki//Page//License",rel=>copyright,
40 description=>"%res(name=>GoToWikiPageLicenseLink);"p);
41
42 %link-wiki(page=>"Wiki//Page//Search",rel=>search,
43 description=>"%res(name=>GoToSearchPageLink);"p);
44
45 ## TODO: Resource, URI
46 %link-to-resource (
47 uri => {javascript:var%20WikiName=prompt('Please%20input%20the%20WikiName:','','Jump%20to%20SuikaWiki');if(WikiName)%7B_content.location.href='wiki%3F'+encodeURIComponent(WikiName)%7D},
48 rel => jump,
49 class => wiki-cmd,
50 label => {%html-link (
51 description => {%res(name=>JumpToLink);}p,
52 );},
53 );
54 %link-to-resource (
55 uri => {javascript:var%20WikiName=prompt('Please%20input%20the%20WikiName:','','Jump%20to%20SuikaWiki');if(WikiName)%7B_content.location.href='wiki%3Fmycmd=edit;mypage='+encodeURIComponent(WikiName)%7D},
56 rel => jump,
57 class => wiki-cmd,
58 label => {%html-link (
59 description => {%res(name=>JumpToEditLink);}p,
60 );},
61 );
62
63 ViewFragment:
64 @Name: ws--footer
65 @Formatting:
66 %link-to-wikipage (
67 page => {Wiki//Page//License},
68 label => {%link-to-it (
69 label => {%res (name => {Footer:License:SeeLicensePage});}p,
70 description => {%res (name => {Footer:License:SeeLicensePageLong});}p,
71 );},
72 );
73
74 ViewFragment:
75 @Template[list]:
76 we--edit-body
77 we--conflict-body
78 @Order: 1000
79 @Description:
80 @@@: WikiPage editing guide
81 @@lang:en
82 @Formatting:
83 %block (
84 id => edit-help,
85 content => {%read(page=>{Wiki//Edit//Help});}p,
86 );
87
88 Resource:
89 @GoToWikiNewsLink:
90 @@@: News
91 @@lang:en
92 @GoToWikiHelpLink:
93 @@@: Help
94 @@lang:en
95 @GoToWikiPageLicenseLink:
96 @@@: License
97 @@lang:en
98 @StyleSet:Name:SuikaWiki:
99 @@@: SuikaWiki
100 @@lang: ja
101
102 ViewFragment:
103 @Name: we--edit
104 @Order: -100
105 @Formatting:
106 %line(content=>{
107 %submit(accesskey=>S,label=>{%res(name=>{Edit:Save});}p);
108 [%wpp--next-anchor-index;]
109 }p);
110
111 ViewFragment:
112 @Name: we--edit
113 @Order: -10
114 @Formatting: %line(content=>{
115 ViewFragment:
116 @Name: we--edit
117 @Order: 10
118 @Formatting: }p);
119
120 ViewFragment:
121 @Name: we--edit
122 @Order: 150
123 @Formatting:
124 %line(content=>{
125
126 ViewFragment:
127 @Name: we--edit
128 @Order: 250
129 @Formatting:
130 %mode-after-edit-selection (
131 description => {%res (name => {Edit:SaveAnd:Description});}p,
132 );
133
134 %we--update-lastmodified-datetime;
135 }p);
136
137 Resource:
138 @Footer:License:SeeLicensePage:
139 @@@: %char (ucs => {U+00A9});
140 @Footer:License:SeeLicensePageLong:
141 @@@: See license document
142 @@lang:en
143 @GoToCreatePage:
144 @@@: Create
145 @@lang: en
146 @GoToCreatePageLong:
147 @@@: Create a new WikiPage
148 @@lang: en
149 @GoToSearchPage:
150 @@@: Search
151 @@lang: en
152 @GoToSearchPageLink:
153 @@@: Search in this wiki
154 @@lang: en
155 @GoToSearchPageLong:
156 @@@: Search word in this wiki
157 @@lang: en
158 @GoToWikiHelpLink:
159 @@@: Help page
160 @@lang: en
161 @GoToWikiPageLicenseLink:
162 @@@: License of this wiki
163 @@lang: en
164 @GoToWikiNewsLink:
165 @@@: News on this wiki
166 @@lang: en
167 @JumpToLink:
168 @@@: Open a WikiPage...
169 @@lang: en
170 @JumpToEditLink:
171 @@@: Open a WikiPage in editing mode...
172 @@lang: en
173 @WikiForm:Create:Name:
174 @@@: WikiName
175 @@lang: en
176 @WikiForm:Search:Name:
177 @@@: Keyword
178 @@lang: en
179
180
181
182
183
184

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24