forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: blazer380 on August 11, 2004, 07:31:36 pm
-
How can I change so that the # of Views is listed under the Title? Right now it looks like this:
Benny Benassi - Satisfaction
(Original Mix) - 14 views
How can I change it to make sure there is a <BR > after Title so it looks like:
Benny Benassi - Satisfaction
(Original Mix)
14 views
-
edit include/functions.inc.php, find
if ($CONFIG['views_in_thumbview']){
if ($rowset[$key]['title']){$caption .= " – ";}
$caption .= sprintf($lang_get_pic_data['n_views'], $rowset[$key]['hits']);
}
$caption .= "</span>";
and add a <br /> tag, so it looks like this: if ($CONFIG['views_in_thumbview']){
if ($rowset[$key]['title']){$caption .= "<br />";}
$caption .= sprintf($lang_get_pic_data['n_views'], $rowset[$key]['hits']);
}
$caption .= "</span>";
HTH
GauGau
-
thank you very much, works great!!!
-
Thanks.