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: Last updated albums caption  (Read 2458 times)

0 Members and 1 Guest are viewing this topic.

lordprodigy

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 228
    • B514 ///
Last updated albums caption
« 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!
« Last Edit: February 09, 2005, 09:56:48 am by Abbas Ali »
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Last updated albums caption
« Reply #1 on: February 08, 2005, 12:50:24 pm »

Edit include/functions.inc.php

Replace (Somewhere around line 830)

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

with

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

lordprodigy

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 228
    • B514 ///
Re: Last updated albums caption
« Reply #2 on: February 08, 2005, 05:29:50 pm »

beautiful. thank you very much.
Logged
Pages: [1]   Go Up
 

Page created in 0.012 seconds with 15 queries.