Changeset 1128 for trunk/picture.php
- Timestamp:
- Apr 5, 2006, 10:55:26 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/picture.php
r1119 r1128 371 371 } 372 372 373 $title_img = $picture['current']['name'];374 if ( isset( $page['category'] ) )375 {376 if (is_numeric( $page['category'] ))377 {378 $title_img = replace_space(get_cat_display_name($page['cat_name']));379 }380 else if ( $page['cat'] == 'search' )381 { // ??? TODO -remove or change some remainings from old variables382 $title_img = replace_search( $title_img, $_GET['search'] );383 }384 }385 373 $title_nb = ($page['current_rank'] + 1).'/'.$page['cat_nb_images']; 386 374 … … 443 431 $template->assign_vars( 444 432 array( 445 'CATEGORY' => $title_img, 433 'SECTION_TITLE' => $page['title'], 434 'PICTURE_TITLE' => $picture['current']['name'], 446 435 'PHOTO' => $title_nb, 447 436 'TITLE' => $picture['current']['name'], … … 780 769 } 781 770 //------------------------------------------------------------ log informations 782 pwg_log( 'picture', $title_img, $picture['current']['file']);771 pwg_log('picture', $page['title'], $picture['current']['file']); 783 772 784 773 $template->parse('picture');
Note: See TracChangeset
for help on using the changeset viewer.