X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fplugin-editor.tpl;h=e5b485bd5fdb2d8464187bf6c585cb31fb4df93a;hb=7aff44b2a3193e43aedfd7bf7fc3801bcffcf3e0;hp=dcccbbe1c8054da97d181609a58dcba1417342bc;hpb=16807ba08214124b17b1f14226be12cdd646adc1;p=diogenes.git diff --git a/templates/plugin-editor.tpl b/templates/plugin-editor.tpl index dcccbbe..e5b485b 100644 --- a/templates/plugin-editor.tpl +++ b/templates/plugin-editor.tpl @@ -1,23 +1,4 @@ {if !$readonly} -{literal} - -{/literal} -
@@ -35,11 +16,10 @@  {$plug.name} v{$plug.version} -{if $plug.readonly} - status {$plug.status} +{if $readonly || $plug.readonly} + {$statusvals[$plug.status]} {else} - - {$msg_move_up} {$msg_move_down} + {/if} @@ -51,10 +31,12 @@ {foreach from=$plug.params key=key item=val} {$key} - + {/foreach} +{else} +   {/if}