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
This commit is contained in:
parent
8027f4fe0c
commit
fda50a256b
5 changed files with 17 additions and 11 deletions
|
|
@ -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() {
|
|||
<td>
|
||||
{if $plugin.STATE == 'active'}
|
||||
<a href="{$plugin.U_ACTION}&action=deactivate">{'Deactivate'|@translate}</a>
|
||||
| <a href="{$plugin.U_ACTION}&action=restore" onclick="return confirm('{'Are you sure?'|@translate|@escape:'javascript'}');">{'Restore'|@translate}</a>
|
||||
| <a href="{$plugin.U_ACTION}&action=restore" class="plugin-restore" title="{'Restore default configuration. You will lost your plugin settings!'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:'javascript'}');">{'Restore'|@translate}</a>
|
||||
|
||||
{elseif $plugin.STATE == 'inactive'}
|
||||
<a href="{$plugin.U_ACTION}&action=activate" {if $plugin.INCOMPATIBLE}class="incompatible"{/if}>{'Activate'|@translate}</a>
|
||||
|
|
@ -186,15 +188,14 @@ jQuery(document).ready(function() {
|
|||
|
||||
<div id="{$plugin.ID}" class="pluginMiniBox {$plugin.STATE}{if $plugin.INCOMPATIBLE} incompatible{/if}">
|
||||
<div class="pluginMiniBoxNameCell">
|
||||
{if $plugin.INCOMPATIBLE}<a class="warning" title="{'WARNING! This plugin does not seem to be compatible with this version of Piwigo.'|@translate|@escape:'html'}"></a>{/if}
|
||||
{$plugin.NAME}
|
||||
<a class="pluginMiniBoxDesc" title="{if !empty($author)}{'By %s'|@translate|@sprintf:$author} | {/if}{'Version'|@translate} {$version}<br/>{$plugin.DESC|@escape:'html'}"></a>
|
||||
{if $plugin.INCOMPATIBLE}<span class="warning" title="{'WARNING! This plugin does not seem to be compatible with this version of Piwigo.'|@translate|@escape:'html'}"></span>{/if}
|
||||
<span class="pluginMiniBoxDesc" title="{if !empty($author)}{'By %s'|@translate|@sprintf:$author} | {/if}{'Version'|@translate} {$version}<br/>{$plugin.DESC|@escape:'html'}">{$plugin.NAME}</span>
|
||||
</div>
|
||||
<div class="pluginActions">
|
||||
<div>
|
||||
{if $plugin.STATE == 'active'}
|
||||
<a href="{$plugin.U_ACTION}&action=deactivate">{'Deactivate'|@translate}</a>
|
||||
| <a href="{$plugin.U_ACTION}&action=restore" onclick="return confirm('{'Are you sure?'|@translate|@escape:'javascript'}');">{'Restore'|@translate}</a>
|
||||
| <a href="{$plugin.U_ACTION}&action=restore" class="plugin-restore" title="{'Restore default configuration. You will lost all your settings !'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:'javascript'}');">{'Restore'|@translate}</a>
|
||||
|
||||
{elseif $plugin.STATE == 'inactive'}
|
||||
<a href="{$plugin.U_ACTION}&action=activate" {if $plugin.INCOMPATIBLE}class="incompatible"{/if}>{'Activate'|@translate}</a>
|
||||
|
|
|
|||
|
|
@ -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;}
|
||||
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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 !";
|
||||
?>
|
||||
|
|
@ -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 !";
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue