diff --git a/admin/plugins_new.php b/admin/plugins_new.php index 8f19104b6..c63040278 100644 --- a/admin/plugins_new.php +++ b/admin/plugins_new.php @@ -122,7 +122,7 @@ if ($plugins->get_server_plugins(true)) 'BIG_DESC' => $ext_desc, 'VERSION' => $plugin['revision_name'], 'AUTHOR' => $plugin['author_name'], - 'DOWNLOADS' => $plugin['revision_nb_downloads'], + 'DOWNLOADS' => $plugin['extension_nb_downloads'], 'URL_INSTALL' => $url_auto_install, 'URL_DOWNLOAD' => $plugin['download_url'] . '&origin=piwigo_download')); } diff --git a/admin/themes/default/template/plugins_new.tpl b/admin/themes/default/template/plugins_new.tpl index ca82a79de..810bc6b34 100644 --- a/admin/themes/default/template/plugins_new.tpl +++ b/admin/themes/default/template/plugins_new.tpl @@ -29,6 +29,8 @@ jQuery().ready(function(){ldelim}

{'Plugins'|@translate}

+
+ {foreach from=$plugins item=plugin name=plugins_loop}
@@ -37,10 +39,10 @@ jQuery().ready(function(){ldelim} {if $plugin.BIG_DESC != $plugin.SMALL_DESC} {else} @@ -53,12 +55,13 @@ jQuery().ready(function(){ldelim} | {'Download'|@translate}
- {$plugin.SMALL_DESC}... + {$plugin.SMALL_DESC}... + {'Downloads'|@translate}: {$plugin.DOWNLOADS} {'Version'|@translate} {$plugin.VERSION} | {'By %s'|@translate|@sprintf:$plugin.AUTHOR} | {'Visit plugin site'|@translate} - {'Downloads'|@translate}: {$plugin.DOWNLOADS}
-{/foreach} \ No newline at end of file +{/foreach} +
\ No newline at end of file