X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fplugin-editor.tpl;h=e5b485bd5fdb2d8464187bf6c585cb31fb4df93a;hb=7aff44b2a3193e43aedfd7bf7fc3801bcffcf3e0;hp=14155d5ed2c855273bec5510900e523d63b24517;hpb=6855525e48fad5de270500a5445c4f4ff85d8bda;p=diogenes.git diff --git a/templates/plugin-editor.tpl b/templates/plugin-editor.tpl index 14155d5..e5b485b 100644 --- a/templates/plugin-editor.tpl +++ b/templates/plugin-editor.tpl @@ -1,23 +1,4 @@ {if !$readonly} -{literal} - -{/literal} -
@@ -29,37 +10,36 @@ {foreach from=$plugins key=plugtype item=plugarr} - + -{counter start=0 assign=cnt print=0} {foreach from=$plugarr item=plug} - - - + + + + + -{if !$readonly && $show_params} - -{/if} -{counter} {/foreach}
{$plugtype} {$msg_plugedit_plugins}{$plugtype} {$msg_plugedit_plugins}
- - -
{if !$readonly} {/if}{$plug.name} v{$plug.version}
-{if !$readonly} - {$msg_move_up} {$msg_move_down} +
 {$plug.name} v{$plug.version} +{if $readonly || $plug.readonly} + {$statusvals[$plug.status]} +{else} + {/if}
{$plug.description}
-
{$plug.description}
-
- +{if $show_params} +
{foreach from=$plug.params key=key item=val} - + {/foreach}
{$key}
+{else} +   +{/if}