Issue 0000614: Display hits under thumbnails like comments counter

git-svn-id: http://piwigo.org/svn/trunk@1763 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
vdigital 2007-01-28 20:56:10 +00:00
commit 7ee3f5579a
15 changed files with 81 additions and 6 deletions

View file

@ -299,6 +299,8 @@ $lang['%d comment to validate'] = '%d comment to validate';
$lang['%d comments to validate'] = '%d comments to validate';
$lang['%d new comment'] = '%d new comment';
$lang['%d new comments'] = '%d new comments';
$lang['%d hit'] = '%d hit';
$lang['%d hits'] = '%d hits';
$lang['%d new element'] = '%d new element';
$lang['%d new elements'] = '%d new elements';
$lang['%d new user'] = '%d new user';
@ -570,6 +572,7 @@ $lang['searched words : %s'] = 'searched words : %s';
$lang['send_mail'] = 'Contact';
$lang['set as category representative'] = 'set as category representative';
$lang['show_nb_comments'] = 'Show number of comments';
$lang['show_nb_hits'] = 'Show hits count';
$lang['slideshow'] = 'slideshow';
$lang['slideshow_stop'] = 'stop the slideshow';
$lang['special_categories'] = 'Specials';

View file

@ -93,6 +93,12 @@ users.</p>
<li><strong>Show number of comments</strong>: show the number of comments
for each picture on the thumbnails page. Resource consuming.</li>
<li><strong>Show hits count</strong>: display hits observed on picture
just under its thumbnail on the thumbnails page.
Only when advanced configuration parameter is: <br />
$conf['show_nb_hits'] = true; <br />
Notice: it is false by default.</li>
<li><strong>Maximum width of the pictures</strong>: maximum displayed
width. If pictures are larger than this setting, they will be resized on
display. If you consider filling this option, you'd better consider

View file

@ -299,6 +299,8 @@ $lang['%d comment to validate'] = '%d commentaire utilisateur
$lang['%d comments to validate'] = '%d commentaires utilisateur à valider';
$lang['%d new comment'] = '%d nouveau commentaire utilisateur';
$lang['%d new comments'] = '%d nouveaux commentaires utilisateur';
$lang['%d hit'] = 'vue %d fois';
$lang['%d hits'] = 'vue %d fois';
$lang['%d new element'] = '%d nouvel élément';
$lang['%d new elements'] = '%d nouveaux éléments';
$lang['%d new user'] = '%d nouvel utilisateur';
@ -571,6 +573,7 @@ $lang['searched words : %s'] = 'mots recherch
$lang['send_mail'] = 'Contacter';
$lang['set as category representative'] = 'élire comme représentant de cette catégorie';
$lang['show_nb_comments'] = 'Montrer le nombre de commentaires';
$lang['show_nb_hits'] = 'Montrer le nombre de visualisations';
$lang['slideshow'] = 'diaporama';
$lang['slideshow_stop'] = 'arrêter le diaporama';
$lang['special_categories'] = 'Spéciales';

View file

@ -98,6 +98,12 @@ cat
de commentaires utilisateur en dessous de chaque miniature. Consomme des
ressources.</li>
<li><strong>Montrer le nombre de visualisations </strong>: affiche les
« hits » relevés sur une image sous sa miniature dans la page de miniatures.
Uniquement valable si le paramètre de configuration avancée est :<br />
$conf['show_nb_hits'] = true; <br />
N.B.: par defaut il est à false.</li>
<li><strong>Largeur maximum des images</strong>: à l'affichage. Si l'image
est plus large que ce paramètre, alors elle sera redimensionnée à
l'affichage. Si vous pensez nécessaire de modifier ce paramétrage (donc pour