summaryrefslogtreecommitdiff
path: root/lib/plugins/styler/admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plugins/styler/admin.php')
-rw-r--r--lib/plugins/styler/admin.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/plugins/styler/admin.php b/lib/plugins/styler/admin.php
index 8d44ac6f5..4269a0ee7 100644
--- a/lib/plugins/styler/admin.php
+++ b/lib/plugins/styler/admin.php
@@ -82,8 +82,12 @@ class admin_plugin_styler extends DokuWiki_Admin_Plugin {
echo '<table>';
foreach($replacements as $key => $value) {
+ $name = tpl_getLang($key);
+ if(empty($name)) $name = $this->getLang($key);
+ if(empty($name)) $name = $key;
+
echo '<tr>';
- echo '<td>'.$key.'</td>';
+ echo '<td>'.$name.'</td>';
echo '<td><input name="tpl['.hsc($key).']" value="'.hsc($value).'" '.$this->colorClass($key).' />';
echo '</tr>';
}
@@ -104,6 +108,8 @@ class admin_plugin_styler extends DokuWiki_Admin_Plugin {
echo '</form>';
+ echo tpl_locale_xhtml('style');
+
}
}