]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/lockedit.pm
po(nicepagetitle): append translation status to links to translated pages
[git.ikiwiki.info.git] / IkiWiki / Plugin / lockedit.pm
index f6cac6cdd8c69b520824c2557d14d9a9ea3d5fdc..31a9e70cd919124beb1b01b944b000b682e210be 100644 (file)
@@ -5,14 +5,14 @@ use warnings;
 use strict;
 use IkiWiki 2.00;
 
 use strict;
 use IkiWiki 2.00;
 
-sub import { #{{{
+sub import {
        hook(type => "getsetup", id => "lockedit", call => \&getsetup);
        hook(type => "canedit", id => "lockedit", call => \&canedit);
        hook(type => "formbuilder_setup", id => "lockedit",
             call => \&formbuilder_setup);
        hook(type => "getsetup", id => "lockedit", call => \&getsetup);
        hook(type => "canedit", id => "lockedit", call => \&canedit);
        hook(type => "formbuilder_setup", id => "lockedit",
             call => \&formbuilder_setup);
-} # }}}
+}
 
 
-sub getsetup () { #{{{
+sub getsetup () {
        return
                plugin => {
                        safe => 1,
        return
                plugin => {
                        safe => 1,
@@ -26,9 +26,9 @@ sub getsetup () { #{{{
                        safe => 1,
                        rebuild => 0,
                },
                        safe => 1,
                        rebuild => 0,
                },
-} #}}}
+}
 
 
-sub canedit ($$) { #{{{
+sub canedit ($$) {
        my $page=shift;
        my $cgi=shift;
        my $session=shift;
        my $page=shift;
        my $cgi=shift;
        my $session=shift;
@@ -70,9 +70,9 @@ sub canedit ($$) { #{{{
        }
 
        return undef;
        }
 
        return undef;
-} #}}}
+}
 
 
-sub formbuilder_setup (@) { #{{{
+sub formbuilder_setup (@) {
        my %params=@_;
 
        # XXX deprecated, should be removed eventually  
        my %params=@_;
 
        # XXX deprecated, should be removed eventually  
@@ -109,6 +109,6 @@ sub formbuilder_setup (@) { #{{{
                        }
                }
        }
                        }
                }
        }
-} #}}}
+}
 
 1
 
 1