GlisWeb framework
_src
_config
_080.translation.php
Vai alla documentazione di questo file.
1
<?php
2
15
// inizializzazione della tabella di traduzione
16
$cf
[
'tr'
] = array();
17
18
// popolazione della tabella di traduzione
19
foreach
(
$cf
[
'localization'
][
'languages'
] as
$l
) {
20
$d
=
DIRECTORY_BASE
.
DIRECTORY_DIZIONARI
.
'_generic.'
. $l[
'ietf'
] .
'.conf'
;
21
$ld = str_replace(
'_'
, NULL,
$d
);
22
$cf
[
'tr'
] = array_replace_recursive(
$cf
[
'tr'
] , parse_ini_file(
$d
) );
23
if
( file_exists( $ld ) ) {
24
$cf
[
'tr'
] = array_replace_recursive(
$cf
[
'tr'
] , parse_ini_file( $ld ) );
25
}
26
}
27
28
// rendo le tabelle di traduzione disponibili al template
29
$ct
[
'tr'
] = &
$cf
[
'tr'
];
30
31
?>
$l
$l
Definition:
_ricerca.it-IT.php:4
$d
if(!empty($_REQUEST['id'])) $d
Definition:
_campagne.cartoline.pdf.php:33
$ct
foreach( $cf['localization']['languages'] as $l) $ct['tr']
Definition:
_080.translation.php:29
$cf
$cf['tr']
Definition:
_080.translation.php:16
DIRECTORY_BASE
const DIRECTORY_BASE
Definition:
_osm.php:3
DIRECTORY_DIZIONARI
const DIRECTORY_DIZIONARI
Definition:
_config.php:255
Generato Sab 25 Lug 2020 23:06:27 per GlisWeb framework da
1.8.13