Line 17... |
Line 17... |
17 |
// | |
|
17 |
// | |
|
18 |
// | You should have received a copy of the GNU Lesser General Public |
|
18 |
// | You should have received a copy of the GNU Lesser General Public |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
19 |
// | License along with this library; if not, write to the Free Software |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
20 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
21 |
// +------------------------------------------------------------------------------------------------------+
|
22 |
// CVS : $Id: adme_menu_classique.fonct.php,v 1.13 2004-11-29 18:34:51 jpm Exp $
|
22 |
// CVS : $Id: adme_menu_classique.fonct.php,v 1.14 2004-12-01 16:47:28 jpm Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Fonctions de gestion des menus classiques
|
24 |
* Fonctions de gestion des menus classiques
|
25 |
*
|
25 |
*
|
26 |
* Permet de lister, d'ajouter, de modifier, et de déplacer des menus classiques.
|
26 |
* Permet de lister, d'ajouter, de modifier, et de déplacer des menus classiques.
|
27 |
* Par menus classiques nous entendons tous les menus devant paraitre dans l'arborescences
|
27 |
* Par menus classiques nous entendons tous les menus devant paraitre dans l'arborescences
|
Line 33... |
Line 33... |
33 |
*@author Laurent COUDOUNEAU <lc@gsite.org>
|
33 |
*@author Laurent COUDOUNEAU <lc@gsite.org>
|
34 |
//Autres auteurs :
|
34 |
//Autres auteurs :
|
35 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
35 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
36 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
36 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
37 |
*@copyright Tela-Botanica 2000-2004
|
37 |
*@copyright Tela-Botanica 2000-2004
|
38 |
*@version $Revision: 1.13 $ $Date: 2004-11-29 18:34:51 $
|
38 |
*@version $Revision: 1.14 $ $Date: 2004-12-01 16:47:28 $
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
40 |
*/
|
40 |
*/
|
Line 41... |
Line 41... |
41 |
|
41 |
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
Line 223... |
Line 223... |
223 |
$xhtml_action .= '<a href="'.$url->getURL().'" title="'.ADME_LG_ACTION_CLASSIQUE_DESCENDRE_TITLE.'">'.
|
223 |
$xhtml_action .= '<a href="'.$url->getURL().'" title="'.ADME_LG_ACTION_CLASSIQUE_DESCENDRE_TITLE.'">'.
|
224 |
'<img class="'.ADME_CLASS_IMG_ICONE.'" src="'.ADME_IMAGE_FLECHE_BAS.'" alt="'.ADME_LG_ACTION_CLASSIQUE_DESCENDRE_ALT.'" />'.
|
224 |
'<img class="'.ADME_CLASS_IMG_ICONE.'" src="'.ADME_IMAGE_FLECHE_BAS.'" alt="'.ADME_LG_ACTION_CLASSIQUE_DESCENDRE_ALT.'" />'.
|
225 |
'</a> '."\n";
|
225 |
'</a> '."\n";
|
226 |
$url->removeQueryString('adme_action');
|
226 |
$url->removeQueryString('adme_action');
|
227 |
$url->addQueryString('adme_action', ADME_LG_ACTION_CLASSIQUE_SUPPRIMER);
|
227 |
$url->addQueryString('adme_action', ADME_LG_ACTION_CLASSIQUE_SUPPRIMER);
|
228 |
$xhtml_action .= '<a href="'.$url->getURL().'" title="'.ADME_LG_ACTION_CLASSIQUE_SUPPRIMER_TITLE.'">'.
|
228 |
$xhtml_action .= '<a href="'.$url->getURL().'" title="'.ADME_LG_ACTION_CLASSIQUE_SUPPRIMER_TITLE.'" onclick="javascript:return confirm(\''.ADME_LG_ACTION_SUPPRIMER_CONFIRMATION.'\');">'.
|
229 |
'<img class="'.ADME_CLASS_IMG_ICONE.'" src="'.ADME_IMAGE_SUPPRIMER.'" alt="'.ADME_LG_ACTION_CLASSIQUE_SUPPRIMER_ALT.'" />'.
|
229 |
'<img class="'.ADME_CLASS_IMG_ICONE.'" src="'.ADME_IMAGE_SUPPRIMER.'" alt="'.ADME_LG_ACTION_CLASSIQUE_SUPPRIMER_ALT.'" />'.
|
230 |
'</a> '."\n";
|
230 |
'</a> '."\n";
|
231 |
$url->removeQueryString('adme_action');
|
231 |
$url->removeQueryString('adme_action');
|
232 |
$url->addQueryString('adme_action', ADME_LG_ACTION_CLASSIQUE_AJOUTER);
|
232 |
$url->addQueryString('adme_action', ADME_LG_ACTION_CLASSIQUE_AJOUTER);
|
233 |
$xhtml_action .= '<a href="'.$url->getURL().'" title="'.ADME_LG_ACTION_CLASSIQUE_AJOUTER_TITLE.'">'.
|
233 |
$xhtml_action .= '<a href="'.$url->getURL().'" title="'.ADME_LG_ACTION_CLASSIQUE_AJOUTER_TITLE.'">'.
|
Line 609... |
Line 609... |
609 |
$aso_attributs = array('id'=> $id, 'tabindex' => $tab_index++, 'size' => 45, 'maxlength' => 100);
|
609 |
$aso_attributs = array('id'=> $id, 'tabindex' => $tab_index++, 'size' => 45, 'maxlength' => 100);
|
610 |
$label = '<label for="'.$id.'">'.ADME_LG_FORM_MENU_TMP_VALEUR.'</label>';
|
610 |
$label = '<label for="'.$id.'">'.ADME_LG_FORM_MENU_TMP_VALEUR.'</label>';
|
611 |
$form->addElement('text', $id, $label, $aso_attributs);
|
611 |
$form->addElement('text', $id, $label, $aso_attributs);
|
Line 612... |
Line 612... |
612 |
|
612 |
|
- |
|
613 |
$partie_entete_fin = '</ul>'."\n".'</fieldset>'."\n";
|
Line 613... |
Line 614... |
613 |
$partie_entete_fin = '</ul>'."\n".'</fieldset>'."\n";
|
614 |
$form->addElement('html', $partie_entete_fin);
|
614 |
|
615 |
|
Line 615... |
Line 616... |
615 |
$liste_bouton_debut = '<ul class="liste_bouton">'."\n";
|
616 |
$liste_bouton_debut = '<ul class="liste_bouton">'."\n";
|
Line 929... |
Line 930... |
929 |
|
930 |
|
930 |
|
931 |
|
931 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
932 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
- |
|
933 |
*
|
- |
|
934 |
* $Log: not supported by cvs2svn $
|
- |
|
935 |
* Revision 1.13 2004/11/29 18:34:51 jpm
|
932 |
*
|
936 |
* Correction bogue checkbox.
|
933 |
* $Log: not supported by cvs2svn $
|
937 |
*
|
934 |
* Revision 1.12 2004/11/15 16:51:12 jpm
|
938 |
* Revision 1.12 2004/11/15 16:51:12 jpm
|
935 |
* Correction bogue de mise à jour de l'ordre des menus.
|
939 |
* Correction bogue de mise à jour de l'ordre des menus.
|
936 |
*
|
940 |
*
|