mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
* Fixing issue #731, if NB_PHOTOS is upper than 1000 display it * Fixs issue #731 now number of picture between 1000 and 1999 are displayed * Fixs formatting
This commit is contained in:
committed by
Pierrick Le Gall
parent
d4487be684
commit
2c07301467
@@ -206,7 +206,7 @@ if ($du_gb > 100)
|
||||
|
||||
$template->assign(
|
||||
array(
|
||||
'NB_PHOTOS' => number_format($nb_photos, 0, '.', ','),
|
||||
'NB_PHOTOS' => $nb_photos,
|
||||
'NB_ALBUMS' => $nb_categories,
|
||||
'NB_TAGS' => $nb_tags,
|
||||
'NB_IMAGE_TAG' => $nb_image_tag,
|
||||
|
||||
@@ -90,7 +90,7 @@ div.stat-box {
|
||||
{if $NB_PHOTOS > 1}
|
||||
<a class="stat-box" href="{$U_ADD_PHOTOS}">
|
||||
<i class="icon-picture"></i>
|
||||
<span class="number">{$NB_PHOTOS}</span><span class="caption">{'Photos'|translate}</span>
|
||||
<span class="number">{$NB_PHOTOS|number_format}</span><span class="caption">{'Photos'|translate}</span>
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user