Changeset 642 for trunk/picture.php
- Timestamp:
- Dec 12, 2004, 10:06:39 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/picture.php
r639 r642 349 349 if ( $conf['mail_notification'] ) 350 350 { 351 $cat_name = get_cat_display_name( $page['cat_name'], ' > ', '' ); 351 // locally, we change the $conf['level_separator'] 352 $conf_separator = $conf['level_separator']; 353 $conf['level_separator'] = ' > '; 354 $cat_name = get_cat_display_name($page['cat_name'], ''); 355 $conf['level_separator'] = $conf_separator; 356 352 357 $cat_name = strip_tags( $cat_name ); 353 358 notify( 'comment', $cat_name.' > '.$picture['current']['name']); … … 390 395 if (is_numeric( $page['cat'] )) 391 396 { 392 $title_img = replace_space(get_cat_display_name($page['cat_name'] ,' > '));397 $title_img = replace_space(get_cat_display_name($page['cat_name'])); 393 398 $n = $page['num'] + 1; 394 399 $title_nb = $n.'/'.$page['cat_nb_images']; … … 443 448 'WIDTH_IMG' => $picture_size[0], 444 449 'HEIGHT_IMG' => $picture_size[1], 450 451 'LEVEL_SEPARATOR' => $conf['level_separator'], 445 452 446 453 'L_HOME' => $lang['home'], … … 769 776 if (count($cat_array) > 3) 770 777 { 771 $cat_output .= get_cat_display_name_cache($category['uppercats'], 772 ' → '); 778 $cat_output .= get_cat_display_name_cache($category['uppercats']); 773 779 } 774 780 else 775 781 { 776 782 $cat_info = get_cat_info($category['category_id']); 777 $cat_output .= get_cat_display_name($cat_info['name'] , ' → ');783 $cat_output .= get_cat_display_name($cat_info['name']); 778 784 } 779 785 // the picture is commentable if it belongs at least to one category which
Note: See TracChangeset
for help on using the changeset viewer.