X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fplugin-editor.tpl;h=14155d5ed2c855273bec5510900e523d63b24517;hb=341d323eb6f5923f2c484f2a3df7ba9fa7b301b0;hp=2ab20dee37e023f3ae4e2a4943d23d15df30d40f;hpb=56aefc1ef7ef2d90499b174648625baa6ccb30b1;p=diogenes.git diff --git a/templates/plugin-editor.tpl b/templates/plugin-editor.tpl index 2ab20de..14155d5 100644 --- a/templates/plugin-editor.tpl +++ b/templates/plugin-editor.tpl @@ -29,24 +29,26 @@ {foreach from=$plugins key=plugtype item=plugarr} - + +{counter start=0 assign=cnt print=0} {foreach from=$plugarr item=plug} - - - - - -{if $show_params} - -
{$plugtype} {$msg_plugedit_plugins}{$plugtype} {$msg_plugedit_plugins}
 {$plug.name} v{$plug.version} + + + + +
{if !$readonly} {/if}{$plug.name} v{$plug.version}
{if !$readonly} - {$msg_move_up} {$msg_move_down} {/if}
{$plug.description}
- + +{if !$readonly && $show_params} +
+
{$plug.description}
+
+ {foreach from=$plug.params key=key item=val} @@ -57,6 +59,7 @@ {/if} +{counter} {/foreach}
{$key}