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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24