diff options
author | Anika Henke <anika@selfthinker.org> | 2015-07-25 22:58:51 +0100 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2015-07-25 22:58:51 +0100 |
commit | cf2c8e759bf06596f9492d090f4dd8dbb76a178c (patch) | |
tree | 25439e5787b30605044911288678dfc04e75a8bb /lib/plugins/styling/admin.php | |
parent | 84e76a7e9cfdd3dd7beb341445af056cdd642606 (diff) | |
download | rpg-cf2c8e759bf06596f9492d090f4dd8dbb76a178c.tar.gz rpg-cf2c8e759bf06596f9492d090f4dd8dbb76a178c.tar.bz2 |
changed input submits to buttons, fixed small RTL issue
Diffstat (limited to 'lib/plugins/styling/admin.php')
-rw-r--r-- | lib/plugins/styling/admin.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/plugins/styling/admin.php b/lib/plugins/styling/admin.php index c6c04bb52..c747c3130 100644 --- a/lib/plugins/styling/admin.php +++ b/lib/plugins/styling/admin.php @@ -83,22 +83,22 @@ class admin_plugin_styling extends DokuWiki_Admin_Plugin { echo '<tr>'; echo '<td><label for="tpl__'.hsc($key).'">'.$name.'</label></td>'; - echo '<td><input type="text" name="tpl['.hsc($key).']" id="tpl__'.hsc($key).'" value="'.hsc($value).'" '.$this->colorClass($key).' /></td>'; + echo '<td><input type="text" name="tpl['.hsc($key).']" id="tpl__'.hsc($key).'" value="'.hsc($value).'" '.$this->colorClass($key).' dir="ltr" /></td>'; echo '</tr>'; } echo '</tbody></table>'; echo '<p>'; - echo '<input type="submit" name="run[preview]" class="btn_preview primary" value="'.$this->getLang('btn_preview').'" /> '; - echo '<input type="submit" name="run[reset]" value="'.$this->getLang('btn_reset').'" />'; #FIXME only if preview.ini exists + echo '<button type="submit" name="run[preview]" class="btn_preview primary">'.$this->getLang('btn_preview').'</button> '; + echo '<button type="submit" name="run[reset]">'.$this->getLang('btn_reset').'</button>'; #FIXME only if preview.ini exists echo '</p>'; echo '<p>'; - echo '<input type="submit" name="run[save]" class="primary" value="'.$this->getLang('btn_save').'" />'; + echo '<button type="submit" name="run[save]" class="primary">'.$this->getLang('btn_save').'</button>'; echo '</p>'; echo '<p>'; - echo '<input type="submit" name="run[revert]" value="'.$this->getLang('btn_revert').'" />'; #FIXME only if local.ini exists + echo '<button type="submit" name="run[revert]">'.$this->getLang('btn_revert').'</button>'; #FIXME only if local.ini exists echo '</p>'; echo '</form>'; |