[2647] | 1 | {* $Id: plugins_update.tpl 3723 2009-08-07 04:53:38Z rvelices $ *} |
---|
[2587] | 2 | {known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.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} |
---|
[2591] | 8 | width: 300, |
---|
[2587] | 9 | splitTitle: '|' |
---|
| 10 | }); |
---|
| 11 | }); |
---|
| 12 | </script> |
---|
| 13 | |
---|
[2531] | 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> |
---|
[2631] | 21 | <table class="table2 plugins"> |
---|
[2531] | 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}"> |
---|
[2647] | 32 | <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> |
---|
[2531] | 33 | <td style="text-align:center;">{$plugin.VERSION}</td> |
---|
[3144] | 34 | <td style="text-align:center;"><a href="{$plugin.EXT_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> |
---|
[2531] | 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> |
---|
[2631] | 46 | <table class="table2 plugins"> |
---|
[2531] | 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}"> |
---|
[2647] | 55 | <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> |
---|
[3144] | 56 | <td style="text-align:center;"><a href="{$plugin.URL}" onclick="window.open(this.href); return false;" class="cluetip" title="{$plugin.NAME}|{$plugin.VER_DESC|htmlspecialchars|nl2br}">{$plugin.VERSION}</a></td> |
---|
[2531] | 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> |
---|
[2631] | 66 | <table class="table2 plugins"> |
---|
[2531] | 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} |
---|