| [ Index ] |
PHP Cross Reference of Nuke-Evolution v2.0.5 |
[Summary view] [Print] [Text view]
1 <?php 2 /*======================================================================= 3 Nuke-Evolution Basic: Enhanced PHP-Nuke Web Portal System 4 =======================================================================*/ 5 6 /*************************************************************************** 7 * lang_extend_mac.php 8 * ------------------- 9 * begin : 16/10/2003 10 * copyright : Ptirhiik 11 * email : ptirhiik@clanmckeen.com 12 * 13 * version : v 1.0.0 - 16/10/2003 14 * 15 ***************************************************************************/ 16 17 /*************************************************************************** 18 * 19 * This program is free software; you can redistribute it and/or modify 20 * it under the terms of the GNU General Public License as published by 21 * the Free Software Foundation; either version 2 of the License, or 22 * (at your option) any later version. 23 * 24 * 25 ***************************************************************************/ 26 27 /*****[CHANGES]********************************************************** 28 -=[Mod]=- 29 Simply Merge Threads v1.0.1 06/12/2005 30 Ranks summarize v1.0.4 06/24/2005 31 ************************************************************************/ 32 33 if (!defined('IN_PHPBB')) 34 { 35 die('Hacking attempt'); 36 } 37 38 /*****[BEGIN]****************************************** 39 [ Mod: Simply Merge Threads v1.0.1 ] 40 [ Mod: Ranks summarize v1.0.4 ] 41 ******************************************************/ 42 if ( !defined('LANG_EXTEND_DONE') ) 43 { 44 // check for admin part 45 $lang_extend_admin = defined('IN_ADMIN'); 46 47 // get the english settings 48 if ( $board_config['default_lang'] != 'english' ) 49 { 50 $dir = @opendir($phpbb_root_path . 'language/lang_english'); 51 while( $file = @readdir($dir) ) 52 { 53 if( preg_match("/^lang_extend_.*?\." . $phpEx . "$/", $file) ) 54 { 55 @include_once($phpbb_root_path . 'language/lang_english/' . $file); 56 } 57 } 58 // include the personalisations 59 @include_once($phpbb_root_path . 'language/lang_english/lang_extend.' . $phpEx); 60 @closedir($dir); 61 } 62 63 // get the user settings 64 if ( !empty($board_config['default_lang']) ) 65 { 66 $dir = @opendir($phpbb_root_path . 'language/lang_' . $board_config['default_lang']); 67 while( $file = @readdir($dir) ) 68 { 69 if( preg_match("/^lang_extend_.*?\." . $phpEx . "$/", $file) ) 70 { 71 @include_once($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/' . $file); 72 } 73 } 74 // include the personalisations 75 if(file_exists($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_extend.' . $phpEx)) { 76 @include_once($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_extend.' . $phpEx); 77 } 78 @closedir($dir); 79 } 80 define('LANG_EXTEND_DONE', true); 81 } 82 /*****[END]******************************************** 83 [ Mod: Ranks summarize v1.0.4 ] 84 [ Mod: Simply Merge Threads v1.0.1 ] 85 ******************************************************/ 86 87 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Jun 6 11:38:01 2007 | Cross-referenced by PHPXref 0.7 |