X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fplugin-editor.tpl;h=e5b485bd5fdb2d8464187bf6c585cb31fb4df93a;hb=ce666608ea2e928a490bf31040b3897ca5eb0944;hp=dcccbbe1c8054da97d181609a58dcba1417342bc;hpb=16e8fac27cb4f25e8fcfcb30358d5486b4d8f809;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}