diff options
author | Andreas Gohr <andi@splitbrain.org> | 2013-08-09 15:31:45 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2013-08-09 15:31:45 +0200 |
commit | ea9f3f904d439e9af84bdbed8e1a0bba3ed286b2 (patch) | |
tree | 93fc55acc7c68b1f875de2fb107bda4786db7a28 /lib/plugins/extension/helper/gui.php | |
parent | 89275cfd7e4e8b88724a36ccf7ae7bd29342d494 (diff) | |
download | rpg-ea9f3f904d439e9af84bdbed8e1a0bba3ed286b2.tar.gz rpg-ea9f3f904d439e9af84bdbed8e1a0bba3ed286b2.tar.bz2 |
added 4th tab for manual install
Diffstat (limited to 'lib/plugins/extension/helper/gui.php')
-rw-r--r-- | lib/plugins/extension/helper/gui.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/plugins/extension/helper/gui.php b/lib/plugins/extension/helper/gui.php index cf5b8a347..09cea7fcb 100644 --- a/lib/plugins/extension/helper/gui.php +++ b/lib/plugins/extension/helper/gui.php @@ -14,7 +14,7 @@ if(!defined('DOKU_INC')) die(); */ class helper_plugin_extension_gui extends DokuWiki_Plugin { - protected $tabs = array('plugins', 'templates', 'search'); + protected $tabs = array('plugins', 'templates', 'search', 'install'); /** @var string the extension that should have an open info window FIXME currently broken*/ protected $infofor = ''; @@ -99,13 +99,20 @@ class helper_plugin_extension_gui extends DokuWiki_Plugin { } /** + * Display the template tab + */ + public function tabInstall() { + echo $this->locale_xhtml('intro_install'); + } + + /** * Print the tab navigation * * @fixme style active one */ public function tabNavigation() { echo '<ul class="tabs">'; - foreach(array('plugins', 'templates', 'search') as $tab) { + foreach($this->tabs as $tab) { $url = $this->tabURL($tab); if($this->currentTab() == $tab) { $class = 'class="active"'; |