24 lines
1.2 KiB
PHP
Executable File
24 lines
1.2 KiB
PHP
Executable File
<?php
|
|
// $refresh='Oui';
|
|
if (empty($tableLangueCode) or $refresh=='Oui') { include ($includePath. "/req/03-init.langueActives.php"); }
|
|
else
|
|
{ if (isset($debug[5]) && $debug[5] == '1' ) $debugMsg .= monDebug(5,['Nb Langues actives' => $_SESSION['nbLgActives'] ],'drapeauxListBox.php', $nomFicAppelant);}
|
|
|
|
// Boucle sur toutes les langues pour alimenter les options de la listBox
|
|
// le onChange est dans /_js/drapeaux_jQuery.php : selectEvent
|
|
echo '<span class="languesListeBox" >';
|
|
echo '<ul id="Langues">';
|
|
for ( $nn=0; $nn<count($tableLangueCode); $nn++) {
|
|
if($niveau==0) {$drapeau=str_replace("./","../", $tableLangueImgPt[$nn]);}
|
|
if($niveau==1) {$drapeau=str_replace("./","../../", $tableLangueImgPt[$nn]);}
|
|
if($niveau==2) {$drapeau=str_replace("./","../../../", $tableLangueImgPt[$nn]);}
|
|
|
|
echo '<li value="' . $tableLangueCode[$nn] . '" style="text-align:left;" >';
|
|
echo '<img width="20" width="20" border="0" src="' .$drapeau. '" alt="' .$tableLangueAlt[$nn]. '" class="tooltip-top" data-tooltip="' .$tableLangueTitle[$nn]. '" />';
|
|
echo ' ';
|
|
echo $tableLangueMsg[$nn];
|
|
echo '</li>';
|
|
}
|
|
echo '</ul>';
|
|
echo '</span>';
|
|
?>
|