aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2011-05-23 13:29:10 +0000
committermistic100 <mistic@piwigo.org>2011-05-23 13:29:10 +0000
commita8e5dd8af7dcb153200eb2a23928a18bb0b34a7d (patch)
treeea4ca4419a093b9181ac3d43dfeed2544c6d729d /admin
parent2d94267b70d13d654b85d1cddf0700f20acbcae2 (diff)
plugin manager : fix deactivation link, info link for clear theme
git-svn-id: http://piwigo.org/svn/trunk@11012 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/themes/clear/theme.css1
-rw-r--r--admin/themes/default/template/plugins_list.tpl9
-rw-r--r--admin/themes/default/theme.css3
3 files changed, 9 insertions, 4 deletions
diff --git a/admin/themes/clear/theme.css b/admin/themes/clear/theme.css
index 995c6ffab..5f5aa1e9a 100644
--- a/admin/themes/clear/theme.css
+++ b/admin/themes/clear/theme.css
@@ -262,6 +262,7 @@ display:block; height:85px; left:225px; position:relative; top:-42px; width:313p
.pluginBox.incompatible, .pluginMiniBox.incompatible {border-color:#a00 !important;}
.pluginBoxes .merged, .pluginBoxes .missing {background-color:#d99;border:1px solid #a00;}
.deactivate_all {color:#005E89;border-color:#005E89;}
+.showInfo {color:#fff;background-color:#999; }
.languageBox {background-color:#ddd;}
.languageName {color:black;}
diff --git a/admin/themes/default/template/plugins_list.tpl b/admin/themes/default/template/plugins_list.tpl
index 71bc70e74..1f11865b2 100644
--- a/admin/themes/default/template/plugins_list.tpl
+++ b/admin/themes/default/template/plugins_list.tpl
@@ -18,7 +18,7 @@ var queuedManager = jQuery.manageAjax.create('queued', {
jQuery(document).ready(function() {
/* group action */
- jQuery('a.deactivate_all').click(function() {
+ jQuery('div.deactivate_all a').click(function() {
if (confirm(confirmMsg)) {
jQuery('div.active').each(function() {
performPluginDeactivate(jQuery(this).attr('id'));
@@ -88,7 +88,11 @@ jQuery(document).ready(function() {
{foreach from=$plugins item=plugin name=plugins_loop}
{if $field_name != $plugin.STATE}
- {if $field_name != 'null'}</fieldset>{/if}
+ {if $field_name != 'null'}
+ {if $field_name == 'active'}<div class="deactivate_all"><a>{'Deactivate'|@translate} {'all'|@translate}</a></div>{/if}
+ </fieldset>
+ {/if}
+
<fieldset class="pluginBoxes">
<legend>
{if $plugin.STATE == 'active'}
@@ -102,7 +106,6 @@ jQuery(document).ready(function() {
{/if}
</legend>
{assign var='field_name' value=$plugin.STATE}
- {if $field_name == 'active'}<a class="deactivate_all">{'Deactivate'|@translate} {'all'|@translate}</a>{/if}
{/if}
{if not empty($plugin.AUTHOR)}
diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css
index c959cc63e..230b0185e 100644
--- a/admin/themes/default/theme.css
+++ b/admin/themes/default/theme.css
@@ -920,7 +920,8 @@ h2:lang(en) { text-transform:capitalize; }
.showInfo {display:block;position:absolute;top:0;right:5px;width:15px;font-style:italic;font-family:"Georgia",serif;background-color:#464646;font-size:0.9em;border-radius:10px;-moz-border-radius:10px;}
.warning:before {content:url(icon/warning.png);vertical-align:top;}
-.deactivate_all {position:absolute;bottom:0;right:18px;color:#f36;border-bottom:1px dotted #f36;font-size:0.8em;}
+.deactivate_all {text-align:right;}
+.deactivate_all a {color:#f36;border-bottom:1px dotted #f36;font-size:0.8em;}
.languageBoxes {min-height:0;text-align:left;}
.languageBox {display:inline-table; text-align:center; width:200px; height:40px; margin:5px; -moz-border-radius:5px;border-radius:5px; overflow:hidden; }