diff options
author | Gerry Weißbach <gerry.w@gammaproduction.de> | 2015-04-14 10:12:02 +0200 |
---|---|---|
committer | Gerry Weißbach <gerry.w@gammaproduction.de> | 2015-04-14 10:12:02 +0200 |
commit | a7ec353091498e86d606c27f5ca7a808c2d096c0 (patch) | |
tree | 30ccfd0c312a06dc2d6bf45bfe70f9c26615e172 /lib/plugins/extension/helper/gui.php | |
parent | 803a90da0d25c98cd07fc138c940fdd5df1dec7e (diff) | |
download | rpg-a7ec353091498e86d606c27f5ca7a808c2d096c0.tar.gz rpg-a7ec353091498e86d606c27f5ca7a808c2d096c0.tar.bz2 |
Add display options to extension manger
Allows tho show/hide extensions that are: enabled, disabled, updatable
Diffstat (limited to 'lib/plugins/extension/helper/gui.php')
-rw-r--r-- | lib/plugins/extension/helper/gui.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/plugins/extension/helper/gui.php b/lib/plugins/extension/helper/gui.php index 3a0f0c589..2dbb3d5e5 100644 --- a/lib/plugins/extension/helper/gui.php +++ b/lib/plugins/extension/helper/gui.php @@ -38,6 +38,15 @@ class helper_plugin_extension_gui extends DokuWiki_Plugin { echo '<div class="panelHeader">'; echo $this->locale_xhtml('intro_plugins'); + + $options = new Doku_Form( "viewoptions" ); + $options->addElement( form_makeOpenTag( "p" ) ); + $options->addElement( $this->getLang('display_viewoptions') ); + $options->addElement( form_makeCheckboxField( "enabled", 1, $this->getLang('display_enabled') ) ); + $options->addElement( form_makeCheckboxField( "disabled", 1, $this->getLang('display_disabled') ) ); + $options->addElement( form_makeCheckboxField( "updatable", 1, $this->getLang('display_updatable') ) ); + $options->addElement( form_makeCloseTag( "p" ) ); + $options->printForm(); echo '</div>'; $pluginlist = $plugin_controller->getList('', true); |