Line 19... |
Line 19... |
19 |
// | |
|
19 |
// | |
|
20 |
// | You should have received a copy of the GNU General Public License |
|
20 |
// | You should have received a copy of the GNU General Public License |
|
21 |
// | along with Foobar; if not, write to the Free Software |
|
21 |
// | along with Foobar; if not, write to the Free Software |
|
22 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
22 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
23 |
// +------------------------------------------------------------------------------------------------------+
|
23 |
// +------------------------------------------------------------------------------------------------------+
|
24 |
// CVS : $Id: adme_menu_commun.fonct.php,v 1.14 2005-05-26 15:34:46 jpm Exp $
|
24 |
// CVS : $Id: adme_menu_commun.fonct.php,v 1.15 2005-05-26 15:39:14 jpm Exp $
|
25 |
/**
|
25 |
/**
|
26 |
* Application de gestion des menus communs
|
26 |
* Application de gestion des menus communs
|
27 |
*
|
27 |
*
|
28 |
* Permet de lister, d'ajouter, de modifier, et de déplacer des menus communs.
|
28 |
* Permet de lister, d'ajouter, de modifier, et de déplacer des menus communs.
|
29 |
* Par menus communs, nous entendons tous les menus devant paraitre sur l'ensemble des pages de plusieurs site,
|
29 |
* Par menus communs, nous entendons tous les menus devant paraitre sur l'ensemble des pages de plusieurs site,
|
Line 35... |
Line 35... |
35 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
35 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
36 |
//Autres auteurs :
|
36 |
//Autres auteurs :
|
37 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
37 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
38 |
*@author Laurent COUDOUNEAU <lc@gsite.org>
|
38 |
*@author Laurent COUDOUNEAU <lc@gsite.org>
|
39 |
*@copyright Tela-Botanica 2000-2004
|
39 |
*@copyright Tela-Botanica 2000-2004
|
40 |
*@version $Revision: 1.14 $ $Date: 2005-05-26 15:34:46 $
|
40 |
*@version $Revision: 1.15 $ $Date: 2005-05-26 15:39:14 $
|
41 |
// +------------------------------------------------------------------------------------------------------+
|
41 |
// +------------------------------------------------------------------------------------------------------+
|
42 |
*/
|
42 |
*/
|
Line 43... |
Line 43... |
43 |
|
43 |
|
44 |
// +------------------------------------------------------------------------------------------------------+
|
44 |
// +------------------------------------------------------------------------------------------------------+
|
Line 415... |
Line 415... |
415 |
|
415 |
|
416 |
$partie_menu_debut = '<fieldset>'."\n".'<legend>'.ADME_LG_FORM_MENU_COMMUN_TITRE_CONFIG.'</legend>'."\n".'<ul>'."\n";
|
416 |
$partie_menu_debut = '<fieldset>'."\n".'<legend>'.ADME_LG_FORM_MENU_COMMUN_TITRE_CONFIG.'</legend>'."\n".'<ul>'."\n";
|
Line 417... |
Line 417... |
417 |
$form->addElement('html', $partie_menu_debut);
|
417 |
$form->addElement('html', $partie_menu_debut);
|
418 |
|
418 |
|
419 |
$id = 'gm_code_num';
|
419 |
$id = 'gm_code_num';
|
420 |
$aso_attributs = array('id'=>$id, 'tabindex' => $tab_index++, 'size' => 5, 'maxlength' => 100);
|
420 |
$aso_attributs = array('id'=>$id, 'tabindex' => $tab_index++, 'size' => 5, 'maxlength' => 5);
|
421 |
$label = '<label for="'.$id.'">'.ADME_LG_FORM_MENU_CODE_NUM.'</label>';
|
421 |
$label = '<label for="'.$id.'">'.ADME_LG_FORM_MENU_CODE_NUM.'</label>';
|
Line 422... |
Line 422... |
422 |
$form->addElement('text', $id, $label, $aso_attributs);
|
422 |
$form->addElement('text', $id, $label, $aso_attributs);
|
423 |
$form->addRule($id, ADME_LG_FORM_MENU_REGLE_CODE_NUM, 'required', '', 'client');
|
423 |
$form->addRule($id, ADME_LG_FORM_MENU_REGLE_CODE_NUM, 'required', '', 'client');
|
424 |
|
424 |
|
425 |
$id = 'gm_code_alpha';
|
425 |
$id = 'gm_code_alpha';
|
426 |
$aso_attributs = array('id'=> $id, 'tabindex' => $tab_index++, 'size' => 20, 'maxlength' => 20);
|
426 |
$aso_attributs = array('id'=> $id, 'tabindex' => $tab_index++, 'size' => 50, 'maxlength' => 50);
|
Line 427... |
Line 427... |
427 |
$label = '<label for="'.$id.'">'.ADME_LG_FORM_MENU_CODE_ALPHA.'</label>';
|
427 |
$label = '<label for="'.$id.'">'.ADME_LG_FORM_MENU_CODE_ALPHA.'</label>';
|
Line 887... |
Line 887... |
887 |
|
887 |
|
888 |
|
888 |
|
889 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
889 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
- |
|
890 |
*
|
- |
|
891 |
* $Log: not supported by cvs2svn $
|
- |
|
892 |
* Revision 1.14 2005/05/26 15:34:46 jpm
|
890 |
*
|
893 |
* Ajout d'un espace.
|
891 |
* $Log: not supported by cvs2svn $
|
894 |
*
|
892 |
* Revision 1.13 2005/05/26 08:54:20 jpm
|
895 |
* Revision 1.13 2005/05/26 08:54:20 jpm
|
893 |
* Ajout info admin ayant fait la dernière modif.
|
896 |
* Ajout info admin ayant fait la dernière modif.
|
894 |
*
|
897 |
*
|