Cheetah
modules
cheetah
forum
integrations
base
lang.php
Go to the documentation of this file.
1
<?
php
2
12
function
getLangString
(
$s
, $sLang =
''
)
13
{
14
global
$gConf
;
15
16
if
(!$sLang)
17
$sLang =
$gConf
[
'lang'
];
18
19
require_once (
$gConf
[
'dir'
][
'langs'
] . $sLang .
'.php'
);
20
return
isset(
$GLOBALS
[
'L'
][
$s
]) ?
$GLOBALS
[
'L'
][
$s
] :
'_'
.
$s
;
21
}
22
23
?>
getLangString
getLangString($s, $sLang='')
Definition:
lang.php:12
php
global
if(!defined("GLOBAL_MODULE")) define("GLOBAL_MODULE" global
Definition:
header.inc.php:25
$s
$s
Definition:
embed.php:13
$gConf
global $gConf
Definition:
header.inc.php:8
$GLOBALS
$GLOBALS['iAdminPage']
Definition:
advanced_settings.php:10
Generated by
1.8.20