Changeset 10378 for trunk/admin/themes/default/template/plugins_list.tpl
- Timestamp:
- Apr 15, 2011, 1:17:49 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/themes/default/template/plugins_list.tpl
r10305 r10378 61 61 'fadeOut' : 200, 62 62 'maxWidth':'250px' 63 }).click(function(){ 64 return false; 63 }); 64 jQuery('.plugin-restore').tipTip({ 65 'delay' : 0, 66 'fadeIn' : 200, 67 'fadeOut' : 200 65 68 }); 66 69 jQuery('.pluginMiniBoxDesc').tipTip({ … … 69 72 'fadeOut' : 200, 70 73 'maxWidth':'300px', /* not effective, TipTip bug */ 74 'defaultPosition':'left', 71 75 'keepAlive':true 72 }).click(function(){73 return false;74 76 }); 75 77 }); … … 150 152 {if $plugin.STATE == 'active'} 151 153 <a href="{$plugin.U_ACTION}&action=deactivate">{'Deactivate'|@translate}</a> 152 | <a href="{$plugin.U_ACTION}&action=restore" onclick="return confirm('{'Are you sure?'|@translate|@escape:'javascript'}');">{'Restore'|@translate}</a>154 | <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> 153 155 154 156 {elseif $plugin.STATE == 'inactive'} … … 187 189 <div id="{$plugin.ID}" class="pluginMiniBox {$plugin.STATE}{if $plugin.INCOMPATIBLE} incompatible{/if}"> 188 190 <div class="pluginMiniBoxNameCell"> 189 {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} 190 {$plugin.NAME} 191 <a class="pluginMiniBoxDesc" title="{if !empty($author)}{'By %s'|@translate|@sprintf:$author} | {/if}{'Version'|@translate} {$version}<br/>{$plugin.DESC|@escape:'html'}"></a> 191 {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} 192 <span class="pluginMiniBoxDesc" title="{if !empty($author)}{'By %s'|@translate|@sprintf:$author} | {/if}{'Version'|@translate} {$version}<br/>{$plugin.DESC|@escape:'html'}">{$plugin.NAME}</span> 192 193 </div> 193 194 <div class="pluginActions"> … … 195 196 {if $plugin.STATE == 'active'} 196 197 <a href="{$plugin.U_ACTION}&action=deactivate">{'Deactivate'|@translate}</a> 197 | <a href="{$plugin.U_ACTION}&action=restore" onclick="return confirm('{'Are you sure?'|@translate|@escape:'javascript'}');">{'Restore'|@translate}</a>198 | <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> 198 199 199 200 {elseif $plugin.STATE == 'inactive'}
Note: See TracChangeset
for help on using the changeset viewer.