projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfa9556
)
add checkbox to rename subpages too
author
Joey Hess
<joey@kodama.kitenet.net>
Tue, 23 Sep 2008 20:56:57 +0000
(16:56 -0400)
committer
Joey Hess
<joey@kodama.kitenet.net>
Tue, 23 Sep 2008 20:56:57 +0000
(16:56 -0400)
IkiWiki/Plugin/rename.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/rename.pm
b/IkiWiki/Plugin/rename.pm
index d6079e198266cf06af8e01a9a9fe351b3c7d1b8d..e5dfa4b016a4e9ad5d5b8fbf2e3e0ddad5cf02d3 100644
(file)
--- a/
IkiWiki/Plugin/rename.pm
+++ b/
IkiWiki/Plugin/rename.pm
@@
-123,6
+123,13
@@
sub rename_form ($$$) { #{{{
$f->field(name => "type", type => 'select',
options => \@page_types,
value => $ext, force => 1);
+
+ $f->field(name => "subpages",
+ label => "",
+ type => "checkbox",
+ options => [ [ 1 => gettext("Also rename SubPages and attachments") ] ],
+ value => 1,
+ force => 1);
}
$f->field(name => "attachment", type => "hidden");