1 | {known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"} |
---|
2 | {known_script id="jquery.dimensions" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.dimensions.packed.js"} |
---|
3 | {known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.cluetip.packed.js"} |
---|
4 | |
---|
5 | <script type="text/javascript"> |
---|
6 | jQuery().ready(function(){ldelim} |
---|
7 | jQuery('.cluetip').cluetip({ldelim} |
---|
8 | width: 300, |
---|
9 | splitTitle: '|' |
---|
10 | }); |
---|
11 | }); |
---|
12 | </script> |
---|
13 | |
---|
14 | <div class="titrePage"> |
---|
15 | <h2>{'Plugins'|@translate}</h2> |
---|
16 | </div> |
---|
17 | |
---|
18 | {if isset($plugins_not_uptodate)} |
---|
19 | <br> |
---|
20 | <b>{'plugins_need_update'|@translate}</b> |
---|
21 | <table class="table2"> |
---|
22 | <thead> |
---|
23 | <tr class="throw"> |
---|
24 | <td>{'Name'|@translate}</td> |
---|
25 | <td>{'plugins_actual_version'|@translate}</td> |
---|
26 | <td>{'plugins_new_version'|@translate}</td> |
---|
27 | <td>{'Actions'|@translate}</td> |
---|
28 | </tr> |
---|
29 | </thead> |
---|
30 | {foreach from=$plugins_not_uptodate item=plugin name=plugins_loop} |
---|
31 | <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}"> |
---|
32 | <td><a href="{$plugin.EXT_URL}" onclick="window.open(this.href); return false;" class="cluetip" title="{$plugin.EXT_NAME}|{$plugin.EXT_DESC}">{$plugin.EXT_NAME}</a></td> |
---|
33 | <td style="text-align:center;">{$plugin.VERSION}</td> |
---|
34 | <td style="text-align:center;"><a href="{$plugin.VERSION_URL}" onclick="window.open(this.href); return false;" class="cluetip" title="{$plugin.EXT_NAME}|{$plugin.NEW_VER_DESC}">{$plugin.NEW_VERSION}</a></td> |
---|
35 | <td style="text-align:center;"><a href="{$plugin.URL_UPDATE}" onclick="return confirm('{'plugins_confirm_upgrade'|@translate|@escape:javascript}');">{'plugins_auto_update'|@translate}</a> |
---|
36 | / <a href="{$plugin.URL_DOWNLOAD}">{'plugins_download'|@translate}</a></td> |
---|
37 | </tr> |
---|
38 | {/foreach} |
---|
39 | </table> |
---|
40 | {/if} |
---|
41 | |
---|
42 | |
---|
43 | {if isset($plugins_uptodate)} |
---|
44 | <br> |
---|
45 | <b>{'plugins_dontneed_update'|@translate}</b> |
---|
46 | <table class="table2"> |
---|
47 | <thead> |
---|
48 | <tr class="throw"> |
---|
49 | <td>{'Name'|@translate}</td> |
---|
50 | <td>{'Version'|@translate}</td> |
---|
51 | </tr> |
---|
52 | </thead> |
---|
53 | {foreach from=$plugins_uptodate item=plugin name=plugins_loop} |
---|
54 | <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}"> |
---|
55 | <td><a href="{$plugin.URL}" onclick="window.open(this.href); return false;" class="cluetip" title="{$plugin.NAME}|{$plugin.EXT_DESC}">{$plugin.NAME}</a></td> |
---|
56 | <td style="text-align:center;">{$plugin.VERSION}</td> |
---|
57 | </tr> |
---|
58 | {/foreach} |
---|
59 | </table> |
---|
60 | {/if} |
---|
61 | |
---|
62 | |
---|
63 | {if isset($plugins_cant_check)} |
---|
64 | <br> |
---|
65 | <b>{'plugins_cant_check'|@translate}</b> |
---|
66 | <table class="table2"> |
---|
67 | <thead> |
---|
68 | <tr class="throw"> |
---|
69 | <td>{'Name'|@translate}</td> |
---|
70 | <td>{'Version'|@translate}</td> |
---|
71 | </tr> |
---|
72 | </thead> |
---|
73 | {foreach from=$plugins_cant_check item=plugin name=plugins_loop} |
---|
74 | <tr class="{if $smarty.foreach.plugins_loop.index is odd}row1{else}row2{/if}"> |
---|
75 | <td>{$plugin.NAME}</td> |
---|
76 | <td style="text-align:center;">{$plugin.VERSION}</td> |
---|
77 | </tr> |
---|
78 | {/foreach} |
---|
79 | </table> |
---|
80 | {/if} |
---|