summaryrefslogtreecommitdiff
path: root/lib/plugins/extension/helper
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2013-08-10 14:29:40 +0200
committerAndreas Gohr <andi@splitbrain.org>2013-08-10 14:29:40 +0200
commitf910b299e4bbc59cfbe4e68af5d34ea2e5815574 (patch)
treef3e431e41251c8721a1c03274beaa02c835b58b0 /lib/plugins/extension/helper
parent8d295da079a559bf0f254f0db383e0b3188f9985 (diff)
downloadrpg-f910b299e4bbc59cfbe4e68af5d34ea2e5815574.tar.gz
rpg-f910b299e4bbc59cfbe4e68af5d34ea2e5815574.tar.bz2
updated styles
RTL styles need to be readded
Diffstat (limited to 'lib/plugins/extension/helper')
-rw-r--r--lib/plugins/extension/helper/gui.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/plugins/extension/helper/gui.php b/lib/plugins/extension/helper/gui.php
index 2c2a19bf8..139a1a16a 100644
--- a/lib/plugins/extension/helper/gui.php
+++ b/lib/plugins/extension/helper/gui.php
@@ -90,9 +90,9 @@ class helper_plugin_extension_gui extends DokuWiki_Plugin {
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'));
- $form->addElement(form_makeButton('submit', '', 'Search'));
+ $form = new Doku_Form(array('action' => $this->tabURL('', array(), '&'), 'class' => 'search'));
+ $form->addElement(form_makeTextField('q', $INPUT->str('q'), $this->getLang('search_for')));
+ $form->addElement(form_makeButton('submit', '', $this->getLang('search')));
$form->printForm();
if(!$INPUT->bool('q')) return;
@@ -123,7 +123,7 @@ class helper_plugin_extension_gui extends DokuWiki_Plugin {
echo $this->locale_xhtml('intro_install');
echo '</div>';
- $form = new Doku_Form(array('action' => $this->tabURL('', array(), '&'), 'enctype' => 'multipart/form-data'));
+ $form = new Doku_Form(array('action' => $this->tabURL('', array(), '&'), 'enctype' => 'multipart/form-data', 'class' => 'install'));
$form->addElement(form_makeTextField('installurl', '', 'Install from URL:', '', 'block'));
$form->addElement(form_makeFileField('installfile', 'Upload Extension:', '', 'block'));
$form->addElement(form_makeButton('submit', '', 'Install'));
@@ -165,13 +165,13 @@ class helper_plugin_extension_gui extends DokuWiki_Plugin {
/**
* Create an URL inside the extension manager
*
- * @param string $tab tab to load, empty for current tab
- * @param array $params associative array of parameter to set
- * @param string $sep seperator to build the URL
+ * @param string $tab tab to load, empty for current tab
+ * @param array $params associative array of parameter to set
+ * @param string $sep seperator to build the URL
* @param bool $absolute create absolute URLs?
* @return string
*/
- public function tabURL($tab = '', $params = array(), $sep = '&amp;', $absolute=false) {
+ public function tabURL($tab = '', $params = array(), $sep = '&amp;', $absolute = false) {
global $ID;
global $INPUT;