From 9cbc46f49ab32b12358407647f2a3583ce43789a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 23 Sep 2008 16:56:57 -0400 Subject: [PATCH] add checkbox to rename subpages too --- IkiWiki/Plugin/rename.pm | 7 +++++++ 1 file changed, 7 insertions(+) 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"); -- 2.39.5