Changeset 588 for trunk/picture.php
- Timestamp:
- Oct 30, 2004, 6:51:01 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/picture.php
r587 r588 169 169 // if we are working on the "current" element, we search if there is a 170 170 // high quality picture 171 // FIXME : with remote pictures, this "remote fopen" takes long... 171 172 if ($i == 'current') 172 173 { … … 203 204 } 204 205 205 $url_ home= PHPWG_ROOT_PATH.'category.php?cat='.$page['cat'].'&';206 $url_ home.= 'num='.$page['num'];206 $url_up = PHPWG_ROOT_PATH.'category.php?cat='.$page['cat'].'&'; 207 $url_up.= 'num='.$page['num']; 207 208 if ( $page['cat'] == 'search' ) 208 209 { 209 $url_ home.= "&search=".$_GET['search'];210 $url_up.= "&search=".$_GET['search']; 210 211 } 211 212 … … 274 275 // there is no favorite picture anymore we redirect the user to the 275 276 // category page 276 $url = add_session_id( $url_home);277 redirect( $url);277 $url = add_session_id($url_up); 278 redirect($url); 278 279 } 279 280 else if (!$has_prev) … … 462 463 'L_PICTURE_METADATA' => $lang['picture_show_metadata'], 463 464 'L_PICTURE_HIGH' => $lang['picture_high'], 464 465 'U_HOME' => add_session_id($url_home), 465 'L_UP_HINT' => $lang['up_hint'], 466 'L_UP_ALT' => $lang['up_alt'], 467 468 'U_HOME' => add_session_id(PHPWG_ROOT_PATH.'category.php'), 469 'U_UP' => add_session_id($url_up), 466 470 'U_METADATA' => add_session_id($url_metadata), 467 471 'U_ADMIN' => add_session_id($url_admin),
Note: See TracChangeset
for help on using the changeset viewer.