+sub getsetup () { #{{{
+ return
+ websetup_force_plugins => {
+ type => "string",
+ example => \@default_force_plugins,
+ description => "list of plugins that cannot be enabled/disabled via the web interface",
+ safe => 0,
+ rebuild => 0,
+ },
+} #}}}
+
+sub checkconfig () { #{{{
+ if (! exists $config{websetup_force_plugins}) {
+ $config{websetup_force_plugins}=\@default_force_plugins;
+ }
+} #}}}
+
+sub formatexample ($) { #{{{
+ my $example=shift;
+
+ if (defined $example && ! ref $example && length $example) {
+ return "<br/ ><small>Example: <tt>$example</tt></small>";
+ }
+ else {
+ return "";
+ }
+} #}}}
+
+sub showfields ($$$@) { #{{{