Changeset 9491 for trunk/admin/themes/default/template
- Timestamp:
- Mar 3, 2011, 11:13:17 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/themes/default/template/plugins_update.tpl
r7995 r9491 1 {combine_script id='jquery.ui' load='async' require='jquery' path='themes/default/js/jquery.ui.min.js' } 1 2 {combine_script id='jquery.cluetip' load='async' require='jquery' path='themes/default/js/plugins/jquery.cluetip.packed.js'} 2 3 {footer_script require='jquery.cluetip'} … … 13 14 </div> 14 15 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> 16 {if not empty($plugins)} 17 <div id="availablePlugins"> 18 <fieldset> 19 <legend>{'Plugins which need upgrade'|@translate}</legend> 20 {foreach from=$plugins item=plugin name=plugins_loop} 21 <div class="pluginBox" id="plugin_{$plugin.ID}"> 22 <table> 23 <tr> 24 <td class="pluginBoxNameCell"> 25 <a href="{$plugin.EXT_URL}" class="externalLink cluetip" title="{$plugin.EXT_NAME}|{$plugin.EXT_DESC|htmlspecialchars|nl2br}">{$plugin.EXT_NAME}</a> 26 </td> 27 <td> 28 <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> 29 | <a href="{$plugin.URL_DOWNLOAD}">{'Download file'|@translate}</a> 30 </td> 31 </tr> 32 <tr> 33 <td> 34 <a href="{$plugin.EXT_URL}" class="externalLink cluetip" title="{'Version'|@translate} {$plugin.VERSION}|{$plugin.REV_DESC|htmlspecialchars|nl2br}"> {'Version'|@translate} {$plugin.VERSION}</a> 35 </td> 36 <td> 37 <em>{'Downloads'|@translate}: {$plugin.DOWNLOADS}</em> 38 {'By %s'|@translate|@sprintf:$plugin.AUTHOR} 39 </td> 40 </tr> 41 </table> 42 </div> 35 43 {/foreach} 36 </table> 44 </fieldset> 45 </div> 46 {elseif not isset($SERVER_ERROR)} 47 <p>{'All plugins are up to date.'|@translate}</p> 37 48 {/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}
Note: See TracChangeset
for help on using the changeset viewer.