diff options
Diffstat (limited to 'template/yoga/admin')
-rw-r--r-- | template/yoga/admin/plugins_list.tpl | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/template/yoga/admin/plugins_list.tpl b/template/yoga/admin/plugins_list.tpl index 8276cd359..abba01861 100644 --- a/template/yoga/admin/plugins_list.tpl +++ b/template/yoga/admin/plugins_list.tpl @@ -18,9 +18,22 @@ <td>{'Actions'|@translate}</td> </tr> </thead> +{html_head} {*add the style to html head for strict standard compliance*} +<style type="text/css"> +TABLE.table2 TR TD.pluginState {ldelim} + padding-left:16px; +} +TABLE.table2 TR TD.active {ldelim} + background: url({$ROOT_URL}{$themeconf.admin_icon_dir}/plugin_active.gif) no-repeat center left +} +TABLE.table2 TR TD.inactive {ldelim} + background: url({$ROOT_URL}{$themeconf.admin_icon_dir}/plugin_inactive.gif) no-repeat center left +} +</style> +{/html_head} {foreach from=$plugins item=plugin name=plugins_loop} <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}"> - <td style="padding-left:16px; {if not empty($plugin.STATE)}background: url({$ROOT_URL}{$themeconf.admin_icon_dir}/plugin_{$plugin.STATE}.gif) no-repeat center left{/if}"> + <td class="pluginState{if not empty($plugin.STATE)} {$plugin.STATE}{/if}"> {$plugin.NAME} </td> <td>{$plugin.VERSION}</td> |