en | fr  | Contact  | Print  | Share

FrameBeurk File

Fmbk/Module/Kom1/configKom1_final.php

<?php //FrameBeurk V0.65 Copyright ToolOscope 2016. Licence CeCILL-C.

// Finalisation de la configuration du module Kom1 (à éxécuter en fin de configuration)

// chargement des noms des langues
$result db_QUERY("SELECT T.IdTerminal, T.Terminal FROM Beurk_Lien R    
 LEFT JOIN Beurk_Terminal T ON T.IdTerminal = R.IdNoeud
 WHERE R.IdRelation = '" 
$CONFIG['Relation']['estDeType']['Id'] . "' AND R.IdLie = '" $CONFIG['Entite']['Langue']['Id'] . "'");
 
while (list(
$IdLangue$Langue) = db_FETCH_ROW($result)) {
        
$CONFIG['Controle']['Terminal'][$Langue] = array('Id' => $IdLangue'Type' => 'Langue');
        
$CONFIG['Controle']['Id'][$IdLangue] = array('Terminal' => $Langue'Type' => 'Langue');
        
$CONFIG['Controle']['Langue'][$IdLangue] = $Langue;                                        // tableau dédié
}
db_FREE($result);


© 2010-2015 by ToolOscope SASU. © 2016-2018 by Arnaud De Rette. All rights reserved