- Timestamp:
- Mar 3, 2009, 2:39:48 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/section_init.inc.php
r3108 r3167 109 109 else 110 110 { 111 $page['image_id'] = 0; // more work in picture.php 111 112 if ( !empty($matches[2]) ) 112 113 { … … 563 564 } 564 565 565 if (script_basename() == 'picture'566 and !isset($page['image_id']) )567 {568 $page['image_id'] = 0; // more work in picture.php569 }570 571 566 // add meta robots noindex, nofollow to avoid unnecesary robot crawls 572 567 $page['meta_robots']=array(); -
trunk/picture.php
r3122 r3167 501 501 } 502 502 503 $url_admin =504 get_root_url().'admin.php?page=picture_modify'505 .'&cat_id='.(isset($page['category']) ? $page['category']['id'] : '')506 .'&image_id='.$page['image_id']507 ;508 509 503 $slideshow_params = array(); 510 504 $slideshow_url_params = array(); … … 714 708 } 715 709 710 $url_admin = 711 get_root_url().'admin.php?page=picture_modify' 712 .'&cat_id='.(isset($page['category']) ? $page['category']['id'] : '') 713 .'&image_id='.$page['image_id']; 714 716 715 $template->assign( 717 716 array( … … 722 721 ) 723 722 ); 723 724 $template->assign('available_permission_levels', $conf['available_permission_levels']); 724 725 } 725 726 … … 930 931 $template->assign( 'ELEMENT_CONTENT', $element_content ); 931 932 932 if (is_admin()) 933 { 934 $template->assign('available_permission_levels', $conf['available_permission_levels']); 935 } 933 936 934 // +-----------------------------------------------------------------------+ 937 935 // | sub pages |
Note: See TracChangeset
for help on using the changeset viewer.