From fda50a256ba37648c661922735226d319dcc1750 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Thu, 14 Apr 2011 23:17:49 +0000 Subject: plugin manager : description tooltip on the title, tooltip for restoration link git-svn-id: http://piwigo.org/svn/trunk@10378 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/plugins_list.tpl | 19 ++++++++++--------- admin/themes/default/theme.css | 2 -- language/en_UK/admin.lang.php | 1 + language/fr_CA/admin.lang.php | 5 +++++ language/fr_FR/admin.lang.php | 1 + 5 files changed, 17 insertions(+), 11 deletions(-) diff --git a/admin/themes/default/template/plugins_list.tpl b/admin/themes/default/template/plugins_list.tpl index 39b1725bd..ccf6f02f7 100644 --- a/admin/themes/default/template/plugins_list.tpl +++ b/admin/themes/default/template/plugins_list.tpl @@ -60,17 +60,19 @@ jQuery(document).ready(function() { 'fadeIn' : 200, 'fadeOut' : 200, 'maxWidth':'250px' - }).click(function(){ - return false; + }); + jQuery('.plugin-restore').tipTip({ + 'delay' : 0, + 'fadeIn' : 200, + 'fadeOut' : 200 }); jQuery('.pluginMiniBoxDesc').tipTip({ 'delay' : 0, 'fadeIn' : 200, 'fadeOut' : 200, 'maxWidth':'300px', /* not effective, TipTip bug */ + 'defaultPosition':'left', 'keepAlive':true - }).click(function(){ - return false; }); }); {/literal} @@ -149,7 +151,7 @@ jQuery(document).ready(function() { {if $plugin.STATE == 'active'} {'Deactivate'|@translate} - | {'Restore'|@translate} + | {'Restore'|@translate} {elseif $plugin.STATE == 'inactive'} {'Activate'|@translate} @@ -186,15 +188,14 @@ jQuery(document).ready(function() {
- {if $plugin.INCOMPATIBLE}{/if} - {$plugin.NAME} - + {if $plugin.INCOMPATIBLE}{/if} + {$plugin.NAME}
{if $plugin.STATE == 'active'} {'Deactivate'|@translate} - | {'Restore'|@translate} + | {'Restore'|@translate} {elseif $plugin.STATE == 'inactive'} {'Activate'|@translate} diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css index fc093c009..49b0870d3 100644 --- a/admin/themes/default/theme.css +++ b/admin/themes/default/theme.css @@ -945,8 +945,6 @@ h2:lang(en) { text-transform:capitalize; } .pluginMiniBox.inactive, .pluginMiniBox.uninstalled {opacity:0.65;filter:alpha(opacity=65);} .pluginsByState .pluginMiniBox.inactive, .pluginsByState .pluginMiniBox.uninstalled {opacity:0.8;filter:alpha(opacity=80);} -.pluginMiniBoxDesc{float:right;margin:0 4px 0 -20px;} -.pluginMiniBoxDesc:after{content:url(icon/help-min.png);} .warning:before {content:url(icon/warning.png);vertical-align:top;} fieldset.pluginsByName{border:none;} diff --git a/language/en_UK/admin.lang.php b/language/en_UK/admin.lang.php index 297d40d90..571e4dbb9 100644 --- a/language/en_UK/admin.lang.php +++ b/language/en_UK/admin.lang.php @@ -572,6 +572,7 @@ $lang['Representative'] = "Representative"; $lang['Represents'] = "Represents"; $lang['Resize'] = 'Resize'; $lang['Restore'] = "Restore"; +$lang['Restore default configuration. You will lost your plugin settings!'] = "Restore default configuration. You will lost your plugin settings!"; $lang['Results of miniaturization'] = "Miniaturization process results"; $lang['Save order'] = "Save order"; $lang['Save page visits by administrators'] = "Record pages visited by administrators"; diff --git a/language/fr_CA/admin.lang.php b/language/fr_CA/admin.lang.php index fe3d1951b..5d452bb06 100644 --- a/language/fr_CA/admin.lang.php +++ b/language/fr_CA/admin.lang.php @@ -794,4 +794,9 @@ $lang['WARNING! This plugin does not seem to be compatible with this version of $lang['Do you want to activate anyway?'] = 'Voulez-vous l\'activer quand même?'; $lang['THIS PLUGIN IS NOW PART OF PIWIGO CORE! DELETE IT NOW.'] = 'CE GREFFON FAIT DÉSORMAIS PARTIE DU CŒUR DE PIWIGO! SUPPRIMEZ-LE.'; $lang['ERROR: THIS PLUGIN IS MISSING BUT IT IS INSTALLED! UNINSTALL IT NOW.'] = 'ERREUR: CE GREFFON EST MANQUANT MAIS TOUJOURS INSTALLÉ! DÉSINSTALLEZ-LE.'; +$lang['display'] = 'Afficher'; +$lang['Compact'] = "Compact"; +$lang['Complete'] = "Complet"; +$lang['Restore'] = "Restaurer"; +$lang['Restore default configuration. You will lost your plugin settings!'] = "Restaurer la configuration par défaut? Vous perdrez vos réglages personnels !"; ?> \ No newline at end of file diff --git a/language/fr_FR/admin.lang.php b/language/fr_FR/admin.lang.php index 72f80371e..279231c15 100644 --- a/language/fr_FR/admin.lang.php +++ b/language/fr_FR/admin.lang.php @@ -797,4 +797,5 @@ $lang['display'] = 'Afficher'; $lang['Compact'] = "Compact"; $lang['Complete'] = "Complet"; $lang['Restore'] = "Restaurer"; +$lang['Restore default configuration. You will lost your plugin settings!'] = "Restaurer la configuration par défaut? Vous perdrez vos réglages personnels !"; ?> \ No newline at end of file -- cgit v1.2.3