/[suikacvs]/2005/helowiki/config.wp2
Suika

Contents of /2005/helowiki/config.wp2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Sun May 16 22:40:03 2010 UTC (13 years, 11 months ago) by hero
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +8 -1 lines
added

1 hero 1.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 hero 1.3 $Date: 2005/01/21 16:14:27 $
11 hero 1.1
12     ViewFragment:
13     @Name: navbar
14     @Order: 20
15     @Formatting:
16 hero 1.3 %link-to-wikipage (
17     page => {//},
18     label => {%link-to-it (
19     label => "%res(name=>GoToHomePage);"p,
20     description => "%res(name=>GoToHomePageLong);"p,
21     );},
22     );
23 hero 1.1 %link-to-wikipage (
24     page => {Wiki//Page//Create},
25     label => {%link-to-it (
26     label => "%res(name=>GoToCreatePage);"p,
27     description => "%res(name=>GoToCreatePageLong);"p,
28     );},
29     );
30     %link-to-wikipage (
31     page => {Wiki//Page//Search},
32     label => {%link-to-it (
33     label=>"%res(name=>GoToSearchPage);"p,
34     description=>"%res(name=>GoToSearchPageLong);"p,
35     );},
36     rel => search,
37     );
38    
39     ViewFragment:
40     @Name: links
41     @Formatting:
42     %link-wiki(page=>"Wiki//News",rel=>news,
43     description=>"%res(name=>GoToWikiNewsLink);"p);
44     %link-wiki(page=>"Wiki//Help",rel=>help,
45     description=>"%res(name=>GoToWikiHelpLink);"p);
46     %link-wiki(page=>"Wiki//Page//License",rel=>copyright,
47     description=>"%res(name=>GoToWikiPageLicenseLink);"p);
48    
49     %link-wiki(page=>"Wiki//Page//Search",rel=>search,
50     description=>"%res(name=>GoToSearchPageLink);"p);
51    
52     ## TODO: Resource, URI
53     %link-to-resource (
54     uri => {javascript:var%20WikiName=prompt('Please%20input%20the%20WikiName:','','Jump%20to%20SuikaWiki');if(WikiName)%7B_content.location.href='wiki%3F'+encodeURIComponent(WikiName)%7D},
55     rel => jump,
56     class => wiki-cmd,
57     label => {%html-link (
58     description => {%res(name=>JumpToLink);}p,
59     );},
60     );
61     %link-to-resource (
62     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},
63     rel => jump,
64     class => wiki-cmd,
65     label => {%html-link (
66     description => {%res(name=>JumpToEditLink);}p,
67     );},
68     );
69    
70     ViewFragment:
71     @Name: ws--footer
72     @Formatting:
73     %link-to-wikipage (
74     page => {Wiki//Page//License},
75     label => {%link-to-it (
76     label => {%res (name => {Footer:License:SeeLicensePage});}p,
77     description => {%res (name => {Footer:License:SeeLicensePageLong});}p,
78     );},
79     );
80    
81     ViewFragment:
82     @Template[list]:
83     we--edit-body
84     we--conflict-body
85     @Order: 1000
86     @Description:
87     @@@: WikiPage editing guide
88     @@lang:en
89     @Formatting:
90     %block (
91     id => edit-help,
92     content => {%read(page=>{Wiki//Edit//Help});}p,
93     );
94    
95     ViewFragment:
96     @Name: we--edit
97     @Order: -100
98     @Formatting:
99     %line(content=>{
100     %submit(accesskey=>S,label=>{%res(name=>{Edit:Save});}p);
101     [%wpp--next-anchor-index;]
102     }p);
103    
104     ViewFragment:
105     @Name: we--edit
106     @Order: -10
107     @Formatting: %line(content=>{
108     ViewFragment:
109     @Name: we--edit
110     @Order: 10
111     @Formatting: }p);
112    
113     ViewFragment:
114     @Name: we--edit
115     @Order: 150
116     @Formatting:
117     %line(content=>{
118    
119     ViewFragment:
120     @Name: we--edit
121     @Order: 250
122     @Formatting:
123     %mode-after-edit-selection (
124     description => {%res (name => {Edit:SaveAnd:Description});}p,
125     );
126    
127     %we--update-lastmodified-datetime;
128     }p);
129    
130 hero 1.2 ViewFragment:
131     @Name: ws--post-content
132     @Description:
133     @@@: After content body -- URI
134     @@lang:en
135     @Order: 700
136     @Formatting:
137     %block (
138     class => myuri,
139     content => {
140     %res (name => {WikiPage:ThisURI=});
141     %link-to-wikipage (
142     label => {<%link-to-it (label => {%uri-reference;}p);>},
143     );
144     }p,
145     );
146    
147 hero 1.1 ## If you use Namazu plugin, use this configuration.
148     #
149     #FormattingRuleAlias:
150     # @Category[list]:
151     # view
152     # view-resource
153     # form-input
154     # @Name: search-result
155     # @Reference:
156     # @@Category: view
157     # @@Name: namazu-search
158    
159     Resource:
160     @Footer:License:SeeLicensePage:
161     @@@: %char (ucs => {U+00A9});
162     @Footer:License:SeeLicensePageLong:
163     @@@: See license document
164     @@lang:en
165     @GoToCreatePage:
166     @@@: Create
167     @@lang: en
168     @GoToCreatePageLong:
169     @@@: Create a new WikiPage
170     @@lang: en
171     @GoToSearchPage:
172     @@@: Search
173     @@lang: en
174     @GoToSearchPageLink:
175     @@@: Search in this wiki
176     @@lang: en
177     @GoToSearchPageLong:
178     @@@: Search word in this wiki
179     @@lang: en
180     @GoToWikiHelpLink:
181     @@@: Help page
182     @@lang: en
183     @GoToWikiPageLicenseLink:
184     @@@: License for contents of this wiki
185     @@lang: en
186     @GoToWikiNewsLink:
187     @@@: News on this wiki
188     @@lang: en
189     @JumpToLink:
190     @@@: Open a WikiPage...
191     @@lang: en
192     @JumpToEditLink:
193     @@@: Open a WikiPage in editing mode...
194     @@lang: en
195     @StyleSet:Name:SuikaWiki:
196     @@@: SuikaWiki
197     @@lang: ja
198     @WikiForm:Create:Name:
199     @@@: WikiName
200     @@lang: en
201     @WikiForm:Search:Name:
202     @@@: Keyword
203     @@lang: en
204 hero 1.2 @WikiPage:ThisURI=:
205     @@lang:en
206     @@@:
207     This WikiPage:
208 hero 1.1
209    
210    
211    
212    
213    

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24