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_general.fonct.php,v 1.5 2004-11-10 11:58:54 jpm Exp $
|
24 |
// CVS : $Id: adme_general.fonct.php,v 1.6 2004-11-10 17:26:07 jpm Exp $
|
25 |
/**
|
25 |
/**
|
26 |
* Contient l'affichage par défaut de l'appli quand aucune actin
|
26 |
* Contient l'affichage par défaut de l'appli quand aucune actin
|
27 |
*
|
27 |
*
|
28 |
* Ce fichier contient les fonctions d'affichage commune à toute l'application Admin Menu.
|
28 |
* Ce fichier contient les fonctions d'affichage commune à toute l'application Admin Menu.
|
29 |
* Nous y trouvons, entre autre, la fonction d'affichage par défaut de l'appli.
|
29 |
* Nous y trouvons, entre autre, la fonction d'affichage par défaut de l'appli.
|
Line 33... |
Line 33... |
33 |
//Auteur original :
|
33 |
//Auteur original :
|
34 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
34 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
35 |
//Autres auteurs :
|
35 |
//Autres auteurs :
|
36 |
*@author Aucun
|
36 |
*@author Aucun
|
37 |
*@copyright Tela-Botanica 2000-2004
|
37 |
*@copyright Tela-Botanica 2000-2004
|
38 |
*@version $Revision: 1.5 $ $Date: 2004-11-10 11:58:54 $
|
38 |
*@version $Revision: 1.6 $ $Date: 2004-11-10 17:26:07 $
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
40 |
*/
|
40 |
*/
|
Line 41... |
Line 41... |
41 |
|
41 |
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
Line 80... |
Line 80... |
80 |
$squelette->setFormTemplate("\n".'<form{attributes}>'."\n".'{content}'."\n"."\n".'</form>'."\n");
|
80 |
$squelette->setFormTemplate("\n".'<form{attributes}>'."\n".'{content}'."\n"."\n".'</form>'."\n");
|
81 |
$squelette->setElementTemplate( '{label}'."\n".'{element}'."\n".
|
81 |
$squelette->setElementTemplate( '{label}'."\n".'{element}'."\n".
|
82 |
'<!-- BEGIN required --><span class="symbole_obligatoire">*</span><!-- END required -->'."\n".
|
82 |
'<!-- BEGIN required --><span class="symbole_obligatoire">*</span><!-- END required -->'."\n".
|
83 |
'<!-- BEGIN error --><span class="erreur">{error}</span><!-- END error -->'."\n");
|
83 |
'<!-- BEGIN error --><span class="erreur">{error}</span><!-- END error -->'."\n");
|
84 |
$partie_site_debut = '<fieldset>'."\n".
|
84 |
$partie_site_debut = '<fieldset>'."\n".
|
85 |
'<legend>'.ADME_LG_TITRE_SITE.'</legend>'."\n";
|
85 |
'<legend>'.ADME_LG_FORM_SITE_TITRE.'</legend>'."\n";
|
86 |
$form->addElement('html', $partie_site_debut);
|
86 |
$form->addElement('html', $partie_site_debut);
|
87 |
$id = 'adme_site_id';
|
87 |
$id = 'adme_site_id';
|
88 |
$aso_attributs = array('id'=> $id, 'tabindex' => $tab_index++, 'onchange' => 'javascript:this.form.submit();');
|
88 |
$aso_attributs = array('id'=> $id, 'tabindex' => $tab_index++, 'onchange' => 'javascript:this.form.submit();');
|
89 |
$label = '<label for="'.$id.'">'.ADME_LG_FORM_SITE_CHOIX.'</label>';
|
89 |
$label = '<label for="'.$id.'">'.ADME_LG_FORM_SITE_CHOIX.'</label>';
|
90 |
$objet_select = new HTML_QuickForm_select($id, $label, '', $aso_attributs);
|
90 |
$objet_select = new HTML_QuickForm_select($id, $label, '', $aso_attributs);
|
Line 154... |
Line 154... |
154 |
|
154 |
|
155 |
|
155 |
|
156 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
156 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
- |
|
157 |
*
|
- |
|
158 |
* $Log: not supported by cvs2svn $
|
- |
|
159 |
* Revision 1.5 2004/11/10 11:58:54 jpm
|
157 |
*
|
160 |
* Mise en place des constantes de traduction de l'appli.
|
158 |
* $Log: not supported by cvs2svn $
|
161 |
*
|
159 |
* Revision 1.4 2004/11/09 17:48:35 jpm
|
162 |
* Revision 1.4 2004/11/09 17:48:35 jpm
|
160 |
* Gestion de différentes interfaces d'administration.
|
163 |
* Gestion de différentes interfaces d'administration.
|
161 |
*
|
164 |
*
|