Last updated albums caption Last updated albums caption
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Last updated albums caption

Started by lordprodigy, February 07, 2005, 10:26:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lordprodigy

The caption under each of the albums goes like this "album name - date, 2005" I would like to make the date go on a second like below the album title, to make it look cleaner. I know I have to add a break somewhere but I dont know where. Can anyone give me a clue? thanks a lot!

Abbas Ali

Edit include/functions.inc.php

Replace (Somewhere around line 830)


$caption = "<span class=\"thumb_caption\">".$row['title']." - ".localised_date($row['ctime'], $lastup_date_fmt).'</span>';


with


$caption = "<span class=\"thumb_caption\">".$row['title']."<br />".localised_date($row['ctime'], $lastup_date_fmt).'</span>';
Chief Geek at Ranium Systems

lordprodigy