Changeset 20325 for trunk/include/functions.inc.php
- Timestamp:
- Jan 22, 2013, 4:12:48 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions.inc.php
r19703 r20325 22 22 // +-----------------------------------------------------------------------+ 23 23 24 include_once( PHPWG_ROOT_PATH .'include/functions_plugins.inc.php' ); 24 25 include_once( PHPWG_ROOT_PATH .'include/functions_user.inc.php' ); 25 26 include_once( PHPWG_ROOT_PATH .'include/functions_cookie.inc.php' ); … … 29 30 include_once( PHPWG_ROOT_PATH .'include/functions_tag.inc.php' ); 30 31 include_once( PHPWG_ROOT_PATH .'include/functions_url.inc.php' ); 31 include_once( PHPWG_ROOT_PATH .'include/functions_plugins.inc.php' );32 32 include_once( PHPWG_ROOT_PATH .'include/derivative_params.inc.php'); 33 33 include_once( PHPWG_ROOT_PATH .'include/derivative_std_params.inc.php'); … … 1257 1257 } 1258 1258 $target_charset = strtolower($target_charset);*/ 1259 $source_file = ''; 1259 $source_file = ''; 1260 $selected_language = ''; 1260 1261 foreach ($languages as $language) 1261 1262 { … … 1266 1267 if (file_exists($f)) 1267 1268 { 1269 $selected_language = $language; 1268 1270 $source_file = $f; 1269 1271 break; … … 1282 1284 if ( !isset($lang) ) $lang=array(); 1283 1285 if ( !isset($lang_info) ) $lang_info=array(); 1286 1287 $parent_language = !empty($load_lang_info['parent']) ? $load_lang_info['parent'] : ( 1288 !empty($lang_info['parent']) ? $lang_info['parent'] : null ); 1289 if (!empty($parent_language)) 1290 { 1291 @include(str_replace($selected_language, $parent_language, $source_file)); 1292 } 1284 1293 1285 1294 /* Note: target charset is always utf-8
Note: See TracChangeset
for help on using the changeset viewer.