/[pub]/suikawiki/script/default/config.wp2
Suika

Diff of /suikawiki/script/default/config.wp2

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

revision 1.6 by wakaba, Sun Feb 8 09:02:24 2004 UTC revision 1.7 by wakaba, Sat Feb 14 11:04:00 2004 UTC
# Line 5  Plugin: Line 5  Plugin:
5    @Description:    @Description:
6      @@@: Per-Wiki Configuration Pseudo-Plugin      @@@: Per-Wiki Configuration Pseudo-Plugin
7      @@lang:en      @@lang:en
8    @License: %%GPL%%    @License: %%Perl%%
9    @Date.RCS: $Date$    @Date.RCS:
10        $Date$
11    
12  ViewFragment:  ViewFragment:
13    @Name: navbar    @Name: navbar
# Line 49  ViewFragment: Line 50  ViewFragment:
50    
51      %link-wiki(page=>"Wiki//Page//Search",rel=>search,      %link-wiki(page=>"Wiki//Page//Search",rel=>search,
52                 description=>"%res(name=>GoToSearchPageLink);"p);                 description=>"%res(name=>GoToSearchPageLink);"p);
53        
54        %link-to-resource (
55          iw-name => {wiki-content-in-cvs-repository},
56          iw-parameter => {%page-name;}p,
57          rel => history,
58          class => wiki-cmd,
59          label => {%html-link (
60            description => {%res (name => ViewHistoryOfThisPageLink);}p,
61          );},
62        );
63    
64  ## TODO: Resource, URI  ## TODO: Resource, URI
65      %link-to-resource (      %link-to-resource (
# Line 78  ViewFragment: Line 89  ViewFragment:
89          description => {%res (name => {Footer:License:SeeLicensePageLong});}p,          description => {%res (name => {Footer:License:SeeLicensePageLong});}p,
90        );},        );},
91      );      );
 #    %wpr--remove-button;  
   
 ViewFragment:  
   @Template[list]:wr--read-body  
   @Order: -10  
   @Description:  
     @@@: "Read" mode body -- Calender  
     @@lang:en  
   @Formatting:  
       %if-calender(month,true=>{  
         %format(context=>form_input,template=>{%calender;});  
       },false=>{  
         %if-calender(true=>{  
           %format(context=>form_input,template=>{%calender-months;});  
         });  
       });  
   
92    
93  ViewFragment:  ViewFragment:
94    @Template[list]:    @Template[list]:
# Line 157  ViewFragment: Line 151  ViewFragment:
151        );        );
152            
153        %we--update-lastmodified-datetime;        %we--update-lastmodified-datetime;
   
154      }p);      }p);
155    
156  Resource:  Resource:
# Line 167  Resource: Line 160  Resource:
160      @@@: See license document      @@@: See license document
161      @@lang:en      @@lang:en
162    
 ## --- Should be moved to proper plugin module ---  
   
 ## WikiPageRename  
 ViewFragment:  
   @Template[list]: we--adminedit-body  
   @Order:100  
   @Description:  
     @@@: Renaming WikiName section  
     @@lang:en  
   @Formatting:  
                 %section (  
                   title   => {%res(name=>{Edit:Rename:Title});}p, heading,  
                   content => {  
                     %wp-rename-form (  
                       content => {  
                         %text (  
                           id      => to,  
                           label   => {%res(name=>{Edit:Rename:To=});}p,  
                           size    => 10,  
                           default => {%page-name;}p,  
                         );  
                         %submit;  
                       }p,  
                     );  
                   }p,  
                 );  
   
163  PluginConst:  PluginConst:
164    @NS_XHTML1:    @NS_XHTML1:
165      http://www.w3.org/1999/xhtml      http://www.w3.org/1999/xhtml
# Line 201  PluginConst: Line 167  PluginConst:
167  FormattingRule:  FormattingRule:
168    @Name: debug-sw09-text-xml-text-diff    @Name: debug-sw09-text-xml-text-diff
169    @Formatting:    @Formatting:
170      my $page = $p->{page} ? [split m#//#, $p->{page}]      my $page = $o->{wiki}->name ($p->{page} || $o->{wiki}->{var}->{page});
                           : $o->{wiki}->{var}->{page};  
171      my $sw09 = SuikaWiki::Plugin->module_package ('SuikaWiki09');      my $sw09 = SuikaWiki::Plugin->module_package ('SuikaWiki09');
172            
173      ## Original Text Format      ## Original Text Format

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24