hook(type => "change", id => "skeleton", call => \&change);
hook(type => "cgi", id => "skeleton", call => \&cgi);
hook(type => "auth", id => "skeleton", call => \&auth);
+ hook(type => "sessioncgi", id => "skeleton", call => \&sessioncgi);
hook(type => "canedit", id => "skeleton", call => \&canedit);
+ hook(type => "editcontent", id => "skeleton", call => \&editcontent);
hook(type => "formbuilder_setup", id => "skeleton", call => \&formbuilder_setup);
hook(type => "formbuilder", id => "skeleton", call => \&formbuilder);
- hook(type => "savestate", id => "savestate", call => \&savestate);
+ hook(type => "savestate", id => "skeleton", call => \&savestate);
} # }}}
sub getopt () { #{{{
debug("skeleton plugin running in auth");
} #}}}
+sub sessionncgi ($$) { #{{{
+ my $cgi=shift;
+ my $session=shift;
+
+ debug("skeleton plugin running in sessioncgi");
+} #}}}
+
sub canedit ($$$) { #{{{
my $page=shift;
my $cgi=shift;
debug("skeleton plugin running in canedit");
} #}}}
+sub editcontent ($$$) { #{{{
+ my %params=@_;
+
+ debug("skeleton plugin running in editcontent");
+
+ return $params{content};
+} #}}}
+
sub formbuilder_setup (@) { #{{{
my %params=@_;