Changeset 858 for trunk/picture.php
- Timestamp:
- Sep 3, 2005, 6:36:05 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/picture.php
r850 r858 91 91 redirect($url); 92 92 } 93 94 //-------------------------------------------------------------- caddie filling 95 96 if (isset($_GET['caddie'])) 97 { 98 fill_caddie(array($_GET['image_id'])); 99 100 $url = 101 PHPWG_ROOT_PATH 102 .'picture.php' 103 .get_query_string_diff(array('caddie')); 104 redirect($url); 105 } 106 93 107 //---------------------------------------------------------- related categories 94 108 $query = ' … … 245 259 $url_slide = $picture['current']['url']; 246 260 $url_slide.= '&slideshow='.$conf['slideshow_period']; 261 247 262 //----------------------------------------------------------- rate registration 248 263 if (isset($_GET['rate']) … … 556 571 ); 557 572 } 573 574 if ('admin' == $user['status']) 575 { 576 $template->assign_block_vars( 577 'caddie', 578 array( 579 'URL' => 580 add_session_id( 581 PHPWG_ROOT_PATH.'picture.php' 582 .get_query_string_diff(array('caddie')).'&caddie=1') 583 ) 584 ); 585 } 586 558 587 //------------------------------------------------------- favorite manipulation 559 588 if ( !$user['is_the_guest'] ) … … 1035 1064 //------------------------------------------------------------ log informations 1036 1065 pwg_log( 'picture', $title_img, $picture['current']['file'] ); 1037 mysql_close();1038 1066 1039 1067 $template->parse('picture');
Note: See TracChangeset
for help on using the changeset viewer.