[7995] | 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'} |
---|
[2587] | 3 | jQuery().ready(function(){ldelim} |
---|
[7995] | 4 | jQuery('.cluetip').cluetip({ldelim} |
---|
| 5 | width: 300, |
---|
| 6 | splitTitle: '|' |
---|
| 7 | }); |
---|
[2587] | 8 | }); |
---|
[7995] | 9 | {/footer_script} |
---|
[2587] | 10 | |
---|
[2531] | 11 | <div class="titrePage"> |
---|
| 12 | <h2>{'Plugins'|@translate}</h2> |
---|
| 13 | </div> |
---|
| 14 | |
---|
| 15 | {if isset($plugins_not_uptodate)} |
---|
| 16 | <br> |
---|
[5021] | 17 | <b>{'Plugins which need upgrade'|@translate}</b> |
---|
[2631] | 18 | <table class="table2 plugins"> |
---|
[2531] | 19 | <thead> |
---|
| 20 | <tr class="throw"> |
---|
| 21 | <td>{'Name'|@translate}</td> |
---|
[5021] | 22 | <td>{'Current<br>version'|@translate}</td> |
---|
| 23 | <td>{'Available<br>version'|@translate}</td> |
---|
[2531] | 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}"> |
---|
[5493] | 29 | <td><a href="{$plugin.EXT_URL}" class="externalLink cluetip" title="{$plugin.EXT_NAME}|{$plugin.EXT_DESC|htmlspecialchars|nl2br}">{$plugin.EXT_NAME}</a></td> |
---|
[2531] | 30 | <td style="text-align:center;">{$plugin.VERSION}</td> |
---|
[5493] | 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> |
---|
[5039] | 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> |
---|
[5021] | 33 | / <a href="{$plugin.URL_DOWNLOAD}">{'Download file'|@translate}</a></td> |
---|
[2531] | 34 | </tr> |
---|
| 35 | {/foreach} |
---|
| 36 | </table> |
---|
| 37 | {/if} |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | {if isset($plugins_uptodate)} |
---|
| 41 | <br> |
---|
[5021] | 42 | <b>{'Plugins up to date'|@translate}</b> |
---|
[2631] | 43 | <table class="table2 plugins"> |
---|
[2531] | 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}"> |
---|
[5493] | 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> |
---|
[2531] | 54 | </tr> |
---|
| 55 | {/foreach} |
---|
| 56 | </table> |
---|
| 57 | {/if} |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | {if isset($plugins_cant_check)} |
---|
| 61 | <br> |
---|
[5021] | 62 | <b>{'Plugin versions can\'t be checked'|@translate}</b> |
---|
[2631] | 63 | <table class="table2 plugins"> |
---|
[2531] | 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} |
---|