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.19 2005-05-26 15:34:46 jpm Exp $
|
22 |
// CVS : $Id: adme_menu_classique.fonct.php,v 1.20 2005-05-26 15:39:14 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 Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
33 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.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 Laurent COUDOUNEAU <lc@gsite.org>
|
36 |
*@author Laurent COUDOUNEAU <lc@gsite.org>
|
37 |
*@copyright Tela-Botanica 2000-2004
|
37 |
*@copyright Tela-Botanica 2000-2004
|
38 |
*@version $Revision: 1.19 $ $Date: 2005-05-26 15:34:46 $
|
38 |
*@version $Revision: 1.20 $ $Date: 2005-05-26 15:39:14 $
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
40 |
*/
|
40 |
*/
|
Line 41... |
Line 41... |
41 |
|
41 |
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
Line 427... |
Line 427... |
427 |
$label = '<label for="'.$id.'">'.ADME_LG_FORM_MENU_CODE_NUM.'</label>';
|
427 |
$label = '<label for="'.$id.'">'.ADME_LG_FORM_MENU_CODE_NUM.'</label>';
|
428 |
$form->addElement('text', $id, $label, $aso_attributs);
|
428 |
$form->addElement('text', $id, $label, $aso_attributs);
|
429 |
$form->addRule($id, ADME_LG_FORM_MENU_REGLE_CODE_NUM, 'required', '', 'client');
|
429 |
$form->addRule($id, ADME_LG_FORM_MENU_REGLE_CODE_NUM, 'required', '', 'client');
|
Line 430... |
Line 430... |
430 |
|
430 |
|
431 |
$id = 'gm_code_alpha';
|
431 |
$id = 'gm_code_alpha';
|
432 |
$aso_attributs = array('id'=> $id, 'tabindex' => $tab_index++, 'size' => 20, 'maxlength' => 20);
|
432 |
$aso_attributs = array('id'=> $id, 'tabindex' => $tab_index++, 'size' => 50, 'maxlength' => 50);
|
433 |
$label = '<label for="'.$id.'">'.ADME_LG_FORM_MENU_CODE_ALPHA.'</label>';
|
433 |
$label = '<label for="'.$id.'">'.ADME_LG_FORM_MENU_CODE_ALPHA.'</label>';
|
434 |
$form->addElement('text', $id, $label, $aso_attributs);
|
434 |
$form->addElement('text', $id, $label, $aso_attributs);
|
Line 435... |
Line 435... |
435 |
$form->addRule($id, ADME_LG_FORM_MENU_REGLE_CODE_ALPHA, 'required', '', 'client');
|
435 |
$form->addRule($id, ADME_LG_FORM_MENU_REGLE_CODE_ALPHA, 'required', '', 'client');
|
Line 950... |
Line 950... |
950 |
|
950 |
|
951 |
|
951 |
|
952 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
952 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
- |
|
953 |
*
|
- |
|
954 |
* $Log: not supported by cvs2svn $
|
- |
|
955 |
* Revision 1.19 2005/05/26 15:34:46 jpm
|
953 |
*
|
956 |
* Ajout d'un espace.
|
954 |
* $Log: not supported by cvs2svn $
|
957 |
*
|
955 |
* Revision 1.18 2005/05/26 08:54:20 jpm
|
958 |
* Revision 1.18 2005/05/26 08:54:20 jpm
|
956 |
* Ajout info admin ayant fait la dernière modif.
|
959 |
* Ajout info admin ayant fait la dernière modif.
|
957 |
*
|
960 |
*
|