1 |
#?SuikaWikiConfig/2.0 |
2 |
|
3 |
Plugin: |
4 |
@Name: Menu |
5 |
@Description: |
6 |
@@@: Navigation menu bar |
7 |
@@lang:en |
8 |
@License: %%Perl%% |
9 |
@Author: |
10 |
@@Name: |
11 |
@@@@: Wakaba |
12 |
@@@lang:ja |
13 |
@@@script:Latn |
14 |
@@Mail[list]: w@suika.fam.cx |
15 |
@Date.RCS: |
16 |
$Date: 2004/03/10 07:00:32 $ |
17 |
@RequiredPlugin[list]: |
18 |
Error |
19 |
HTML |
20 |
WikiLinking |
21 |
WikiStruct |
22 |
|
23 |
PluginConst: |
24 |
@NS_XHTML1: |
25 |
http://www.w3.org/1999/xhtml |
26 |
|
27 |
|
28 |
ViewDefinition: |
29 |
@Mode: mininav |
30 |
@Condition: |
31 |
@@http-method[list]: |
32 |
GET |
33 |
HEAD |
34 |
@Description: |
35 |
@@@: Mini navigation menu bar |
36 |
@@lang: en |
37 |
@template: |
38 |
@@http-status-code: 200 |
39 |
@@media-type: text/html |
40 |
@@use-media-type-charset: 1 |
41 |
@@expires: %%view%% |
42 |
@@body: |
43 |
%html-document ( |
44 |
title => {%res (name => {View:Mininav:WebPageTitle});}p, |
45 |
link-meta => {%template (name => links);}p, |
46 |
content => { |
47 |
%section (type => body, content=>{ |
48 |
%block ( |
49 |
id => side-menu, |
50 |
class => mininav, |
51 |
content => { |
52 |
%read (when-no-converter => 406); |
53 |
%link-to-wikipage ( |
54 |
rel => view, |
55 |
mode => mininav, up-to-date, |
56 |
class => wiki-cmd, |
57 |
label => {%link-to-it ( |
58 |
label => {%res (name=>ReloadThisPage);}p, |
59 |
);}, |
60 |
description => {%res (name=>ReloadThisPageLong);}p, |
61 |
); |
62 |
}p, |
63 |
); |
64 |
%section ( |
65 |
title => {%res (name => {Error:Title});}p, heading, |
66 |
content => {%error-list;}p, |
67 |
); |
68 |
# %template (name => ws--footer); |
69 |
}p); |
70 |
}p, |
71 |
); |
72 |
|
73 |
ViewFragment: |
74 |
@Template[list]: links |
75 |
@Description: |
76 |
@@@: Link to MenuBar WikiPage, with relationship of "sidebar", "navigation". |
77 |
@@lang: en |
78 |
@Formatting: |
79 |
%link-wiki ( |
80 |
page => {Wiki//MenuBar}, |
81 |
mode => mininav, |
82 |
rel => {sidebar navigator}, |
83 |
); |
84 |
|
85 |
Resource: |
86 |
@ReloadThisPage: |
87 |
@@@: Reload |
88 |
@@lang: en |
89 |
@ReloadThisPageLong: |
90 |
@@@: Reload this WikiPage |
91 |
@@lang: en |
92 |
@View:Mininav:WebPageTitle: |
93 |
@@@: %page-name; |
94 |
|
95 |
|