| 411 |
} |
} |
| 412 |
} |
} |
| 413 |
|
|
| 414 |
/** |
function loadLanguage(){ |
|
* Enter description here... |
|
|
* |
|
|
*/ |
|
|
function fixLanguage () { |
|
|
require_once($this->mosConfig_absolute_path.'/includes/phpgettext/phpgettext.class.php'); |
|
|
require_once($this->mosConfig_absolute_path.'/includes/phpgettext/error.php'); |
|
|
require_once($this->mosConfig_absolute_path.'/includes/mambofunc.php'); |
|
|
require_once($this->mosConfig_absolute_path.'/includes/mambolanguage.class.php'); |
|
| 415 |
if (!mosGetParam($_REQUEST, 'lang')); |
if (!mosGetParam($_REQUEST, 'lang')); |
| 416 |
else $this->mosConfig_locale = mosGetParam($_REQUEST, 'lang', $this->mosConfig_locale); |
else $this->mosConfig_locale = mosGetParam($_REQUEST, 'lang', $this->mosConfig_locale); |
| 417 |
$language =& new mamboLanguage($this->mosConfig_locale, $this->rootPath.'/language/'); |
$language =& new mamboLanguage($this->mosConfig_locale, $this->rootPath.'/language/'); |
| 433 |
if (file_exists($language_file)) require_once ($language_file); |
if (file_exists($language_file)) require_once ($language_file); |
| 434 |
else require_once ("$this->mosConfig_absolute_path/language/english.php"); |
else require_once ("$this->mosConfig_absolute_path/language/english.php"); |
| 435 |
################################### |
################################### |
| 436 |
|
} |
| 437 |
|
/** |
| 438 |
|
* Enter description here... |
| 439 |
|
* |
| 440 |
|
*/ |
| 441 |
|
function fixLanguage () { |
| 442 |
|
require_once($this->mosConfig_absolute_path.'/includes/phpgettext/phpgettext.class.php'); |
| 443 |
|
require_once($this->mosConfig_absolute_path.'/includes/phpgettext/error.php'); |
| 444 |
|
require_once($this->mosConfig_absolute_path.'/includes/mambofunc.php'); |
| 445 |
|
require_once($this->mosConfig_absolute_path.'/includes/mambolanguage.class.php'); |
| 446 |
} |
} |
| 447 |
|
|
| 448 |
/** |
/** |