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 |
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 ( |
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]: |
151 |
); |
); |
152 |
|
|
153 |
%we--update-lastmodified-datetime; |
%we--update-lastmodified-datetime; |
|
|
|
154 |
}p); |
}p); |
155 |
|
|
156 |
Resource: |
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 |
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 |