coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: The Reverend Doctor on June 11, 2007, 07:42:21 PM

Title: Remove Upload Date in Latest Additions
Post by: The Reverend Doctor on June 11, 2007, 07:42:21 PM
Is it possible to remove the "upload date" that appears at the bottom of a thumbnail under the Latest Additions section?  I can't seem to figure it out.  Any help is appreciated.

Thanks,
RD
Title: Re: Remove Upload Date in Latest Additions
Post by: Nibbler on June 11, 2007, 08:43:32 PM
You'll need to edit core code or make a plugin. To edit the code, open include/functions.inc.php,

look for

case 'lastup': // Last uploads

then about 20 lines down, change

if ($set_caption) build_caption($rowset,array('ctime'));

to

if ($set_caption) build_caption($rowset);
Title: Re: Remove Upload Date in Latest Additions
Post by: The Reverend Doctor on June 12, 2007, 06:27:10 PM
That worked!  Thanks so much!