X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fplugin-editor.tpl;h=e5b485bd5fdb2d8464187bf6c585cb31fb4df93a;hb=824ae29017126c7420683e485d03fdc15ca4fab7;hp=2ab20dee37e023f3ae4e2a4943d23d15df30d40f;hpb=56aefc1ef7ef2d90499b174648625baa6ccb30b1;p=diogenes.git diff --git a/templates/plugin-editor.tpl b/templates/plugin-editor.tpl index 2ab20de..e5b485b 100644 --- a/templates/plugin-editor.tpl +++ b/templates/plugin-editor.tpl @@ -1,23 +1,4 @@ {if !$readonly} -{literal} - -{/literal} -
@@ -29,33 +10,35 @@ {foreach from=$plugins key=plugtype item=plugarr} - + {foreach from=$plugarr item=plug} - + -{if $show_params} - -{/if} {/foreach}
{$plugtype} {$msg_plugedit_plugins}{$plugtype} {$msg_plugedit_plugins}
 {$plug.name} v{$plug.version} -  {$plug.name} v{$plug.version} -{if !$readonly} - - {$msg_move_up} {$msg_move_down} +{if $readonly || $plug.readonly} + {$statusvals[$plug.status]} +{else} + {/if}
{$plug.description}
+ +{if $show_params} {foreach from=$plug.params key=key item=val} - + {/foreach}
{$key}
+{else} +   +{/if}