diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-02 16:38:13 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-02 16:38:13 -0400 |
commit | c987aee47acfcc0df4c1ac2667d9c63133e99d2b (patch) | |
tree | 990aa9bf59bb7b17df797e77ba54f0a902d72acd /IkiWiki/Plugin/lockedit.pm | |
parent | 33b60e67a79f0929fa47a0d7b01da71c8196218f (diff) | |
parent | aaca4902dd29e7ba7769daedcc2f7ee86d1e058a (diff) |
Merge branch 'tova'
Diffstat (limited to 'IkiWiki/Plugin/lockedit.pm')
-rw-r--r-- | IkiWiki/Plugin/lockedit.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/IkiWiki/Plugin/lockedit.pm b/IkiWiki/Plugin/lockedit.pm index 010705c49..5ffb4e6f9 100644 --- a/IkiWiki/Plugin/lockedit.pm +++ b/IkiWiki/Plugin/lockedit.pm @@ -40,11 +40,11 @@ sub formbuilder_setup (@) { #{{{ my %params=@_; my $form=$params{form}; - my $session=$params{session}; - my $cgi=$params{cgi}; - my $user_name=$session->param("name"); - if ($form->title eq "preferences") { + my $session=$params{session}; + my $cgi=$params{cgi}; + my $user_name=$session->param("name"); + $form->field(name => "locked_pages", size => 50, fieldset => "admin", comment => "(".htmllink("", "", "ikiwiki/PageSpec", noimageinline => 1).")"); |