Ignore:
Timestamp:
Mar 16, 2011, 7:27:11 PM (14 years ago)
Author:
patdenice
Message:

Only one request to PEM server for plugins, themes and languages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/autoupdate/trunk/template/update_ext.tpl

    r9723 r9729  
    4646<legend>{'Plugins which need upgrade'|@translate}</legend>
    4747{foreach from=$update_plugins item=plugin name=plugins_loop}
    48 <div class="pluginBox" id="plugin_{$plugin.PLUGIN_ID}" {if $plugin.IGNORED}style="display:none;"{/if}>
     48<div class="pluginBox" id="plugin_{$plugin.EXT_ID}" {if $plugin.IGNORED}style="display:none;"{/if}>
    4949  <table>
    5050    <tr>
     
    5353      </td>
    5454      <td>
    55         <a href="#" onClick="upgradeExtension('plugin', '{$plugin.PLUGIN_ID}', {$plugin.REVISION_ID});" class="updateExtension">{'Install'|@translate}</a>
     55        <a href="#" onClick="upgradeExtension('plugin', '{$plugin.EXT_ID}', {$plugin.REVISION_ID});" class="updateExtension">{'Install'|@translate}</a>
    5656        | <a href="{$plugin.URL_DOWNLOAD}">{'Download'|@translate}</a>
    57         | <a href="#" onClick="ignoreExtension('plugin', '{$plugin.PLUGIN_ID}');">{'autoupdate_ignore'|@translate}</a>
     57        | <a href="#" onClick="ignoreExtension('plugin', '{$plugin.EXT_ID}');">{'autoupdate_ignore'|@translate}</a>
    5858      </td>
    5959    </tr>
     
    8888<legend>{'Themes which need upgrade'|@translate}</legend>
    8989{foreach from=$update_themes item=theme name=themes_loop}
    90 <div class="pluginBox" id="theme_{$theme.THEME_ID}" {if $theme.IGNORED}style="display:none;"{/if}>
     90<div class="pluginBox" id="theme_{$theme.EXT_ID}" {if $theme.IGNORED}style="display:none;"{/if}>
    9191  <table>
    9292    <tr>
     
    9595      </td>
    9696      <td>
    97         <a href="#" onClick="upgradeExtension('theme', '{$theme.THEME_ID}', {$theme.REVISION_ID});" class="updateExtension">{'Install'|@translate}</a>
     97        <a href="#" onClick="upgradeExtension('theme', '{$theme.EXT_ID}', {$theme.REVISION_ID});" class="updateExtension">{'Install'|@translate}</a>
    9898        | <a href="{$theme.URL_DOWNLOAD}">{'Download'|@translate}</a>
    99         | <a href="#" onClick="ignoreExtension('theme', '{$theme.THEME_ID}');">{'autoupdate_ignore'|@translate}</a>
     99        | <a href="#" onClick="ignoreExtension('theme', '{$theme.EXT_ID}');">{'autoupdate_ignore'|@translate}</a>
    100100      </td>
    101101    </tr>
     
    130130<legend>{'Languages which need upgrade'|@translate}</legend>
    131131{foreach from=$update_languages item=language name=languages_loop}
    132 <div class="pluginBox" id="language_{$language.LANGUAGE_ID}" {if $language.IGNORED}style="display:none;"{/if}>
     132<div class="pluginBox" id="language_{$language.EXT_ID}" {if $language.IGNORED}style="display:none;"{/if}>
    133133  <table>
    134134    <tr>
     
    137137      </td>
    138138      <td>
    139         <a href="#" onClick="upgradeExtension('language', '{$language.LANGUAGE_ID}', {$language.REVISION_ID});" class="updateExtension">{'Install'|@translate}</a>
     139        <a href="#" onClick="upgradeExtension('language', '{$language.EXT_ID}', {$language.REVISION_ID});" class="updateExtension">{'Install'|@translate}</a>
    140140        | <a href="{$language.URL_DOWNLOAD}">{'Download'|@translate}</a>
    141         | <a href="#" onClick="ignoreExtension('language', '{$language.LANGUAGE_ID}');">{'autoupdate_ignore'|@translate}</a>
     141        | <a href="#" onClick="ignoreExtension('language', '{$language.EXT_ID}');">{'autoupdate_ignore'|@translate}</a>
    142142      </td>
    143143    </tr>
Note: See TracChangeset for help on using the changeset viewer.