Changeset 5516


Ignore:
Timestamp:
Apr 1, 2010, 12:57:25 AM (11 years ago)
Author:
patdenice
Message:

Feature 1557: Correction for number of downloads.

Location:
trunk/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/plugins_new.php

    r5515 r5516  
    123123      'VERSION' => $plugin['revision_name'],
    124124      'AUTHOR' => $plugin['author_name'],
    125       'DOWNLOADS' => $plugin['revision_nb_downloads'],
     125      'DOWNLOADS' => $plugin['extension_nb_downloads'],
    126126      'URL_INSTALL' => $url_auto_install,
    127127      'URL_DOWNLOAD' => $plugin['download_url'] . '&origin=piwigo_download'));
  • trunk/admin/themes/default/template/plugins_new.tpl

    r5515 r5516  
    3030</div>
    3131
     32<fieldset>
     33<legend></legend>
    3234{foreach from=$plugins item=plugin name=plugins_loop}
    3335<div class="pluginBox" id="plugin_{$plugin.ID}"}>
     
    3840      <td id="desc_{$plugin.ID}" class="pluginDesc">
    3941        <span id="smalldesc_{$plugin.ID}">
    40           <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/plus.gif">{$plugin.SMALL_DESC}...
     42          <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/plus.gif" alt="">{$plugin.SMALL_DESC}...
    4143        </span>
    4244        <span id="bigdesc_{$plugin.ID}" style="display:none;">
    43           <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/minus.gif">{$plugin.BIG_DESC|@nl2br}<br>&nbsp;
     45          <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/minus.gif" alt="">{$plugin.BIG_DESC|@nl2br}<br>&nbsp;
    4446        </span>
    4547      </td>
     
    5456      </td>
    5557      <td>
     58        <em>{'Downloads'|@translate}: {$plugin.DOWNLOADS}</em>
    5659        {'Version'|@translate} {$plugin.VERSION}
    5760        | {'By %s'|@translate|@sprintf:$plugin.AUTHOR}
    5861        | <a class="externalLink" href="{$plugin.EXT_URL}">{'Visit plugin site'|@translate}</a>
    59         <em>{'Downloads'|@translate}: {$plugin.DOWNLOADS}</em>
    6062      </td>
    6163    </tr>
     
    6365</div>
    6466{/foreach}
     67</fieldset>
Note: See TracChangeset for help on using the changeset viewer.