source: trunk/admin/themes/default/template/plugins_update.tpl @ 9491

Last change on this file since 9491 was 9491, checked in by patdenice, 13 years ago

New plugins update page.

  • Property svn:eol-style set to LF
File size: 1.7 KB
Line 
1{combine_script id='jquery.ui' load='async' require='jquery' path='themes/default/js/jquery.ui.min.js' }
2{combine_script id='jquery.cluetip' load='async' require='jquery' path='themes/default/js/plugins/jquery.cluetip.packed.js'}
3{footer_script require='jquery.cluetip'}
4jQuery().ready(function(){ldelim}
5        jQuery('.cluetip').cluetip({ldelim}
6                width: 300,
7                splitTitle: '|'
8        });
9});
10{/footer_script}
11
12<div class="titrePage">
13  <h2>{'Plugins'|@translate}</h2>
14</div>
15
16{if not empty($plugins)}
17<div id="availablePlugins">
18<fieldset>
19<legend>{'Plugins which need upgrade'|@translate}</legend>
20{foreach from=$plugins item=plugin name=plugins_loop}
21<div class="pluginBox" id="plugin_{$plugin.ID}">
22  <table>
23    <tr>
24      <td class="pluginBoxNameCell">
25        <a href="{$plugin.EXT_URL}" class="externalLink cluetip" title="{$plugin.EXT_NAME}|{$plugin.EXT_DESC|htmlspecialchars|nl2br}">{$plugin.EXT_NAME}</a>
26      </td>
27      <td>
28        <a href="{$plugin.URL_UPDATE}" onclick="return confirm('{'Are you sure to install this upgrade? You must verify if this version does not need uninstallation.'|@translate|@escape:javascript}');">{'Automatic upgrade'|@translate}</a>
29        | <a href="{$plugin.URL_DOWNLOAD}">{'Download file'|@translate}</a>
30      </td>
31    </tr>
32    <tr>
33      <td>
34        <a href="{$plugin.EXT_URL}" class="externalLink cluetip" title="{'Version'|@translate} {$plugin.VERSION}|{$plugin.REV_DESC|htmlspecialchars|nl2br}"> {'Version'|@translate} {$plugin.VERSION}</a>
35      </td>
36      <td>
37        <em>{'Downloads'|@translate}: {$plugin.DOWNLOADS}</em>
38        {'By %s'|@translate|@sprintf:$plugin.AUTHOR}
39      </td>
40    </tr>
41  </table>
42</div>
43{/foreach}
44</fieldset>
45</div>
46{elseif not isset($SERVER_ERROR)}
47<p>{'All plugins are up to date.'|@translate}</p>
48{/if}
Note: See TracBrowser for help on using the repository browser.