summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-09-23 16:56:57 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-09-23 16:56:57 -0400
commit9cbc46f49ab32b12358407647f2a3583ce43789a (patch)
tree4477f835ebea3b74c0908fb0f5902ce293e98e75 /IkiWiki/Plugin
parentdfa9556480e047704fbaa60616fdef7bf5ff2fc5 (diff)
add checkbox to rename subpages too
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/rename.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/rename.pm b/IkiWiki/Plugin/rename.pm
index d6079e198..e5dfa4b01 100644
--- 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");