''], '');} if ($codeOpe==='update') {include ("langues.reqUpdateLg.php");} if (isset($debug[2]) && $debug[2] == '1') { $debugMsg .= monDebug(2, ['Pas de update lib' => ''], '');} if ($codeOpe==='updateDesc') {include ("langues.reqUpdateLgDesc.php");} if (isset($debug[2]) && $debug[2] == '1') { $debugMsg .= monDebug(2, ['Pas de update lib' => ''], '');} // ----------------------------------------------------- // Upload // ----------------------------------------------------- if ($codeOpe=='upIco' && isset($_FILES['fileToUpload' .$theIDLg]['tmp_name'])) { $target_dir = "../Design/_icones_web/"; $targetExtension =['jpeg', 'jpg', 'png', 'svg', 'bmp']; $targetSize ='5242880'; //5 Mo $largeurMax = 0; $hauteurMax = 0; $largeurMin = 0; $hauteurMin = 0; $_FILES['fileToUpload']=$_FILES['fileToUpload' .$theIDLg]; include ($includePathAdmin. "/_fonctions/uploadGenerique.php"); if ($uploadOk==1) include ("langues.reqUpIco.php"); } else { if (isset($debug[2]) && $debug[2] == '1') { $debugMsg .= monDebug(2, ['Pas de update ico' => ''], '');} } // ----------------------------------------------------- // Requete count langues // ----------------------------------------------------- if (empty($tableLangueCode) or $refresh=='Oui') { include ($includePath. "/req/03-init.langueActives.php"); } // ----------------------------------------------------- // Select // ----------------------------------------------------- include ($includePath. "/req/03-init.langueListAll.php"); include ("langues.reqSelect.php"); // ----------------------------------------------------- // Debug // ----------------------------------------------------- if (isset($debug[1]) && $debug[1] == '1') {include ("langues.debug.php");} // ----------------------------------------------------- // Form // ----------------------------------------------------- echo '
'; // ----------------------------------------------------- // Creer un fichier export mysql pour le traduire et faire la requete traduite // ----------------------------------------------------- if ($creerFicLangue==1) {include ("CREER LG.php");} if (isset($debug[1]) && $debug[1] == '1' ) $debugMsg .=' Generer fichier de traduction '; // ----------------------------------------------------- // Champs cachés // ----------------------------------------------------- echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; // ----------------------------------------------------- // List box langues // ----------------------------------------------------- if ($_SESSION['nbLg']>1) { echo '
'; $lgLien="affAdmin=6&optAff=6"; include ($includePathAdmin. "/drapeaux/drapeauxListBox.php"); echo '
'; } echo '
'; // ----------------------------------------------------- // Entete colonne // ----------------------------------------------------- echo '
'; echo 'Libellé'; echo ' Activation'; echo ' Icône'; echo ' Texte de remplacement'; echo ' Info-bulle'; echo ' Lien'; echo ' Description'; // echo ' Code'; // echo ' Action'; for ($i=0; $i'; // ----------------------------------------------------- // Libelle // ----------------------------------------------------- echo ''; // echo $idCodeLgTab[$i]; echo ''; echo ''; // ----------------------------------------------------- // Activation // ----------------------------------------------------- echo 'Activer :'; if ($afficherLgTab[$i]==1) { echo ''; } else {echo ''; } echo ''; // ----------------------------------------------------- // Ico // ----------------------------------------------------- echo ''; echo ''; echo ' '; echo ''; echo ''; echo ''; echo ''; // ----------------------------------------------------- // Alt // ----------------------------------------------------- echo ''; echo ''; echo ''; // ----------------------------------------------------- // Title // ----------------------------------------------------- echo ''; echo ''; echo ''; // ----------------------------------------------------- // Lien // ----------------------------------------------------- echo ''; echo ''; echo ''; // ----------------------------------------------------- // Description // ----------------------------------------------------- echo ''; echo ''; echo ''; // ----------------------------------------------------- // Code --> on ne peut pas le changer sans impacts : garder pour debug // ----------------------------------------------------- // echo ''; // echo ''; // echo ''; // ----------------------------------------------------- // Action // ----------------------------------------------------- // echo ''; // echo ' '; // echo ''; } echo '
'; echo '
'; echo '
'; ?>