forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: mamu on February 18, 2007, 05:46:12 am

Title: 'lasthits' customization
Post by: mamu on February 18, 2007, 05:46:12 am
Hi there,

I've added the 'lasthits' to my content display and was wondering how I could customize it so that the time/user IP of the last view is not shown?  Is there a setting I can change for that?

Thanks!
Title: Re: 'lasthits' customization
Post by: Nibbler on February 18, 2007, 12:27:25 pm
Edit include/functions.inc.php,

find the 'lasthits' case and change

Code: [Select]
if ($set_caption) build_caption($rowset,array('mtime','hits'));
to

Code: [Select]
if ($set_caption) build_caption($rowset,array('hits'));
or whatever caption you want.