aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-09-28 11:29:09 +0000
committerpatdenice <patdenice@piwigo.org>2008-09-28 11:29:09 +0000
commit7bc97f00a4280ce2b2d24d4f1b3498c392246290 (patch)
treeebbcd8b90a1fd24d232e6d99b05e10efbe094c14 /admin
parent68d06d6d493f3c261ce9cdee174299cfa9d52b07 (diff)
Move plugins list CSS to admin default-layout.css.
Layout bug corrected with IE. git-svn-id: http://piwigo.org/svn/trunk@2619 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-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}">