aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default
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/themes/default
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/default/template/plugins_list.tpl9
-rw-r--r--admin/themes/default/theme.css3
2 files changed, 8 insertions, 4 deletions
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; }