X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fplugin-editor.tpl;h=14155d5ed2c855273bec5510900e523d63b24517;hb=HEAD;hp=e5b485bd5fdb2d8464187bf6c585cb31fb4df93a;hpb=7aff44b2a3193e43aedfd7bf7fc3801bcffcf3e0;p=diogenes.git diff --git a/templates/plugin-editor.tpl b/templates/plugin-editor.tpl index e5b485b..14155d5 100644 --- a/templates/plugin-editor.tpl +++ b/templates/plugin-editor.tpl @@ -1,4 +1,23 @@ {if !$readonly} +{literal} + +{/literal} +
@@ -10,36 +29,37 @@ {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 $readonly || $plug.readonly} - {$statusvals[$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} - + {/foreach}
{$key}
-{else} -   -{/if}