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/13 06:34:19 $ |
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 |
Resource: |
103 |
@GoToWikiNewsLink: |
104 |
@@@: News |
105 |
@@lang:en |
106 |
@GoToWikiHelpLink: |
107 |
@@@: Help |
108 |
@@lang:en |
109 |
@GoToWikiPageLicenseLink: |
110 |
@@@: License |
111 |
@@lang:en |
112 |
|
113 |
ViewFragment: |
114 |
@Name: we--edit |
115 |
@Order: -100 |
116 |
@Formatting: |
117 |
%line(content=>{ |
118 |
%submit(accesskey=>S,label=>{%res(name=>{Edit:Save});}p); |
119 |
[%wpp--next-anchor-index;] |
120 |
}p); |
121 |
|
122 |
ViewFragment: |
123 |
@Name: we--edit |
124 |
@Order: -10 |
125 |
@Formatting: %line(content=>{ |
126 |
ViewFragment: |
127 |
@Name: we--edit |
128 |
@Order: 10 |
129 |
@Formatting: }p); |
130 |
|
131 |
ViewFragment: |
132 |
@Name: we--edit |
133 |
@Order: 150 |
134 |
@Formatting: |
135 |
%line(content=>{ |
136 |
|
137 |
ViewFragment: |
138 |
@Name: we--edit |
139 |
@Order: 250 |
140 |
@Formatting: |
141 |
%mode-after-edit-selection ( |
142 |
description => {%res (name => {Edit:SaveAnd:Description});}p, |
143 |
); |
144 |
|
145 |
%we--update-lastmodified-datetime; |
146 |
}p); |
147 |
|
148 |
Resource: |
149 |
@Footer:License:SeeLicensePage: |
150 |
@@@: %char (ucs => {U+00A9}); |
151 |
@Footer:License:SeeLicensePageLong: |
152 |
@@@: See license document |
153 |
@@lang:en |
154 |
@GoToCreatePage: |
155 |
@@@: Create |
156 |
@@lang: en |
157 |
@GoToCreatePageLong: |
158 |
@@@: Create a new WikiPage |
159 |
@@lang: en |
160 |
@GoToSearchPage: |
161 |
@@@: Search |
162 |
@@lang: en |
163 |
@GoToSearchPageLink: |
164 |
@@@: Search in this wiki |
165 |
@@lang: en |
166 |
@GoToSearchPageLong: |
167 |
@@@: Search word in this wiki |
168 |
@@lang: en |
169 |
@GoToWikiHelpLink: |
170 |
@@@: Help page |
171 |
@@lang: en |
172 |
@GoToWikiPageLicenseLink: |
173 |
@@@: License of this wiki |
174 |
@@lang: en |
175 |
@GoToWikiNewsLink: |
176 |
@@@: News on this wiki |
177 |
@@lang: en |
178 |
@JumpToLink: |
179 |
@@@: Open a WikiPage... |
180 |
@@lang: en |
181 |
@JumpToEditLink: |
182 |
@@@: Open a WikiPage in editing mode... |
183 |
@@lang: en |
184 |
@WikiForm:Create:Name: |
185 |
@@@: WikiName |
186 |
@@lang: en |
187 |
@WikiForm:Search:Name: |
188 |
@@@: Keyword |
189 |
@@lang: en |
190 |
|
191 |
|
192 |
|
193 |
|
194 |
|
195 |
|