X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fplugin-editor.tpl;h=14155d5ed2c855273bec5510900e523d63b24517;hb=HEAD;hp=dcccbbe1c8054da97d181609a58dcba1417342bc;hpb=16e8fac27cb4f25e8fcfcb30358d5486b4d8f809;p=diogenes.git diff --git a/templates/plugin-editor.tpl b/templates/plugin-editor.tpl index dcccbbe..14155d5 100644 --- a/templates/plugin-editor.tpl +++ b/templates/plugin-editor.tpl @@ -29,25 +29,26 @@ {foreach from=$plugins key=plugtype item=plugarr} - + +{counter start=0 assign=cnt print=0} {foreach from=$plugarr item=plug} - - - + - - -
{$plugtype} {$msg_plugedit_plugins}{$plugtype} {$msg_plugedit_plugins}
 {$plug.name} v{$plug.version} -{if $plug.readonly} - status {$plug.status} -{else} - + + + + +
{if !$readonly} {/if}{$plug.name} v{$plug.version}
+{if !$readonly} {$msg_move_up} {$msg_move_down} {/if}
{$plug.description}
-{if $show_params} - +
{$plug.description}
+ +{if !$readonly && $show_params} + +{/if} +{counter} {/foreach}
+ {foreach from=$plug.params key=key item=val} @@ -55,9 +56,10 @@ {/foreach}
{$key}
-{/if}