diff options
author | Nicolas Danelon <nicolasdanelon@users.noreply.github.com> | 2016-02-23 10:48:35 -0300 |
---|---|---|
committer | Nicolas Danelon <nicolasdanelon@users.noreply.github.com> | 2016-02-23 10:48:35 -0300 |
commit | dc71701cb4d69e583ee1356beaaf1327ff57002b (patch) | |
tree | 74ebf8aaf1f4364b7e12c570e261ac32e04ea8bc | |
parent | 6c3d6a31f413862941fe514e7167c04fe71ba1a7 (diff) | |
download | Shaarli-dc71701cb4d69e583ee1356beaaf1327ff57002b.tar.gz Shaarli-dc71701cb4d69e583ee1356beaaf1327ff57002b.tar.zst Shaarli-dc71701cb4d69e583ee1356beaaf1327ff57002b.zip |
Fixes #494: inputs & labels with plugin name
-rw-r--r-- | tpl/pluginsadmin.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tpl/pluginsadmin.html b/tpl/pluginsadmin.html index 4f7d091e..5ddcf061 100644 --- a/tpl/pluginsadmin.html +++ b/tpl/pluginsadmin.html | |||
@@ -36,7 +36,7 @@ | |||
36 | <tbody> | 36 | <tbody> |
37 | {loop="$enabledPlugins"} | 37 | {loop="$enabledPlugins"} |
38 | <tr data-line="{$key}" data-order="{$counter}"> | 38 | <tr data-line="{$key}" data-order="{$counter}"> |
39 | <td class="center"><input type="checkbox" name="{$key}" checked="checked"></td> | 39 | <td class="center"><input type="checkbox" name="{$key}" id="{$key}" checked="checked"></td> |
40 | <td class="center"> | 40 | <td class="center"> |
41 | <a href="#" | 41 | <a href="#" |
42 | onclick="return orderUp(this.parentNode.parentNode.getAttribute('data-order'));"> | 42 | onclick="return orderUp(this.parentNode.parentNode.getAttribute('data-order'));"> |
@@ -48,8 +48,8 @@ | |||
48 | </a> | 48 | </a> |
49 | <input type="hidden" name="order_{$key}" value="{$counter}"> | 49 | <input type="hidden" name="order_{$key}" value="{$counter}"> |
50 | </td> | 50 | </td> |
51 | <td>{$key}</td> | 51 | <td><label for="{$key}">{function="str_replace('_', ' ', $key)"}</label></td> |
52 | <td>{$value.description}</td> | 52 | <td><label for="{$key}">{$value.description}</label></td> |
53 | </tr> | 53 | </tr> |
54 | {/loop} | 54 | {/loop} |
55 | </tbody> | 55 | </tbody> |
@@ -73,9 +73,9 @@ | |||
73 | </tr> | 73 | </tr> |
74 | {loop="$disabledPlugins"} | 74 | {loop="$disabledPlugins"} |
75 | <tr> | 75 | <tr> |
76 | <td class="center"><input type="checkbox" name="{$key}"></td> | 76 | <td class="center"><input type="checkbox" name="{$key}" id="{$key}"></td> |
77 | <td>{$key}</td> | 77 | <td><label for="{$key}">{function="str_replace('_', ' ', $key)"}</label></td> |
78 | <td>{$value.description}</td> | 78 | <td><label for="{$key}">{$value.description}</label></td> |
79 | </tr> | 79 | </tr> |
80 | {/loop} | 80 | {/loop} |
81 | </table> | 81 | </table> |
@@ -99,7 +99,7 @@ | |||
99 | {loop="$enabledPlugins"} | 99 | {loop="$enabledPlugins"} |
100 | {if="count($value.parameters) > 0"} | 100 | {if="count($value.parameters) > 0"} |
101 | <div class="plugin_parameters"> | 101 | <div class="plugin_parameters"> |
102 | <h2>{$key}</h2> | 102 | <h2>{function="str_replace('_', ' ', $key)"}</h2> |
103 | {loop="$value.parameters"} | 103 | {loop="$value.parameters"} |
104 | <div class="plugin_parameter"> | 104 | <div class="plugin_parameter"> |
105 | <div class="float_label"> | 105 | <div class="float_label"> |
@@ -128,4 +128,4 @@ | |||
128 | 128 | ||
129 | <script src="inc/plugin_admin.js#"></script> | 129 | <script src="inc/plugin_admin.js#"></script> |
130 | </body> | 130 | </body> |
131 | </html> \ No newline at end of file | 131 | </html> |