/[pub]/suikawiki/script/misc/plugins/view/menu.wp2
Suika

Contents of /suikawiki/script/misc/plugins/view/menu.wp2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Wed Mar 10 07:00:32 2004 UTC (20 years, 7 months ago) by wakaba
Branch: MAIN
CVS Tags: suikawiki3-redirect, release-3-0-0, HEAD
Branch point for: paragraph-200404, helowiki, helowiki-2005
Imported to CVS

1 wakaba 1.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    

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24