aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--admin/plugins_new.php2
-rw-r--r--admin/themes/default/template/plugins_new.tpl11
2 files changed, 8 insertions, 5 deletions
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}
<h2>{'Plugins'|@translate}</h2>
</div>
+<fieldset>
+<legend></legend>
{foreach from=$plugins item=plugin name=plugins_loop}
<div class="pluginBox" id="plugin_{$plugin.ID}"}>
<table>
@@ -37,10 +39,10 @@ jQuery().ready(function(){ldelim}
{if $plugin.BIG_DESC != $plugin.SMALL_DESC}
<td id="desc_{$plugin.ID}" class="pluginDesc">
<span id="smalldesc_{$plugin.ID}">
- <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/plus.gif">{$plugin.SMALL_DESC}...
+ <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/plus.gif" alt="">{$plugin.SMALL_DESC}...
</span>
<span id="bigdesc_{$plugin.ID}" style="display:none;">
- <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/minus.gif">{$plugin.BIG_DESC|@nl2br}<br>&nbsp;
+ <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/minus.gif" alt="">{$plugin.BIG_DESC|@nl2br}<br>&nbsp;
</span>
</td>
{else}
@@ -53,12 +55,13 @@ jQuery().ready(function(){ldelim}
| <a href="{$plugin.URL_DOWNLOAD}">{'Download'|@translate}</a>
</td>
<td>
+ <em>{'Downloads'|@translate}: {$plugin.DOWNLOADS}</em>
{'Version'|@translate} {$plugin.VERSION}
| {'By %s'|@translate|@sprintf:$plugin.AUTHOR}
| <a class="externalLink" href="{$plugin.EXT_URL}">{'Visit plugin site'|@translate}</a>
- <em>{'Downloads'|@translate}: {$plugin.DOWNLOADS}</em>
</td>
</tr>
</table>
</div>
-{/foreach} \ No newline at end of file
+{/foreach}
+</fieldset> \ No newline at end of file