Changeset 2201 for trunk/include
- Timestamp:
- Jan 30, 2008, 11:07:07 PM (17 years ago)
- Location:
- trunk/include
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/category_cats.inc.php
r2175 r2201 239 239 'SRC' => $thumbnail_src_of[$category['representative_picture_id']], 240 240 'ALT' => $category['name'], 241 'TITLE' => $lang['hint_category'],241 'TITLE' => l10n('hint_category'), 242 242 'ICON' => $icon_ts, 243 243 -
trunk/include/common.inc.php
r2127 r2201 185 185 if (is_a_guest()) 186 186 { 187 $user['username'] = $lang['guest'];187 $user['username'] = l10n('guest'); 188 188 } 189 189 … … 214 214 if ($conf['gallery_locked']) 215 215 { 216 $header_msgs[] = $lang['gallery_locked_message'];216 $header_msgs[] = l10n('gallery_locked_message'); 217 217 218 218 if ( script_basename() != 'identification' and !is_admin() ) … … 220 220 set_status_header(503, 'Service Unavailable'); 221 221 @header('Retry-After: 900'); 222 echo $lang['gallery_locked_message']222 echo l10n('gallery_locked_message') 223 223 .'<a href="'.get_absolute_root_url(false).'identification.php">.</a>'; 224 224 exit(); … … 251 251 if (is_adviser()) 252 252 { 253 $header_msgs[] = $lang['adviser_mode_enabled'];253 $header_msgs[] = l10n('adviser_mode_enabled'); 254 254 } 255 255 -
trunk/include/functions_html.inc.php
r2182 r2201 55 55 { 56 56 $icons = array(false => 'recent', true => 'recent_by_child' ); 57 $title = $lang['recent_image'].' '.$user['recent_period']58 .' '. $lang['days'];57 $title = l10n('recent_image').' '.$user['recent_period'] 58 .' '.l10n('days'); 59 59 foreach ($icons as $key => $icon) 60 60 { … … 107 107 $navbar.= 108 108 '<a href="'.$url.'" rel="start">' 109 . $lang['first_page']109 .l10n('first_page') 110 110 .'</a>'; 111 111 } 112 112 else 113 113 { 114 $navbar.= $lang['first_page'];114 $navbar.= l10n('first_page'); 115 115 } 116 116 $navbar.= ' | '; … … 124 124 .$url.($previous > 0 ? $start_str.$previous : '') 125 125 .'" rel="prev">' 126 . $lang['previous_page']126 .l10n('previous_page') 127 127 .'</a>'; 128 128 } 129 129 else 130 130 { 131 $navbar.= $lang['previous_page'];131 $navbar.= l10n('previous_page'); 132 132 } 133 133 $navbar.= ' |'; … … 195 195 $navbar.= 196 196 '<a href="'.$url.$start_str.$next.'" rel="next">' 197 . $lang['next_page']197 .l10n('next_page') 198 198 .'</a>'; 199 199 } 200 200 else 201 201 { 202 $navbar.= $lang['next_page'];202 $navbar.= l10n('next_page'); 203 203 } 204 204 … … 211 211 $navbar.= 212 212 '<a href="'.$url.$start_str.$temp_start.'" rel="last">' 213 . $lang['last_page']213 .l10n('last_page') 214 214 .'</a>'; 215 215 } 216 216 else 217 217 { 218 $navbar.= $lang['last_page'];218 $navbar.= l10n('last_page'); 219 219 } 220 220 } … … 567 567 if ( isset($user) and !is_a_guest() ) 568 568 { 569 echo '<div style="text-align:center;">'. $lang['access_forbiden'].'<br />';570 echo '<a href="'.get_root_url().'identification.php">'. $lang['identification'].'</a> ';571 echo '<a href="'.make_index_url().'">'. $lang['home'].'</a></div>';569 echo '<div style="text-align:center;">'.l10n('access_forbiden').'<br />'; 570 echo '<a href="'.get_root_url().'identification.php">'.l10n('identification').'</a> '; 571 echo '<a href="'.make_index_url().'">'.l10n('home').'</a></div>'; 572 572 exit(); 573 573 } -
trunk/include/menubar.inc.php
r2110 r2201 172 172 array( 173 173 'URL' => make_index_url(array('section' => 'favorites')), 174 'TITLE' => $lang['favorite_cat_hint'],175 'NAME' => $lang['favorite_cat']174 'TITLE' => l10n('favorite_cat_hint'), 175 'NAME' => l10n('favorite_cat') 176 176 )); 177 177 } … … 181 181 array( 182 182 'URL' => make_index_url(array('section' => 'most_visited')), 183 'TITLE' => $lang['most_visited_cat_hint'],184 'NAME' => $lang['most_visited_cat']183 'TITLE' => l10n('most_visited_cat_hint'), 184 'NAME' => l10n('most_visited_cat') 185 185 )); 186 186 // best rated … … 191 191 array( 192 192 'URL' => make_index_url(array('section' => 'best_rated')), 193 'TITLE' => $lang['best_rated_cat_hint'],194 'NAME' => $lang['best_rated_cat']193 'TITLE' => l10n('best_rated_cat_hint'), 194 'NAME' => l10n('best_rated_cat') 195 195 ) 196 196 ); … … 201 201 array( 202 202 'URL' => get_root_url().'random.php', 203 'TITLE' => $lang['random_cat_hint'],204 'NAME' => $lang['random_cat'],203 'TITLE' => l10n('random_cat_hint'), 204 'NAME' => l10n('random_cat'), 205 205 'REL'=> 'rel="nofollow"' 206 206 )); … … 211 211 array( 212 212 'URL' => make_index_url(array('section' => 'recent_pics')), 213 'TITLE' => $lang['recent_pics_cat_hint'],214 'NAME' => $lang['recent_pics_cat'],213 'TITLE' => l10n('recent_pics_cat_hint'), 214 'NAME' => l10n('recent_pics_cat'), 215 215 )); 216 216 // recent cats … … 219 219 array( 220 220 'URL' => make_index_url(array('section' => 'recent_cats')), 221 'TITLE' => $lang['recent_cats_cat_hint'],222 'NAME' => $lang['recent_cats_cat'],221 'TITLE' => l10n('recent_cats_cat_hint'), 222 'NAME' => l10n('recent_cats_cat'), 223 223 )); 224 224 … … 236 236 ) 237 237 ), 238 'TITLE' => $lang['calendar_hint'],239 'NAME' => $lang['calendar'],238 'TITLE' => l10n('calendar_hint'), 239 'NAME' => l10n('calendar'), 240 240 'REL'=> 'rel="nofollow"' 241 241 ) … … 294 294 'summary', 295 295 array( 296 'TITLE'=> $lang['hint_search'],297 'NAME'=> $lang['search'],296 'TITLE'=>l10n('hint_search'), 297 'NAME'=>l10n('search'), 298 298 'U_SUMMARY'=> get_root_url().'search.php', 299 299 'REL'=> 'rel="search"' … … 306 306 'summary', 307 307 array( 308 'TITLE'=> $lang['hint_comments'],309 'NAME'=> $lang['comments'],308 'TITLE'=>l10n('hint_comments'), 309 'NAME'=>l10n('comments'), 310 310 'U_SUMMARY'=> get_root_url().'comments.php', 311 311 ) … … 316 316 'summary', 317 317 array( 318 'TITLE' => $lang['about_page_title'],319 'NAME' => $lang['About'],318 'TITLE' => l10n('about_page_title'), 319 'NAME' => l10n('About'), 320 320 'U_SUMMARY' => get_root_url().'about.php', 321 321 ) -
trunk/include/page_tail.php
r2029 r2201 33 33 'PHPWG_URL' => PHPWG_URL, 34 34 35 'L_TITLE_MAIL' => urlencode( $lang['title_send_mail']),35 'L_TITLE_MAIL' => urlencode(l10n('title_send_mail')), 36 36 )); 37 37 -
trunk/include/picture_rate.inc.php
r1900 r2201 43 43 if ($row['count'] == 0) 44 44 { 45 $value = $lang['no_rate'];45 $value = l10n('no_rate'); 46 46 } 47 47 else -
trunk/include/section_init.inc.php
r2175 r2201 217 217 else 218 218 { 219 $page['title'] = $lang['no_category'];219 $page['title'] = l10n('no_category'); 220 220 } 221 221 … … 341 341 array( 342 342 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">' 343 . $lang['search_result'].'</a>',343 .l10n('search_result').'</a>', 344 344 ) 345 345 ); … … 371 371 $page, 372 372 array( 373 'title' => $lang['favorites'],373 'title' => l10n('favorites'), 374 374 'items' => array_from_query($query, 'image_id'), 375 375 ) … … 396 396 array( 397 397 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">' 398 . $lang['recent_pics_cat'].'</a>',398 .l10n('recent_pics_cat').'</a>', 399 399 'items' => array_from_query($query, 'id'), 400 400 ) … … 409 409 $page, 410 410 array( 411 'title' => $lang['recent_cats_cat'],411 'title' => l10n('recent_cats_cat'), 412 412 ) 413 413 ); … … 434 434 array( 435 435 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">' 436 .$conf['top_number'].' '. $lang['most_visited_cat'].'</a>',436 .$conf['top_number'].' '.l10n('most_visited_cat').'</a>', 437 437 'items' => array_from_query($query, 'id'), 438 438 ) … … 460 460 array( 461 461 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">' 462 .$conf['top_number'].' '. $lang['best_rated_cat'].'</a>',462 .$conf['top_number'].' '.l10n('best_rated_cat').'</a>', 463 463 'items' => array_from_query($query, 'id'), 464 464 ) … … 483 483 array( 484 484 'title' => '<a href="'.duplicate_index_url(array('start'=>0)).'">' 485 . $lang['random_cat'].'</a>',485 .l10n('random_cat').'</a>', 486 486 'items' => array_from_query($query, 'id'), 487 487 )
Note: See TracChangeset
for help on using the changeset viewer.