Hello again ;D ,
i hope im right in this board with my question. i would change the caption information under the thumnails. now i find the place in the functions.inc.php file here i can replace the title with the filename (line 5 and line 8 ). then i find the place where the ' - ' is input between the filename and the hits in line 11 " – ". but what have i put input to make a break on the same place that under the thumbnail the filename is in line 1 and the hits are in line 2.
thank you for your help.
regards
Andreas
PS: Gibt es auch irgend wo ein deutsches Supportforum. Mein englisch ist dermassen eingeschlafen, dass ich arge Probleme habe das Board hier zu lesen und ich befürchte, dass ich viele Lösungen für meine Probleme einfach nicht erkenne.
Danke und Gruss
// Set picture caption
if ($set_caption) foreach ($rowset as $key => $row){
$caption = "<span class=\"thumb_title\">";
$caption .= ($rowset[$key]['filename']||$rowset[$key]['hits']) ? $rowset[$key]['filename'] : '';
if ($CONFIG['views_in_thumbview']){
if ($rowset[$key]['filename']){$caption .= " – ";}
$caption .= sprintf($lang_get_pic_data['n_views'], $rowset[$key]['hits']);
}
$caption .= "</span>";
if ($CONFIG['caption_in_thumbview']){
$caption .= $rowset[$key]['caption'] ? "<span class=\"thumb_caption\">".bb_decode(($rowset[$key]['caption']))."</span>" : '';
}
if ($CONFIG['display_comment_count']) {
$comments_nr = count_pic_comments($row['pid']);
if ($comments_nr > 0) $caption .= "<span class=\"thumb_num_comments\">".sprintf($lang_get_pic_data['n_comments'], $comments_nr )."</span>";
}
if ($CONFIG['display_uploader']){
$caption .= '<span class="thumb_title"><a href ="profile.php?uid='.$rowset[$key]['owner_id'].'">'.$rowset[$key]['owner_name'].'</a></span>';
}
$rowset[$key]['caption_text'] = $caption;
}
return $rowset;
}
Quote from: Rheinland on February 27, 2005, 08:24:08 AM
i hope im right in this board with my question. i would change the caption information under the thumnails. now i find the place in the functions.inc.php file here i can replace the title with the filename (line 5 and line 8 ). then i find the place where the ' - ' is input between the filename and the hits in line 11 " – ". but what have i put input to make a break on the same place that under the thumbnail the filename is in line 1 and the hits are in line 2.
The html code for a new line / line break is
<br />Quote from: Rheinland on February 27, 2005, 08:24:08 AMPS: Gibt es auch irgend wo ein deutsches Supportforum.
nein, Begründung hier: http://forum.coppermine-gallery.net/index.php?topic=12296.0
Joachim
thank you again,
<br /> works fine. I try it befor with <br>. And this wouldnt work.
About the german Supportforum :\'(