/[pub]/suikawiki/wikidata/suikawiki-config.ph
Suika

Contents of /suikawiki/wikidata/suikawiki-config.ph

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Thu Mar 27 07:29:20 2003 UTC (22 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.4: +28 -5 lines
pre-namespace

1 w 1.1 use strict;
2     #
3     # You MUST modify following '$modifier_...' variables.
4     #
5     # our $modifier_dbtype = 'AnyDBM_File'; # Fast, not available on some server, page size limited.
6     # our $modifier_dbtype = 'dbmopen'; # Fast, not available on some server, page size limited.
7 w 1.3 #our $modifier_dbtype = 'Yuki::YukiWikiDB'; # Slow, available on all environment.
8     #our $modifier_dbtype = 'Yuki::YukiWikiDB2'; # Slow, available on all environment.
9     our $modifier_dbtype = 'Yuki::YukiWikiDBMeta'; # Slow, available on all environment.
10 w 1.4 our $url_cgi; {
11     my $scheme = 'http';
12     $scheme = lc $1 if $main::ENV{SERVER_PROTOCOL} =~ m#([A-Za-z0-9+.%-]+)#;
13 wakaba 1.5 $url_cgi = "$scheme://$main::ENV{SERVER_NAME}:$main::ENV{SERVER_PORT}/temp/suikawiki/wiki";
14 w 1.1 ## - MUST NOT include [&<>"] and/or non-URI characters
15 w 1.4 }
16     our %uri = (
17 wakaba 1.5 cookie_path => '/temp/suikawiki/',
18 w 1.4 external_script => '../wiki/script/',
19     );
20 w 1.1 $uri{wiki} = $url_cgi;
21 wakaba 1.5 use lib qw!../wiki/lib!;
22 w 1.4 $SuikaWiki::Plugin::plugin_directory = q(../wiki/lib/SuikaWiki/Plugin/);
23 w 1.1 our %PathTo = ( ## Path to your data, from the main CGI script (NOT from this config script)
24 w 1.4 CachePrefix => q(./wikidata/.cache.),
25 w 1.2 WikiDataBase => q(./wikidata/page),
26 w 1.1 );
27     ##############################
28     our %PageName = (
29     FrontPage => 'HomePage',
30     IndexPage => 'IndexPage',
31     SearchPage => 'SearchPage',
32     CreatePage => 'CreatePage',
33     ErrorPage => 'ErrorPage',
34 w 1.3 RecentChanges => 'RecentChanges',
35     AdminSpecialPage => "\x11\x11Admin\x11Special\x11Page\x11\x11",
36     UserAgentList => 'WikiUserAgentList',
37 w 1.1 );
38     our $kanjicode = 'euc';
39     our $lang = 'ja';
40 w 1.3
41     $wiki::useragent::UseLog = 0; ## Use User-Agent name log (WikiUserAgentList) or not
42     $wiki::diff::UseDiff = 1; ## Use diff mode or not
43 w 1.4
44     my %vd;
45     $vd{links} = <<'EOH';
46     %styles-wiki-html(page=>\"WikiStyleList:HTML\");
47     %link-wiki(mode=>edit,rel=>edit,class=>wiki-cmd,title=>\"%res(name=>EditThisPageLink);\");
48     %link-wiki(mode=>edit,rel=>edit,class=>wiki-cmd,title=>\"%res(name=>AdminEditThisPageLink);\",add_param=>\"admin=1\");
49     %link-wiki(rel=>view,class=>wiki-cmd,title=>\"%res(name=>ViewThisPageLink);\",up_to_date);
50     %link-wiki(rel=>myself,class=>wiki,title=>\"%res(name=>GoToMyselfLink);\");
51     %link-wiki(page=>IndexPage,rel=>index,class=>wiki,title=>\"%res(name=>GoToIndexPageLink);\");
52     %link-wiki(page=>HomePage,rel=>home,class=>wiki,title=>\"%res(name=>GoToHomePageLink);\");
53     %link-wiki(page=>WikiNews,rel=>News,class=>wiki,title=>\"%res(name=>GoToWikiNewsLink);\");
54     %link-wiki(page=>RecentChanges,rel=>News,class=>wiki,title=>\"%res(name=>GoToRecentChangesLink);\");
55     %link-wiki(page=>RecentChanges,mode=>rss,rel=>News,class=>wiki,title=>\"%res(name=>GoToRssPageLink);\",type=>\"application/xml\");
56     %link-wiki(page=>SearchPage,rel=>search,class=>wiki,title=>\"%res(name=>GoToSearchPageLink);\");
57     %link-wiki(page=>WikiHelp,mode=>read,rel=>help,class=>wiki,title=>\"%res(name=>GoToWikiHelpLink);\");
58     %link-wiki(page=>WikiPageLicense,rel=>copyright,class=>wiki,title=>\"%res(name=>GoToWikiPageLicenseLink);\");
59 wakaba 1.5 %link-wiki(mode=>map,rel=>sitemap,class=>wiki-cmd,title=>\"%res(name=>ShowMapOfThisPageLink);\");
60 w 1.4 %link-wiki(mode=>RandomJump,up_to_date,rel=>lucky,class=>\"wiki randomlink\",title=>\"%res(name=>GoSomewhereLink);\");
61 wakaba 1.5 %link-wiki(page=>WikiMenuBar,mode=>mininav,rel=>\"sidebar navigator\",class=>wiki);
62     %link-favicon(use_page_icon);
63 w 1.4 EOH
64     #%link-viewcvs(href=>\"http://path-to-viewcvs/path-to-repository/\",rel=>history,class=>wiki-cmd,title=>\"%res(name=>ViewHistoryOfThisPageLink);\",hreflang=>en);
65     $vd{links} .= q( %link-wiki(mode=>diff,rel=>history,class=>wiki-cmd,title=>\"%res(name=>ViewDiffOfThisPageLink);\");) if $wiki::diff::UseDiff;
66     $vd{links} .= <<EOH;
67     %link-wiki(href=>\\\"javascript:var%20WikiName=prompt('Please%20input%20the%20WikiName:','','Jump%20to%20SuikaWiki');if(WikiName)%7B_content.location.href='$url_cgi%3F'+encodeURIComponent(WikiName)%7D\\\",rel=>jump,class=>wiki-cmd,title=>\\\"%res(name=>JumpToLink);\\\");
68     %link-wiki(href=>\\\"javascript:var%20WikiName=prompt('Please%20input%20the%20WikiName:','','Jump%20to%20SuikaWiki');if(WikiName)%7B_content.location.href='$url_cgi%3Fmycmd=edit;mypage='+encodeURIComponent(WikiName)%7D\\\",rel=>jump,class=>wiki-cmd,title=>\\\"%res(name=>JumpToEditLink);\\\");
69     EOH
70     $vd{navbar} = <<'EOH';
71     %anchor-wiki(mode=>edit,rel=>edit,class=>wiki-cmd,label=>\\\"%res(name=>EditThisPage);\\\",title=>\\\"%res(name=>EditThisPageLong,accesskey=>E);\\\");
72     %anchor-wiki(rel=>view,up_to_date,class=>wiki-cmd,label=>\\\"%res(name=>ViewThisPage);\\\",title=>\\\"%res(name=>ViewThisPageLong);\\\");
73     %anchor-wiki(page=>CreatePage,class=>wiki,label=>\\\"%res(name=>GoToCreatePage);\\\",title=>\\\"%res(name=>GoToCreatePageLong);\\\");
74     %anchor-wiki(page=>IndexPage,class=>wiki,label=>\\\"%res(name=>GoToIndexPage);\\\",title=>\\\"%res(name=>GoToIndexPageLong);\\\");
75     %anchor-wiki(page=>HomePage,class=>wiki,label=>\\\"%res(name=>GoToHomePage);\\\",title=>\\\"%res(name=>GoToHomePageLong);\\\");
76     %anchor-wiki(page=>SearchPage,class=>wiki,label=>\\\"%res(name=>GoToSearchPage);\\\",title=>\\\"%res(name=>GoToSearchPageLong);\\\");
77     %anchor-wiki(mode=>RandomJump,up_to_date,rel=>lucky,class=>\\\"wiki randomlink\\\",label=>\\\"%res(name=>GoSomewhere);\\\",title=>\\\"%res(name=>GoSomewhereLong);\\\");
78     %anchor-wiki(page=>RecentChanges,class=>wiki,label=>\\\"%res(name=>GoToRecentChanges);\\\",title=>\\\"%res(name=>GoToRecentChangesLong);\\\");
79     EOH
80    
81     our %ViewDefinition = (
82     read => {media => {type => 'text/html', charset => 1, expires => 120}, check => sub {1},
83     #xmedia => {type => 'application/xhtml+xml', charset => 1, expires => 120},
84     template => <<EOH},
85     %html-start;%html-head(title=>"%res(name=>\\"View:WebPageTitle\\");",link_meta=>"$vd{links}");
86     %section(level=>1,add_to_toc=>0,type=>body,title=>"%page-name;",heading,content=>"
87     %section(id=>tools1,class=>tools,add_to_toc=>0,content=>\\"$vd{navbar}\\");
88     %section(level=>2,id=>read,add_to_toc=>0,content=>\\"%read(comment);\\");
89     %section(level=>2,id=>\\"see-also\\",title=>SeeAlso,heading,content=>\\"%search-result;\\");
90     %section(level=>2,id=>referer,title=>Referer,heading,content=>\\"%referer-list;\\");
91     %section(level=>2,id=>toc,title=>\\"TOC:Title\\",heading,add_to_toc=>0,content=>\\"%toc(drag);\\");
92     %section(id=>last-modified,add_to_toc=>0,content=>\\"%res(name=>\\\\\\"LastModified=\\\\\\");%last-modified;\\");
93     %section(class=>tools,add_to_toc=>0,content=>\\\"$vd{navbar}\\\");
94     %section(id=>footer,add_to_toc=>0,content=>\\"
95     <a href=\\\\\\"http://www.hyuki.com/yukiwiki/\\\\\\" title=\\\\\\"YukiWiki 2.0.beta1.2002-05-29 &copy; 2000-2002 by Hiroshi Yuki\\\\\\">%res(name=>\\\\\\"About:Name:YukiWiki\\\\\\");</a>
96     <a href=\\\\\\"http://digit.que.ne.jp/work/\\\\\\" title=\\\\\\"WalWiki 2.0.beta1.wal.1 &copy; 2000-2002 by Makio Tsukamoto\\\\\\">%res(name=>\\\\\\"About:Name:WalWiki\\\\\\");</a>
97     <a href=\\\\\\"http://suika.fam.cx/gate/cvs/wakaba/wiki/\\\\\\" title=\\\\\\"%res(name=>\\\\\\"About:SuikaWiki:JumpToCVS\\\\\\");\\\\\\">%res(name=>\\\\\\"About:Name:SuikaWiki\\\\\\"); %wiki-version;</a>
98     \\");
99     %apply-user-preferred-style;");%html-end;
100 wakaba 1.5 %log-hotness();
101 w 1.4 EOH
102     map => {media => {type => 'text/html', charset => 1, expires => 120}, check => sub {1},
103     #xmedia => {type => 'application/xhtml+xml', charset => 1, expires => 120},
104     template => <<EOH},
105     %html-start;%html-head(title=>"%res(name=>\\"Map:WebPageTitle\\");",link_meta=>"$vd{links}");
106     %section(level=>1,add_to_toc=>0,type=>body,title=>"%page-name;",heading,content=>"
107     %section(id=>tools1,class=>tools,add_to_toc=>0,content=>\\"$vd{navbar}\\");
108     %section(level=>2,id=>\\"link-map\\",title=>\\"Map:Title\\",heading,content=>\\"
109     <p>%res(name=>\\\\\\"Map:Description\\\\\\");</p>
110     %link-map;
111     \\");
112     %section(level=>2,id=>\\"see-also\\",title=>SeeAlso,heading,content=>\\"%search-result;\\");
113     %section(level=>2,id=>referer,title=>Referer,heading,content=>\\"%referer-list;\\");
114     %section(level=>2,id=>toc,title=>\\"TOC:Title\\",heading,add_to_toc=>0,content=>\\"%toc(drag);\\");
115     %section(class=>tools,add_to_toc=>0,content=>\\\"$vd{navbar}\\\");
116     %section(id=>footer,add_to_toc=>0,content=>\\"%res(name=>\\\\\\"About:Name:SuikaWiki\\\\\\"); %wiki-version;\\");
117     %apply-user-preferred-style;");%html-end;
118     EOH
119    
120     edit => {media => {type => 'text/html', charset => 1, expires => 60}, check => sub {1},
121     #xmedia => {type => 'application/xhtml+xml', charset => 1, expires => 60},
122     template => <<EOH},
123     %html-start;%html-head(title=>"%res(name=>\\"Edit:WebPageTitle\\");",link_meta=>"$vd{links} %html-meta(name=>ROBOTS,content=>NOINDEX);");
124     %section(level=>1,add_to_toc=>0,type=>body,title=>"%page-name;",heading,content=>"
125     %section(id=>tools1,class=>tools,add_to_toc=>0,content=>\\"$vd{navbar}\\");
126     %section(level=>2,id=>edit,title=>\\"Edit:Title\\",heading,content=>\\"
127     %edit-form;
128     %section(level=>3,id=>edit-help,add_to_toc=>0,content=>\\\\\\"%read(page=>WikiEditHelp);\\\\\\");
129     \\");
130     %section(level=>2,id=>\\"see-also\\",title=>SeeAlso,heading,content=>\\"%search-result;\\");
131     %section(level=>2,id=>referer,title=>Referer,heading,content=>\\"%referer-list;\\");
132     %section(level=>2,id=>toc,title=>\\"TOC:Title\\",heading,add_to_toc=>0,content=>\\"%toc(drag);\\");
133     %section(id=>last-modified,add_to_toc=>0,content=>\\"%res(name=>\\\\\\"LastModified=\\\\\\");%last-modified;\\");
134     %section(class=>tools,add_to_toc=>0,content=>\\\"$vd{navbar}\\\");
135     %section(id=>footer,add_to_toc=>0,content=>\\"%res(name=>\\\\\\"About:Name:SuikaWiki\\\\\\"); %wiki-version;\\");
136     %apply-user-preferred-style;");%html-end;
137     EOH
138     adminedit => {media => {type => 'text/html', charset => 1, expires => 60}, check => sub {1},
139     xmedia => {type => 'application/xhtml+xml', charset => 1, expires => 60},
140     template => <<EOH},
141     %html-start;%html-head(title=>"%res(name=>\\"Edit:Admin:WebPageTitle\\");",link_meta=>"$vd{links} %html-meta(name=>ROBOTS,content=>NOINDEX);");
142     %section(level=>1,add_to_toc=>0,type=>body,title=>"%page-name;",heading,content=>"
143     %section(id=>tools1,class=>tools,add_to_toc=>0,content=>\\"$vd{navbar}\\");
144     %section(level=>2,id=>edit,title=>\\"Edit:Title\\",heading,content=>\\"%edit-form(admin);\\");
145     %section(level=>2,id=>toc,title=>\\"TOC:Title\\",heading,add_to_toc=>0,content=>\\"%toc(drag);\\");
146     %section(id=>last-modified,add_to_toc=>0,content=>\\"%res(name=>\\\\\\"LastModified=\\\\\\");%last-modified;\\");
147     %section(id=>footer,add_to_toc=>0,content=>\\"%res(name=>\\\\\\"About:Name:SuikaWiki\\\\\\"); %wiki-version;\\");
148     %apply-user-preferred-style;");%html-end;
149     EOH
150     -conflict => {media => {type => 'text/html', charset => 1, expires => 60}, check => sub {1},
151     #xmedia => {type => 'application/xhtml+xml', charset => 1, expires => 60},
152     template => <<EOH},
153     %html-start;%html-head(title=>"%res(name=>\\"Edit:Conflict:WebPageTitle\\");",link_meta=>"$vd{links} %html-meta(name=>ROBOTS,content=>NOINDEX);");
154     %section(level=>1,add_to_toc=>0,type=>body,title=>"%page-name;",heading,content=>"
155     %section(id=>tools1,class=>tools,add_to_toc=>0,content=>\\"$vd{navbar}\\");
156     %section(level=>2,id=>edit-conflict,title=>\\"Edit:Conflict:Title\\",heading,content=>\\"
157     <p>%res(name=>\\\\\\"Edit:Conflict:Description\\\\\\");</p>
158     %conflict-form;
159     %section(level=>3,id=>edit-conflict-diff,title=>\\\\\\"Edit:Conflict:Diff:Title\\\\\\",heading,content=>\\\\\\"
160     <p>%res(name=>\\\\\\\\\\\\\\"Edit:Conflict:Diff:Description\\\\\\\\\\\\\\");</p>
161     %conflict-diff;
162     \\\\\\");
163     \\");
164     %section(level=>2,id=>edit,title=>\\"Edit:Title\\",heading,content=>\\"
165     <p>%res(name=>\\\\\\"Edit:Conflict:Edit:Description\\\\\\");</p>
166     %edit-form;
167     %section(level=>3,id=>edit-help,add_to_toc=>0,content=>\\\\\\"%read(page=>WikiEditHelp);\\\\\\");
168     \\");
169     %section(level=>2,id=>\\"see-also\\",title=>SeeAlso,heading,content=>\\"%search-result;\\");
170     %section(level=>2,id=>referer,title=>Referer,heading,content=>\\"%referer-list;\\");
171     %section(level=>2,id=>toc,title=>\\"TOC:Title\\",heading,add_to_toc=>0,content=>\\"%toc(drag);\\");
172     %section(class=>tools,add_to_toc=>0,content=>\\\"$vd{navbar}\\\");
173     %section(id=>footer,add_to_toc=>0,content=>\\"%res(name=>\\\\\\"About:Name:SuikaWiki\\\\\\"); %wiki-version;\\");
174     %apply-user-preferred-style;");%html-end;
175     EOH
176     -wrote => {media => {type => 'text/html', charset => 1, expires => 60}, check => sub {1},
177     xmedia => {type => 'application/xhtml+xml', charset => 1, expires => 60},
178     template => <<EOH},
179     %html-start;%html-head(title=>"%res(name=>\\"Edit:Wrote:WebPageTitle\\");",link_meta=>"$vd{links} %html-meta(name=>ROBOTS,content=>NOINDEX);");
180     %section(level=>1,add_to_toc=>0,type=>body,title=>"%page-name;",heading,content=>"
181     %section(id=>tools1,class=>tools,add_to_toc=>0,content=>\\"$vd{navbar}\\");
182     <p>%res(name=>\\"Edit:SavedSuccessfully\\");</p>
183     %section(id=>footer,add_to_toc=>0,content=>\\"%res(name=>\\\\\\"About:Name:SuikaWiki\\\\\\"); %wiki-version;\\");
184     %apply-user-preferred-style;");%html-end;
185 wakaba 1.5 %log-hotness(weight=>2);
186 w 1.4 EOH
187     -deleted => {media => {type => 'text/html', charset => 1, expires => 60}, check => sub {1},
188     xmedia => {type => 'application/xhtml+xml', charset => 1, expires => 60},
189     template => <<EOH},
190     %html-start;%html-head(title=>"%res(name=>\\"Edit:Deleted:WebPageTitle\\");",link_meta=>"$vd{links} %html-meta(name=>ROBOTS,content=>NOINDEX);");
191     %section(level=>1,add_to_toc=>0,type=>body,title=>"%page-name;",heading,content=>"
192     %section(id=>tools1,class=>tools,add_to_toc=>0,content=>\\"$vd{navbar}\\");
193     <p>%res(name=>\\"Edit:PageIsDeletedSuccessfully\\");</p>
194     %section(id=>footer,add_to_toc=>0,content=>\\"%res(name=>\\\\\\"About:Name:SuikaWiki\\\\\\"); %wiki-version;\\");
195     %apply-user-preferred-style;");%html-end;
196     EOH
197     -error => {media => {type => 'text/html', charset => 1, expires => 60}, check => sub {1},
198     xmedia => {type => 'application/xhtml+xml', charset => 1, expires => 60},
199     template => <<EOH},
200     %html-start;%html-head(title=>"%res(name=>\\"Error:WebPageTitle\\");",link_meta=>"$vd{links} %html-meta(name=>ROBOTS,content=>NOINDEX);");
201     %section(level=>1,add_to_toc=>0,type=>body,title=>"%page-name;",heading,content=>"
202     %section(id=>tools1,class=>tools,add_to_toc=>0,content=>\\"$vd{navbar}\\");
203     %section(level=>2,id=>error,title=>\\"Error:Title\\",heading,content=>\\"
204     <p>%error-message;</p>
205     \\");
206     %section(level=>2,id=>toc,title=>\\"TOC:Title\\",heading,add_to_toc=>0,content=>\\"%toc(drag);\\");
207     %section(id=>footer,add_to_toc=>0,content=>\\"%res(name=>\\\\\\"About:Name:SuikaWiki\\\\\\"); %wiki-version;\\");
208     %apply-user-preferred-style;");%html-end;
209     EOH
210    
211     css => {media => {type => 'text/css', charset => 1, expires => 3600},
212     check => sub { ref $_[0]->format_converter ($_[0]->{magic} => 'CSS') ? 1 : 0 },
213     template => '%read(to=>CSS);'},
214 wakaba 1.5 image_jpeg => {media => {type => 'image/jpeg', expires => 240*3600},
215     check => sub { ref ($_[0]->format_converter ($_[0]->{magic} => 'image_jpeg'))
216     && $_[0]->{magic} =~ m#image-type="image/jpeg"# ? 1 : 0 },
217     template => '%read(to=>image_jpeg);'},
218     image_png => {media => {type => 'image/png', expires => 240*3600},
219     check => sub { ref ($_[0]->format_converter ($_[0]->{magic} => 'image_png'))
220     && $_[0]->{magic} =~ m#image-type="image/png"# ? 1 : 0 },
221     template => '%read(to=>image_png);'},
222 w 1.4 rss => {media => {type => 'application/rss+xml', charset => 1, expires => 3600},
223     check => sub { ref $_[0]->format_converter ($_[0]->{magic} => 'RSS') ? 1 : 0 },
224 wakaba 1.5 template => '<?xml version="1.0"?>%styles-wiki-xml(page=>"WikiStyleList:RSS");%read(to=>RSS);'},
225 w 1.4 -UnsupportedMediaType => {media => {type => 'text/html', charset => 1, expires => -1},
226     xmedia => {type => 'application/xhtml+xml', charset => 1, expires => -1},
227     check => sub {1}, template => <<EOH},
228     %html-start;%html-head(title=>"%page-name;",link_meta=>"$vd{links}");
229     %section(level=>1,add_to_toc=>0,type=>body,title=>"%page-name;",heading,content=>"
230     %section(id=>tools1,class=>tools,add_to_toc=>0,content=>\\"$vd{navbar}\\");
231     %section(level=>2,title=>\\"UnsupportedMediaType:Title\\",heading,content=>\\"
232     %res(name=>\\\\\\"UnsupportedMediaType:Description\\\\\\");
233     \\");
234     %section(level=>2,id=>\\"see-also\\",title=>SeeAlso,heading,content=>\\"%search-result;\\");
235     %section(level=>2,id=>referer,title=>Referer,heading,content=>\\"%referer-list;\\");
236     %section(level=>2,id=>toc,title=>\\"TOC:Title\\",heading,add_to_toc=>0,content=>\\"%toc(drag);\\");
237     %section(class=>tools,add_to_toc=>0,content=>\\"$vd{navbar}\\");
238     %section(id=>footer,add_to_toc=>0,content=>\\"%res(name=>\\\\\\"About:Name:SuikaWiki\\\\\\"); %wiki-version;\\");
239     %apply-user-preferred-style;");%html-end;
240     EOH
241     );
242    
243    
244     $ViewDefinition{diff} = {media => {type => 'text/html', charset => 1, expires => 120},
245     #xmedia => {type => 'application/xhtml+xml', charset => 1, expires => 120},
246     template => <<EOH, check => sub {1}} if $wiki::diff::UseDiff;
247     %html-start;%html-head(title=>"%res(name=>\\"Diff:WebPageTitle\\");",link_meta=>"$vd{links}");
248     %section(level=>1,add_to_toc=>0,type=>body,title=>"%page-name;",heading,content=>"
249     %section(id=>tools1,class=>tools,add_to_toc=>0,content=>\\"$vd{navbar}\\");
250     %section(level=>2,id=>\\"diff\\",title=>\\"Diff:Title\\",heading,content=>\\"
251     <p>%res(name=>\\\\\\"Diff:Notice\\\\\\");</p>
252     %diff-between-previous;
253     \\");
254     %section(level=>2,id=>toc,title=>\\"TOC:Title\\",heading,add_to_toc=>0,content=>\\"%toc(drag);\\");
255     %section(class=>tools,add_to_toc=>0,content=>\\\"$vd{navbar}\\\");
256     %section(id=>footer,add_to_toc=>0,content=>\\"%res(name=>\\\\\\"About:Name:SuikaWiki\\\\\\"); %wiki-version;\\");
257     %apply-user-preferred-style;");%html-end;
258     EOH
259    
260     $ViewDefinition{WithMenu} = {%{$ViewDefinition{read}}, template => <<EOH};
261     %html-start;%html-head(title=>"%res(name=>\\"View:WebPageTitle\\");",link_meta=>"$vd{links}");
262 wakaba 1.5 %log-hotness;
263 w 1.4 %section(level=>1,add_to_toc=>0,type=>body,title=>"%page-name;",heading,content=>"
264 wakaba 1.5 <div id=\\\"myuri\\\">%img-favicon(use_page_icon);%uri-wiki();</div>
265 w 1.4 %section(id=>tools1,class=>tools,add_to_toc=>0,content=>\\"
266     %anchor-wiki(rel=>view,up_to_date,mode=>default,class=>wiki-cmd,label=>\\\\\\"%res(name=>ReloadThisPage);\\\\\\",title=>\\\\\\"%res(name=>ReloadThisPageLong);\\\\\\");
267     $vd{navbar}
268     \\");
269     %section(level=>2,id=>side-menu,add_to_toc=>0,content=>\\"%read(page=>WikiMenuBar);\\");
270     %section(id=>content-frame,add_to_toc=>0,content=>\\"
271     %section(level=>2,id=>read,add_to_toc=>0,content=>\\\\\\"%read(comment);\\\\\\");
272     %section(level=>2,id=>\\\\\\"see-also\\\\\\",title=>SeeAlso,heading,content=>\\\\\\"%search-result;\\\\\\");
273     %section(level=>2,id=>referer,title=>Referer,heading,content=>\\\\\\"%referer-list;\\\\\\");
274     %section(level=>2,id=>toc,title=>\\\\\\"TOC:Title\\\\\\",heading,add_to_toc=>0,content=>\\\\\\"%toc(drag);\\\\\\");
275     %section(id=>last-modified,add_to_toc=>0,content=>\\\\\\"%res(name=>\\\\\\\\\\\\\\"LastModified=\\\\\\\\\\\\\\");%last-modified;\\\\\\");
276     %section(id=>footer,add_to_toc=>0,content=>\\\\\\"
277     <a href=\\\\\\\\\\\\\\"http://www.hyuki.com/yukiwiki/\\\\\\\\\\\\\\" title=\\\\\\\\\\\\\\"YukiWiki 2.0.beta1.2002-05-29 &copy; 2000-2002 by Hiroshi Yuki\\\\\\\\\\\\\\">%res(name=>\\\\\\\\\\\\\\"About:Name:YukiWiki\\\\\\\\\\\\\\");</a>
278     <a href=\\\\\\\\\\\\\\"http://digit.que.ne.jp/work/\\\\\\\\\\\\\\" title=\\\\\\\\\\\\\\"WalWiki 2.0.beta1.wal.1 &copy; 2000-2002 by Makio Tsukamoto\\\\\\\\\\\\\\">%res(name=>\\\\\\\\\\\\\\"About:Name:WalWiki\\\\\\\\\\\\\\");</a>
279     <a href=\\\\\\\\\\\\\\"http://suika.fam.cx/gate/cvs/wakaba/wiki/\\\\\\\\\\\\\\" title=\\\\\\\\\\\\\\"%res(name=>\\\\\\\\\\\\\\"About:SuikaWiki:JumpToCVS\\\\\\\\\\\\\\");\\\\\\\\\\\\\\">%res(name=>\\\\\\\\\\\\\\"About:Name:SuikaWiki\\\\\\\\\\\\\\"); %wiki-version;</a>
280     \\\\\\");
281 wakaba 1.5 \\");
282     %apply-user-preferred-style;");%html-end;
283     EOH
284     $ViewDefinition{mininav} = {%{$ViewDefinition{read}}, template => <<EOH};
285     %html-start;%html-head(title=>"%res(name=>\\"View:WebPageTitle\\");",link_meta=>"$vd{links}");
286     %section(level=>1,add_to_toc=>0,type=>body,content=>"
287     %section(level=>2,id=>side-menu,class=>\\"mininav\\",add_to_toc=>0,content=>\\"
288     %read;
289     %anchor-wiki(rel=>view,mode=>mininav,class=>wiki-cmd,target=>_self,label=>\\\\\\"%res(name=>ReloadThisPage);\\\\\\",title=>\\\\\\"%res(name=>ReloadThisPageLong);\\\\\\");
290 w 1.4 \\");
291     %apply-user-preferred-style;");%html-end;
292     EOH
293 w 1.1
294     1;

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24