Line 131... |
Line 131... |
131 |
$_GET['adme_action'] = (!isset($_GET['adme_action'])) ? '' : $_GET['adme_action'];
|
131 |
$_GET['adme_action'] = (!isset($_GET['adme_action'])) ? '' : $_GET['adme_action'];
|
Line 132... |
Line 132... |
132 |
|
132 |
|
133 |
//-------------------------------------------------------------------------------------------------------------------
|
133 |
//-------------------------------------------------------------------------------------------------------------------
|
134 |
// Authentification
|
134 |
// Authentification
|
- |
|
135 |
if ($objet_pear_auth->getAuth()) {
|
- |
|
136 |
|
- |
|
137 |
// quelques fois ces variables de session sont utilisées sans avoir été initialisées
|
- |
|
138 |
// ce qui peut provoquer des warnings et des bugs mineurs
|
- |
|
139 |
if(!isset($_SESSION['adme_menus_classiques_ouverts'])) {
|
- |
|
140 |
$_SESSION['adme_menus_classiques_ouverts'] = array();
|
- |
|
141 |
}
|
- |
|
142 |
|
- |
|
143 |
if(!isset($_SESSION['adme_menus_communs_ouverts'])) {
|
- |
|
144 |
$_SESSION['adme_menus_communs_ouverts'] = array();
|
- |
|
145 |
}
|
- |
|
146 |
|
- |
|
147 |
|
135 |
if ($objet_pear_auth->getAuth()) {
|
148 |
|
136 |
//---------------------------------------------------------------------------------------------------------------
|
149 |
//---------------------------------------------------------------------------------------------------------------
|
Line 137... |
Line 150... |
137 |
// GESTION DES MENUS CLASSIQUES
|
150 |
// GESTION DES MENUS CLASSIQUES
|
138 |
|
151 |
|
Line 192... |
Line 205... |
192 |
// Deplacer le menu vers la droite (augmenter d'un niveau)
|
205 |
// Deplacer le menu vers la droite (augmenter d'un niveau)
|
193 |
if (isset($_GET['adme_action']) && $_GET['adme_action'] == ADME_LG_ACTION_CLASSIQUE_AUGMENTER) {
|
206 |
if (isset($_GET['adme_action']) && $_GET['adme_action'] == ADME_LG_ACTION_CLASSIQUE_AUGMENTER) {
|
194 |
ADME_indenterMenuClassique($objet_pear_db, $_GET['adme_site_id'], $_GET['adme_menu_id'], false);
|
207 |
ADME_indenterMenuClassique($objet_pear_db, $_GET['adme_site_id'], $_GET['adme_menu_id'], false);
|
195 |
}
|
208 |
}
|
Line -... |
Line 209... |
- |
|
209 |
|
- |
|
210 |
// Deplacer le menu vers un autre site
|
- |
|
211 |
if (isset($_GET['adme_action']) && $_GET['adme_action'] == ADME_LG_ACTION_CLASSIQUE_DEPLACER_MENUS) {
|
- |
|
212 |
if(isset($_POST['adme_id_site_depart']) && isset($_POST['adme_id_site_arrivee']) && isset($_POST['adme_id_menu_deplacement'])) {
|
- |
|
213 |
ADME_deplacerMenuClassiqueVersSite($objet_pear_db, $_POST['adme_id_site_depart'], $_POST['adme_id_site_arrivee'],$_POST['adme_id_menu_deplacement']);
|
- |
|
214 |
}
|
- |
|
215 |
}
|
196 |
|
216 |
|
197 |
// Traduire le menu
|
217 |
// Traduire le menu
|
198 |
if (isset($_GET['adme_action']) && $_GET['adme_action'] == ADME_LG_ACTION_CLASSIQUE_TRADUIRE) {
|
218 |
if (isset($_GET['adme_action']) && $_GET['adme_action'] == ADME_LG_ACTION_CLASSIQUE_TRADUIRE) {
|
199 |
$message='';
|
219 |
$message='';
|
200 |
$message = ADME_verifier_traduction_possible($objet_pear_db, $objet_pear_url, $_GET['adme_site_id'], $_GET['adme_menu_id'], $_POST);
|
220 |
$message = ADME_verifier_traduction_possible($objet_pear_db, $objet_pear_url, $_GET['adme_site_id'], $_GET['adme_menu_id'], $_POST);
|
Line 479... |
Line 499... |
479 |
$res .= $objet_pear_url->getURL();
|
499 |
$res .= $objet_pear_url->getURL();
|
480 |
$res .= '" method="post">
|
500 |
$res .= '" method="post">
|
481 |
<fieldset>
|
501 |
<fieldset>
|
482 |
<legend>Identifiez vous</legend>
|
502 |
<legend>Identifiez vous</legend>
|
483 |
<label for="username">Courriel : </label>
|
503 |
<label for="username">Courriel : </label>
|
484 |
<input type="text" id="username" name="username" maxlength="80" tabindex="10" value="courriel" />
|
504 |
<input type="text" id="username" name="username" maxlength="80" tabindex="1" value="courriel" />
|
485 |
<label for="password">Mot de passe : </label>
|
505 |
<label for="password">Mot de passe : </label>
|
486 |
<input type="password" id="password" name="password" maxlength="80" tabindex="20" value="mot de passe" />
|
506 |
<input type="password" id="password" name="password" maxlength="80" tabindex="2" value="mot de passe" />
|
487 |
<input type="submit" id="connexion" name="connexion" tabindex="30" value="ok" />
|
507 |
<input type="submit" id="connexion" name="connexion" tabindex="3" value="ok" />
|
488 |
</fieldset>
|
508 |
</fieldset>
|
489 |
</form>';
|
509 |
</form>';
|
490 |
return $res ;
|
510 |
return $res ;
|
491 |
}
|
511 |
}
|
492 |
}// Fin de la fonction afficherContenuCorps()
|
512 |
}// Fin de la fonction afficherContenuCorps()
|