Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: thumbnails.php - Long picture title + views shred (crawl) over two lines  (Read 3107 times)

0 Members and 1 Guest are viewing this topic.

Makc666

  • Translator
  • Coppermine addict
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 1614
  • Русский (ISO-8859-1) - Russian - Ðóññêèé (Windows)
    • Makc's home page

thumbnails.php - Long picture title + views shred (crawl) over two lines

If you go to any page like:
http://**********/thumbnails.php?album=10&lang=english

And look at any thumb which have a long title you will see that quantity of views can shred (crawl) over two lines.
You can see it on the attached picture.

I think you have to fix it this way.
The result you can see on the attached picture.

Open file:
/include/functions.inc.php

Find code:
Code: [Select]
           if ($CONFIG['views_in_thumbview']){
               if ($rowset[$key]['title']){$caption .= " – ";}
             
Replace with:
Code: [Select]
           if ($CONFIG['views_in_thumbview']){
               if ($rowset[$key]['title']){$caption .= "<br>";}

[attachment deleted by admin]
Logged

Makc666

  • Translator
  • Coppermine addict
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 1614
  • Русский (ISO-8859-1) - Russian - Ðóññêèé (Windows)
    • Makc's home page

Oh. It was my error. I forgot to upload include directory thats why I think it was fixed.
So this "bug" is still in 1.3.1
Hope authors will noticed my post.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de

consider this a bug if you want, I'd rather consider it a cosmetical issue, or even just a "matter of taste". I won't start a new line for every lousy bit of information, I can live well with the text going over two lines if necessary and over one line if not necessary, but of course you're free to change it.

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.