Plugin parameter description: Update the templates to display them

This commit is contained in:
ArthurHoaro 2016-08-02 11:03:55 +02:00
parent 15170b5164
commit 1442afe3cf
2 changed files with 5 additions and 4 deletions

View file

@ -1156,7 +1156,7 @@ ul.errors {
} }
#pluginsadmin .plugin_parameter { #pluginsadmin .plugin_parameter {
padding: 5px 0; padding: 10px 0;
border-width: 1px 0; border-width: 1px 0;
border-style: solid; border-style: solid;
border-color: #c0c0c0; border-color: #c0c0c0;
@ -1164,7 +1164,7 @@ ul.errors {
#pluginsadmin .float_label { #pluginsadmin .float_label {
float: left; float: left;
width: 20%; width: 40%;
} }
#pluginsadmin a { #pluginsadmin a {

View file

@ -104,11 +104,12 @@ <h2>{function="str_replace('_', ' ', $key)"}</h2>
<div class="plugin_parameter"> <div class="plugin_parameter">
<div class="float_label"> <div class="float_label">
<label for="{$key}"> <label for="{$key}">
<code>{$key}</code> <code>{$key}</code><br>
{$value.desc}
</label> </label>
</div> </div>
<div class="float_input"> <div class="float_input">
<input name="{$key}" value="{$value}" id="{$key}"/> <input name="{$key}" value="{$value.value}" id="{$key}"/>
</div> </div>
</div> </div>
{/loop} {/loop}