coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: lordprodigy on February 07, 2005, 10:26:59 PM

Title: Last updated albums caption
Post by: lordprodigy on February 07, 2005, 10:26:59 PM
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!
Title: Re: Last updated albums caption
Post by: Abbas Ali on February 08, 2005, 12:50:24 PM
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>';
Title: Re: Last updated albums caption
Post by: lordprodigy on February 08, 2005, 05:29:50 PM
beautiful. thank you very much.