aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/template/goto/default-layout.css15
-rw-r--r--admin/template/goto/plugins_list.tpl14
2 files changed, 16 insertions, 13 deletions
diff --git a/admin/template/goto/default-layout.css b/admin/template/goto/default-layout.css
index 2132f657b..74d3790df 100644
--- a/admin/template/goto/default-layout.css
+++ b/admin/template/goto/default-layout.css
@@ -39,6 +39,21 @@ TABLE#detailedStats {
width: 99%;
}
+/* Plugins tables */
+TABLE.table2 TR TD.pluginState {
+ padding-left: 16px;
+}
+
+TABLE.table2 TR TD.active {
+ background: url(icon/plugin_active.gif) no-repeat center left;
+ background-color: inherit; /* IE need it */
+}
+
+TABLE.table2 TR TD.inactive {
+ background: url(icon/plugin_inactive.gif) no-repeat center left;
+ background-color: inherit; /* IE need it */
+}
+
/* categoryOrdering */
SELECT.categoryList {
width: 100%;
diff --git a/admin/template/goto/plugins_list.tpl b/admin/template/goto/plugins_list.tpl
index 99d3234c9..0f2cc43e4 100644
--- a/admin/template/goto/plugins_list.tpl
+++ b/admin/template/goto/plugins_list.tpl
@@ -19,19 +19,7 @@
<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 class="pluginState{if not empty($plugin.STATE)} {$plugin.STATE}{/if}">