summaryrefslogtreecommitdiff
path: root/lib/plugins/extension/helper/gui.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plugins/extension/helper/gui.php')
-rw-r--r--lib/plugins/extension/helper/gui.php22
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