diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-09-23 16:56:57 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-09-23 16:56:57 -0400 |
commit | 9cbc46f49ab32b12358407647f2a3583ce43789a (patch) | |
tree | 4477f835ebea3b74c0908fb0f5902ce293e98e75 /IkiWiki | |
parent | dfa9556480e047704fbaa60616fdef7bf5ff2fc5 (diff) |
add checkbox to rename subpages too
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/rename.pm | 7 |
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"); |