diff options
Diffstat (limited to 'template/yoga/admin')
-rw-r--r-- | template/yoga/admin/plugins.tpl | 43 |
1 files changed, 22 insertions, 21 deletions
diff --git a/template/yoga/admin/plugins.tpl b/template/yoga/admin/plugins.tpl index 4511913e3..66d77b1c0 100644 --- a/template/yoga/admin/plugins.tpl +++ b/template/yoga/admin/plugins.tpl @@ -1,32 +1,33 @@ +{* $Id$ *} + <div class="titrePage"> - <h2>{lang:Plugins} + <h2>{'Plugins'|@translate} </h2> </div> - -<!-- BEGIN plugins --> +{if isset($plugins) } <table class="table2"> <thead><tr class="throw"> - <td>{lang:Name}</td> - <td>{lang:Version}</td> - <td>{lang:Description}</td> - <td>{lang:Actions}</td> + <td>{'Name'|@translate}</td> + <td>{'Version'|@translate}</td> + <td>{'Description'|@translate}</td> + <td>{'Actions'|@translate}</td> </tr></thead> -<!-- BEGIN plugin --> -<tr class="{plugins.plugin.CLASS}"> - <td>{plugins.plugin.NAME}</td> - <td>{plugins.plugin.VERSION}</td> - <td>{plugins.plugin.DESCRIPTION}</td> +{foreach from=$plugins item=plugin name=plugins_loop} +<tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}"> + <td>{$plugin.NAME}</td> + <td>{$plugin.VERSION}</td> + <td>{$plugin.DESCRIPTION}</td> <td> - <!-- BEGIN action --> - <a href="{plugins.plugin.action.U_ACTION}" -<!-- BEGIN confirm --> - onclick="return confirm('{lang:Are you sure?}');" -<!-- END confirm --> - {TAG_INPUT_ENABLED}>{plugins.plugin.action.L_ACTION}</a> - <!-- END action --> + {foreach from=$plugin.actions item=action} + <a href="{$action.U_ACTION}" +{if isset($action.CONFIRM) } + onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');" +{/if} + {$TAG_INPUT_ENABLED}>{$action.L_ACTION}</a> + {/foreach} </td> </tr> -<!-- END plugin --> +{/foreach} </table> -<!-- END plugins -->
\ No newline at end of file +{/if}
\ No newline at end of file |