Changeset 588
- Timestamp:
- Oct 30, 2004, 6:51:01 PM (19 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/language/en_UK.iso-8859-1/common.lang.php
r566 r588 301 301 $lang['random_cat_hint'] = 'Displays a set of random pictures'; 302 302 $lang['picture_high'] = 'Click on the picture to see it in high definition'; 303 303 $lang['up_hint'] = 'Up to the thumbnails'; 304 $lang['up_alt'] = 'up'; 304 305 ?> -
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), -
trunk/template/default/picture.tpl
r574 r588 10 10 <div id="imgBarMenu"> 11 11 <div class="imgMenu" id="left"> 12 <a href="{U_ HOME}" title="{L_HOME}">13 <img src="template/default/theme/categories.gif" alt="{L_ HOME}" />12 <a href="{U_UP}" title="{L_UP_HINT}"> 13 <img src="template/default/theme/categories.gif" alt="{L_UP_ALT}" /> 14 14 </a> 15 15 </div>
Note: See TracChangeset
for help on using the changeset viewer.