diff options
author | Andreas Gohr <andi@splitbrain.org> | 2013-08-04 20:24:19 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2013-08-04 20:24:19 +0200 |
commit | 1dd40c86eb47f24a2e7c7022592fd9cd25ff07f2 (patch) | |
tree | daf98b5872b3fe958284307d7c01d47a5c1e05d7 /lib/plugins/extension/helper | |
parent | 5d7f3164ea4199d7cf1215a1a8a5785218c9e149 (diff) | |
download | rpg-1dd40c86eb47f24a2e7c7022592fd9cd25ff07f2.tar.gz rpg-1dd40c86eb47f24a2e7c7022592fd9cd25ff07f2.tar.bz2 |
added intros
Diffstat (limited to 'lib/plugins/extension/helper')
-rw-r--r-- | lib/plugins/extension/helper/gui.php | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/lib/plugins/extension/helper/gui.php b/lib/plugins/extension/helper/gui.php index 41afc2069..7c83a3854 100644 --- a/lib/plugins/extension/helper/gui.php +++ b/lib/plugins/extension/helper/gui.php @@ -16,11 +16,15 @@ class helper_plugin_extension_gui extends DokuWiki_Plugin { protected $tabs = array('plugins', 'templates', 'search'); - - public function pluginList(){ + /** + * display the plugin tab + */ + public function tabPlugins(){ /* @var Doku_Plugin_Controller $plugin_controller */ global $plugin_controller; + echo $this->locale_xhtml('intro_plugins'); + $pluginlist = $plugin_controller->getList('', true); /* @var helper_plugin_extension_extension $extension */ $extension = $this->loadHelper('extension_extension'); @@ -35,7 +39,12 @@ class helper_plugin_extension_gui extends DokuWiki_Plugin { $list->render(); } - public function templateList(){ + /** + * Display the template tab + */ + public function tabTemplates(){ + echo $this->locale_xhtml('intro_templates'); + // FIXME do we have a real way? $tpllist = glob(DOKU_INC.'lib/tpl/*', GLOB_ONLYDIR); $tpllist = array_map('basename', $tpllist); @@ -54,6 +63,13 @@ class helper_plugin_extension_gui extends DokuWiki_Plugin { } /** + * Display the search tab + */ + public function tabSearch(){ + echo $this->locale_xhtml('intro_search'); + } + + /** * Print the tab navigation * * @fixme style active one |