19,7 → 19,7 |
// | License along with this library; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: admin_menu.php,v 1.9 2004-11-09 17:53:03 jpm Exp $ |
// CVS : $Id: admin_menu.php,v 1.10 2004-11-10 11:58:58 jpm Exp $ |
/** |
* Application gérant les menus de Papyrus |
* |
33,7 → 33,7 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org> |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.9 $ $Date: 2004-11-09 17:53:03 $ |
*@version $Revision: 1.10 $ $Date: 2004-11-10 11:58:58 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
167,12 → 167,12 |
// GESTION DES MENUS COMMUNS |
|
// Ajout un menu commun |
if (isset($_GET['adme_action']) && $_GET['adme_action'] == 'menu_commun_ajouter') { |
if (isset($_GET['adme_action']) && $_GET['adme_action'] == ADME_LG_ACTION_AJOUTER) { |
$message = ADME_ajouterMenuCommun($objet_pear_db, $objet_pear_auth, $_GET['adme_site_id'], $_GET['adme_menu_id']); |
} |
|
// Formulaire de mise à jour du menu commun. |
if (isset($_GET['adme_action']) && $_GET['adme_action'] == 'menu_commun_modifier') { |
if (isset($_GET['adme_action']) && $_GET['adme_action'] == ADME_LG_ACTION_MODIFIER) { |
$sortie_xhtml .= ADME_afficherFormMenuCommun($objet_pear_db, $objet_pear_url, $_GET['adme_site_id'], $_GET['adme_menu_id'], $_POST); |
return $sortie_xhtml; |
} |
189,17 → 189,17 |
} |
|
// Déplace vers le haut de la hiérarchie un menu commun |
if (isset($_GET['adme_action']) && $_GET['adme_action'] == 'menu_commun_monter') { |
if (isset($_GET['adme_action']) && $_GET['adme_action'] == ADME_LG_ACTION_MONTER) { |
ADME_deplacerMenuCommun($objet_pear_db, $_GET['adme_site_id'], $_GET['adme_menu_id'], true); |
} |
|
// Déplace vers le bas de la hiérarchie un menu commun |
if (isset($_GET['adme_action']) && $_GET['adme_action'] == 'menu_commun_descendre') { |
if (isset($_GET['adme_action']) && $_GET['adme_action'] == ADME_LG_ACTION_DESCENDRE) { |
ADME_deplacerMenuCommun($objet_pear_db, $_GET['adme_site_id'], $_GET['adme_menu_id'], false); |
} |
|
// Supprime définitivement un menu commun |
if (isset($_GET['adme_action']) && $_GET['adme_action'] == 'menu_commun_supprimer') { |
if (isset($_GET['adme_action']) && $_GET['adme_action'] == ADME_LG_ACTION_SUPPRIMER) { |
// Récupération du menu de remplacement pour éviter de fermer l'arborescence |
if (GEN_donnerDernierFreres($_GET['adme_menu_id']) == false) { |
$adme_menu_id_remplacement = GEN_lireIdentifiantMenuPere($_GET['adme_menu_id']);; |
216,7 → 216,7 |
// GESTION DES INTERFACES D'ADMINISTRATION |
|
// Appel de l'application d'administration |
if (isset($_GET['adme_action']) && $_GET['adme_action'] == 'administrer') { |
if (isset($_GET['adme_action']) && $_GET['adme_action'] == ADME_LG_ACTION_ADMINISTRER) { |
$id_appli = GEN_retournerIdAppliMenu($objet_pear_db, $_GET['adme_menu_id']); |
$chemin_admin = GEN_retournerCheminInterfaceAdmin($objet_pear_db, $id_appli); |
$nom_admin = GEN_retournerNomInterfaceAdmin($objet_pear_db, $id_appli); |
258,6 → 258,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.9 2004/11/09 17:53:03 jpm |
* Changement des noms des actions sur les menus classiques. |
* |
* Revision 1.8 2004/11/09 17:49:11 jpm |
* Mise en conformité et gestion de différentes interfaces d'administration. |
* |