diff options
author | Andreas Gohr <andi@splitbrain.org> | 2013-08-10 10:45:29 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2013-08-10 10:45:29 +0200 |
commit | df7751c6c456e0107b11d547c159266b470470d9 (patch) | |
tree | 8fba8095ea7ebb265f6d16ca6df776600200cb1f /lib | |
parent | fee60c9e19860de9edb1dd146ec7063bb9eda392 (diff) | |
download | rpg-df7751c6c456e0107b11d547c159266b470470d9.tar.gz rpg-df7751c6c456e0107b11d547c159266b470470d9.tar.bz2 |
nicer tabs
Diffstat (limited to 'lib')
-rw-r--r-- | lib/plugins/extension/helper/gui.php | 8 | ||||
-rw-r--r-- | lib/plugins/extension/lang/en/intro_install.txt | 2 | ||||
-rw-r--r-- | lib/plugins/extension/lang/en/intro_plugins.txt | 2 | ||||
-rw-r--r-- | lib/plugins/extension/lang/en/intro_search.txt | 2 | ||||
-rw-r--r-- | lib/plugins/extension/lang/en/intro_templates.txt | 2 | ||||
-rw-r--r-- | lib/plugins/extension/style.less | 20 |
6 files changed, 32 insertions, 4 deletions
diff --git a/lib/plugins/extension/helper/gui.php b/lib/plugins/extension/helper/gui.php index 8577a1696..7ad238af4 100644 --- a/lib/plugins/extension/helper/gui.php +++ b/lib/plugins/extension/helper/gui.php @@ -36,7 +36,9 @@ class helper_plugin_extension_gui extends DokuWiki_Plugin { /* @var Doku_Plugin_Controller $plugin_controller */ global $plugin_controller; + echo '<div class="panelHeader">'; echo $this->locale_xhtml('intro_plugins'); + echo '</div>'; $pluginlist = $plugin_controller->getList('', true); sort($pluginlist); @@ -57,7 +59,9 @@ class helper_plugin_extension_gui extends DokuWiki_Plugin { * Display the template tab */ public function tabTemplates() { + echo '<div class="panelHeader">'; echo $this->locale_xhtml('intro_templates'); + echo '</div>'; // FIXME do we have a real way? $tpllist = glob(DOKU_INC.'lib/tpl/*', GLOB_ONLYDIR); @@ -82,7 +86,9 @@ class helper_plugin_extension_gui extends DokuWiki_Plugin { */ public function tabSearch() { global $INPUT; + echo '<div class="panelHeader">'; echo $this->locale_xhtml('intro_search'); + echo '</div>'; $form = new Doku_Form(array('action' => $this->tabURL('', array(), '&'))); $form->addElement(form_makeTextField('q', $INPUT->str('q'), 'Search')); @@ -113,7 +119,9 @@ class helper_plugin_extension_gui extends DokuWiki_Plugin { * Display the template tab */ public function tabInstall() { + echo '<div class="panelHeader">'; echo $this->locale_xhtml('intro_install'); + echo '</div>'; $form = new Doku_Form(array('action' => $this->tabURL('', array(), '&'), 'enctype' => 'multipart/form-data')); $form->addElement(form_makeTextField('installurl', '', 'Install from URL:', '', 'block')); diff --git a/lib/plugins/extension/lang/en/intro_install.txt b/lib/plugins/extension/lang/en/intro_install.txt index f68d2d909..0556c8048 100644 --- a/lib/plugins/extension/lang/en/intro_install.txt +++ b/lib/plugins/extension/lang/en/intro_install.txt @@ -1 +1 @@ -Here you can manual install plugins and templates by either uploading them or providing a direct download URL.
\ No newline at end of file +Here you can manually install plugins and templates by either uploading them or providing a direct download URL.
\ No newline at end of file diff --git a/lib/plugins/extension/lang/en/intro_plugins.txt b/lib/plugins/extension/lang/en/intro_plugins.txt index ef180135e..4e42efee1 100644 --- a/lib/plugins/extension/lang/en/intro_plugins.txt +++ b/lib/plugins/extension/lang/en/intro_plugins.txt @@ -1 +1 @@ -Here you can view, enable and disable installed plugins.
\ No newline at end of file +These are the plugins currently installed in your DokuWiki. You can enable or disable or even completely uninstall them here. Plugin updates are shown here as well, be sure to read the plugin's documentation before updating.
\ No newline at end of file diff --git a/lib/plugins/extension/lang/en/intro_search.txt b/lib/plugins/extension/lang/en/intro_search.txt index 003c99c61..244cd6812 100644 --- a/lib/plugins/extension/lang/en/intro_search.txt +++ b/lib/plugins/extension/lang/en/intro_search.txt @@ -1 +1 @@ -Here you can search for available plugins and templates for DokuWiki. Be sure to read more about Plugin Security before installing FIXME add link
\ No newline at end of file +This tab gives you access to all available 3rd party plugins and templates for DokuWiki. Please be aware that installing 3rd party code may pose a **security risk**, you may want to read about [[doku>security#plugin_security|plugin security]] first.
\ No newline at end of file diff --git a/lib/plugins/extension/lang/en/intro_templates.txt b/lib/plugins/extension/lang/en/intro_templates.txt index 2b3af727b..d42180cc4 100644 --- a/lib/plugins/extension/lang/en/intro_templates.txt +++ b/lib/plugins/extension/lang/en/intro_templates.txt @@ -1 +1 @@ -Here you can view, enable and disable installed templates. Note that only one template can be activated at a time.
\ No newline at end of file +These are the templates currently installed in your DokuWiki. Note that only one template can be activated at a time. diff --git a/lib/plugins/extension/style.less b/lib/plugins/extension/style.less index fc5613044..8c85bec46 100644 --- a/lib/plugins/extension/style.less +++ b/lib/plugins/extension/style.less @@ -38,6 +38,26 @@ } } +#extension__manager { + /* tab layout - most of it is in the main template */ + ul.tabs li.active a { + background-color: @ini_background_alt; + border-bottom: solid 1px @ini_background_alt; + z-index: 2; + } + .panelHeader { + background-color: @ini_background_alt; + margin: 0 0 10px 0; + padding: 10px 10px 8px; + text-align: left; + overflow: hidden; + } +} + +/* ------- FIXME everything below needs to be checked for usage ---------- */ + + + /* * general layout */ |