From: Joey Hess Date: Tue, 23 Sep 2008 20:56:57 +0000 (-0400) Subject: add checkbox to rename subpages too X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/9cbc46f49ab32b12358407647f2a3583ce43789a?hp=dfa9556480e047704fbaa60616fdef7bf5ff2fc5 add checkbox to rename subpages too --- 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");