1 | {combine_script id='jquery.cluetip' load='async' require='jquery' path='themes/default/js/plugins/jquery.cluetip.packed.js'} |
---|
2 | {footer_script require='jquery.cluetip'} |
---|
3 | jQuery().ready(function(){ldelim} |
---|
4 | jQuery('.cluetip').cluetip({ldelim} |
---|
5 | width: 300, |
---|
6 | splitTitle: '|' |
---|
7 | }); |
---|
8 | }); |
---|
9 | {/footer_script} |
---|
10 | |
---|
11 | <div class="titrePage"> |
---|
12 | <h2>{'Plugins'|@translate}</h2> |
---|
13 | </div> |
---|
14 | |
---|
15 | {if isset($plugins_not_uptodate)} |
---|
16 | <br> |
---|
17 | <b>{'Plugins which need upgrade'|@translate}</b> |
---|
18 | <table class="table2 plugins"> |
---|
19 | <thead> |
---|
20 | <tr class="throw"> |
---|
21 | <td>{'Name'|@translate}</td> |
---|
22 | <td>{'Current<br>version'|@translate}</td> |
---|
23 | <td>{'Available<br>version'|@translate}</td> |
---|
24 | <td>{'Actions'|@translate}</td> |
---|
25 | </tr> |
---|
26 | </thead> |
---|
27 | {foreach from=$plugins_not_uptodate item=plugin name=plugins_loop} |
---|
28 | <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}"> |
---|
29 | <td><a href="{$plugin.EXT_URL}" class="externalLink cluetip" title="{$plugin.EXT_NAME}|{$plugin.EXT_DESC|htmlspecialchars|nl2br}">{$plugin.EXT_NAME}</a></td> |
---|
30 | <td style="text-align:center;">{$plugin.VERSION}</td> |
---|
31 | <td style="text-align:center;"><a href="{$plugin.EXT_URL}" class="externalLink cluetip" title="{$plugin.EXT_NAME}|{$plugin.NEW_VER_DESC|htmlspecialchars|nl2br}">{$plugin.NEW_VERSION}</a></td> |
---|
32 | <td style="text-align:center;"><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> |
---|
33 | / <a href="{$plugin.URL_DOWNLOAD}">{'Download file'|@translate}</a></td> |
---|
34 | </tr> |
---|
35 | {/foreach} |
---|
36 | </table> |
---|
37 | {/if} |
---|
38 | |
---|
39 | |
---|
40 | {if isset($plugins_uptodate)} |
---|
41 | <br> |
---|
42 | <b>{'Plugins up to date'|@translate}</b> |
---|
43 | <table class="table2 plugins"> |
---|
44 | <thead> |
---|
45 | <tr class="throw"> |
---|
46 | <td>{'Name'|@translate}</td> |
---|
47 | <td>{'Version'|@translate}</td> |
---|
48 | </tr> |
---|
49 | </thead> |
---|
50 | {foreach from=$plugins_uptodate item=plugin name=plugins_loop} |
---|
51 | <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}"> |
---|
52 | <td><a href="{$plugin.URL}" class="externalLink cluetip" title="{$plugin.NAME}|{$plugin.EXT_DESC|htmlspecialchars|nl2br}">{$plugin.NAME}</a></td> |
---|
53 | <td style="text-align:center;"><a href="{$plugin.URL}" class="externalLink cluetip" title="{$plugin.NAME}|{$plugin.VER_DESC|htmlspecialchars|nl2br}">{$plugin.VERSION}</a></td> |
---|
54 | </tr> |
---|
55 | {/foreach} |
---|
56 | </table> |
---|
57 | {/if} |
---|
58 | |
---|
59 | |
---|
60 | {if isset($plugins_cant_check)} |
---|
61 | <br> |
---|
62 | <b>{'Plugin versions can\'t be checked'|@translate}</b> |
---|
63 | <table class="table2 plugins"> |
---|
64 | <thead> |
---|
65 | <tr class="throw"> |
---|
66 | <td>{'Name'|@translate}</td> |
---|
67 | <td>{'Version'|@translate}</td> |
---|
68 | </tr> |
---|
69 | </thead> |
---|
70 | {foreach from=$plugins_cant_check item=plugin name=plugins_loop} |
---|
71 | <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}"> |
---|
72 | <td>{$plugin.NAME}</td> |
---|
73 | <td style="text-align:center;">{$plugin.VERSION}</td> |
---|
74 | </tr> |
---|
75 | {/foreach} |
---|
76 | </table> |
---|
77 | {/if} |
---|