Merge pull request #495 from nicolasdanelon/patch-3
Fixes #494: inputs & labels with plugin name
This commit is contained in:
commit
cee0d9609f
2 changed files with 12 additions and 8 deletions
|
@ -1147,6 +1147,10 @@ ul.errors {
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pluginsadmin label {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
#pluginsadmin .plugin_parameter {
|
#pluginsadmin .plugin_parameter {
|
||||||
padding: 5px 0;
|
padding: 5px 0;
|
||||||
border-width: 1px 0;
|
border-width: 1px 0;
|
||||||
|
|
|
@ -36,7 +36,7 @@ <h1>Enabled Plugins</h1>
|
||||||
<tbody>
|
<tbody>
|
||||||
{loop="$enabledPlugins"}
|
{loop="$enabledPlugins"}
|
||||||
<tr data-line="{$key}" data-order="{$counter}">
|
<tr data-line="{$key}" data-order="{$counter}">
|
||||||
<td class="center"><input type="checkbox" name="{$key}" checked="checked"></td>
|
<td class="center"><input type="checkbox" name="{$key}" id="{$key}" checked="checked"></td>
|
||||||
<td class="center">
|
<td class="center">
|
||||||
<a href="#"
|
<a href="#"
|
||||||
onclick="return orderUp(this.parentNode.parentNode.getAttribute('data-order'));">
|
onclick="return orderUp(this.parentNode.parentNode.getAttribute('data-order'));">
|
||||||
|
@ -48,8 +48,8 @@ <h1>Enabled Plugins</h1>
|
||||||
</a>
|
</a>
|
||||||
<input type="hidden" name="order_{$key}" value="{$counter}">
|
<input type="hidden" name="order_{$key}" value="{$counter}">
|
||||||
</td>
|
</td>
|
||||||
<td>{$key}</td>
|
<td><label for="{$key}">{function="str_replace('_', ' ', $key)"}</label></td>
|
||||||
<td>{$value.description}</td>
|
<td><label for="{$key}">{$value.description}</label></td>
|
||||||
</tr>
|
</tr>
|
||||||
{/loop}
|
{/loop}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
@ -73,9 +73,9 @@ <h1>Disabled Plugins</h1>
|
||||||
</tr>
|
</tr>
|
||||||
{loop="$disabledPlugins"}
|
{loop="$disabledPlugins"}
|
||||||
<tr>
|
<tr>
|
||||||
<td class="center"><input type="checkbox" name="{$key}"></td>
|
<td class="center"><input type="checkbox" name="{$key}" id="{$key}"></td>
|
||||||
<td>{$key}</td>
|
<td><label for="{$key}">{function="str_replace('_', ' ', $key)"}</label></td>
|
||||||
<td>{$value.description}</td>
|
<td><label for="{$key}">{$value.description}</label></td>
|
||||||
</tr>
|
</tr>
|
||||||
{/loop}
|
{/loop}
|
||||||
</table>
|
</table>
|
||||||
|
@ -99,7 +99,7 @@ <h1>Enabled Plugin Parameters</h1>
|
||||||
{loop="$enabledPlugins"}
|
{loop="$enabledPlugins"}
|
||||||
{if="count($value.parameters) > 0"}
|
{if="count($value.parameters) > 0"}
|
||||||
<div class="plugin_parameters">
|
<div class="plugin_parameters">
|
||||||
<h2>{$key}</h2>
|
<h2>{function="str_replace('_', ' ', $key)"}</h2>
|
||||||
{loop="$value.parameters"}
|
{loop="$value.parameters"}
|
||||||
<div class="plugin_parameter">
|
<div class="plugin_parameter">
|
||||||
<div class="float_label">
|
<div class="float_label">
|
||||||
|
|
Loading…
Reference in a new issue