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/20 04:09:14 $ |
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 |
%link-to-resource ( |
46 |
iw-name => {wiki-content-in-cvs-repository}, |
47 |
iw-parameter => {%page-name;}p, |
48 |
rel => history, |
49 |
class => wiki-cmd, |
50 |
label => {%html-link ( |
51 |
description => {%res (name => ViewHistoryOfThisPageLink);}p, |
52 |
);}, |
53 |
); |
54 |
|
55 |
ViewFragment: |
56 |
@Name: links |
57 |
@Order: 100010 |
58 |
@Formatting: |
59 |
## TODO: Resource, URI |
60 |
%link-to-resource ( |
61 |
uri => {javascript:var%20WikiName=prompt('Please%20input%20the%20WikiName:','','Jump%20to%20SuikaWiki');if(WikiName)%7B_content.location.href='wiki%3F'+encodeURIComponent(WikiName)%7D}, |
62 |
rel => jump, |
63 |
class => wiki-cmd, |
64 |
label => {%html-link ( |
65 |
description => {%res(name=>JumpToLink);}p, |
66 |
);}, |
67 |
); |
68 |
%link-to-resource ( |
69 |
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}, |
70 |
rel => jump, |
71 |
class => wiki-cmd, |
72 |
label => {%html-link ( |
73 |
description => {%res(name=>JumpToEditLink);}p, |
74 |
);}, |
75 |
); |
76 |
|
77 |
ViewFragment: |
78 |
@Name: ws--footer |
79 |
@Formatting: |
80 |
%link-to-wikipage ( |
81 |
page => {Wiki//Page//License}, |
82 |
label => {%link-to-it ( |
83 |
label => {%res (name => {Footer:License:SeeLicensePage});}p, |
84 |
description => {%res (name => {Footer:License:SeeLicensePageLong});}p, |
85 |
);}, |
86 |
); |
87 |
|
88 |
ViewFragment: |
89 |
@Template[list]: |
90 |
we--edit-body |
91 |
we--conflict-body |
92 |
@Order: 1000 |
93 |
@Description: |
94 |
@@@: WikiPage editing guide |
95 |
@@lang:en |
96 |
@Formatting: |
97 |
%block ( |
98 |
id => edit-help, |
99 |
content => {%read(page=>{Wiki//Edit//Help});}p, |
100 |
); |
101 |
|
102 |
FormattingRuleAlias: |
103 |
@Category[list]: |
104 |
view |
105 |
view-resource |
106 |
form-input |
107 |
@Name: search-result |
108 |
@Reference: |
109 |
@@Category: view |
110 |
@@Name: namazu-search |
111 |
|
112 |
FormattingRuleAlias: |
113 |
@Category[list]: |
114 |
form-template |
115 |
@Name: name |
116 |
@Reference: |
117 |
@@Category: form-template |
118 |
@@Name: bbs--2ch-name |
119 |
|
120 |
ViewFragment: |
121 |
@Name: we--edit |
122 |
@Order: -100 |
123 |
@Formatting: |
124 |
%line(content=>{ |
125 |
%submit(accesskey=>S,label=>{%res(name=>{Edit:Save});}p); |
126 |
[%wpp--next-anchor-index;] |
127 |
}p); |
128 |
|
129 |
ViewFragment: |
130 |
@Name: we--edit |
131 |
@Order: -10 |
132 |
@Formatting: %line(content=>{ |
133 |
ViewFragment: |
134 |
@Name: we--edit |
135 |
@Order: 10 |
136 |
@Formatting: }p); |
137 |
|
138 |
ViewFragment: |
139 |
@Name: we--edit |
140 |
@Order: 150 |
141 |
@Formatting: |
142 |
%line(content=>{ |
143 |
|
144 |
ViewFragment: |
145 |
@Name: we--edit |
146 |
@Order: 250 |
147 |
@Formatting: |
148 |
%mode-after-edit-selection ( |
149 |
description => {%res (name => {Edit:SaveAnd:Description});}p, |
150 |
); |
151 |
|
152 |
%check (id => we--touch, |
153 |
label => {%res (name => {Edit:UpdateTimeStamp});}p, |
154 |
description => {%res (name => {Edit:UpdateTimeStamp:Description});}p, |
155 |
default); |
156 |
}p); |
157 |
|
158 |
Resource: |
159 |
@Edit:UpdateTimeStamp: |
160 |
@@@: Update timestamp |
161 |
@@lang: en |
162 |
@Edit:UpdateTimeStamp:Description: |
163 |
@@@: Update Last-Modified date-time to "now" |
164 |
@@lang: en |
165 |
@Footer:License:SeeLicensePage: |
166 |
@@@: %char (ucs => {U+00A9}); |
167 |
@Footer:License:SeeLicensePageLong: |
168 |
@@@: See license document |
169 |
@@lang:en |
170 |
@GoToCreatePage: |
171 |
@@@: Create |
172 |
@@lang: en |
173 |
@GoToCreatePageLong: |
174 |
@@@: Create a new WikiPage |
175 |
@@lang: en |
176 |
@GoToSearchPage: |
177 |
@@@: Search |
178 |
@@lang: en |
179 |
@GoToSearchPageLink: |
180 |
@@@: Search in this wiki |
181 |
@@lang: en |
182 |
@GoToSearchPageLong: |
183 |
@@@: Search word in this wiki |
184 |
@@lang: en |
185 |
@GoToWikiHelpLink: |
186 |
@@@: Help page |
187 |
@@lang: en |
188 |
@GoToWikiPageLicenseLink: |
189 |
@@@: License for contents of this wiki |
190 |
@@lang: en |
191 |
@GoToWikiNewsLink: |
192 |
@@@: News on this wiki |
193 |
@@lang: en |
194 |
@JumpToLink: |
195 |
@@@: Open a WikiPage... |
196 |
@@lang: en |
197 |
@JumpToEditLink: |
198 |
@@@: Open a WikiPage in editing mode... |
199 |
@@lang: en |
200 |
@StyleSet:Name:SuikaWiki: |
201 |
@@@: SuikaWiki |
202 |
@@lang: ja |
203 |
@WikiForm:Create:Name: |
204 |
@@@: WikiName |
205 |
@@lang: en |
206 |
@WikiForm:Search:Name: |
207 |
@@@: Keyword |
208 |
@@lang: en |
209 |
|
210 |
|
211 |
|
212 |
|
213 |
|
214 |
|