<tbody>
{loop="$enabledPlugins"}
<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">
- <a href="#"
+ <a href="#" class="arrow"
onclick="return orderUp(this.parentNode.parentNode.getAttribute('data-order'));">
▲
</a>
- <a href="#"
+ <a href="#" class="arrow"
onclick="return orderDown(this.parentNode.parentNode.getAttribute('data-order'));">
▼
</a>
<input type="hidden" name="order_{$key}" value="{$counter}">
</td>
- <td>{$key}</td>
- <td>{$value.description}</td>
+ <td><label for="{$key}">{function="str_replace('_', ' ', $key)"}</label></td>
+ <td><label for="{$key}">{$value.description}</label></td>
</tr>
{/loop}
</tbody>
</tr>
{loop="$disabledPlugins"}
<tr>
- <td class="center"><input type="checkbox" name="{$key}"></td>
- <td>{$key}</td>
- <td>{$value.description}</td>
+ <td class="center"><input type="checkbox" name="{$key}" id="{$key}"></td>
+ <td><label for="{$key}">{function="str_replace('_', ' ', $key)"}</label></td>
+ <td><label for="{$key}">{$value.description}</label></td>
</tr>
{/loop}
</table>
{loop="$enabledPlugins"}
{if="count($value.parameters) > 0"}
<div class="plugin_parameters">
- <h2>{$key}</h2>
+ <h2>{function="str_replace('_', ' ', $key)"}</h2>
{loop="$value.parameters"}
<div class="plugin_parameter">
<div class="float_label">
<label for="{$key}">
- <code>{$key}</code>
+ <code>{$key}</code><br>
+ {if="isset($value.desc)"}
+ {$value.desc}
+ {/if}
</label>
</div>
<div class="float_input">
- <input name="{$key}" value="{$value}" id="{$key}"/>
+ <input name="{$key}" value="{$value.value}" id="{$key}"/>
</div>
</div>
{/loop}
<script src="inc/plugin_admin.js#"></script>
</body>
-</html>
\ No newline at end of file
+</html>