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