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: menu.php,v 1.27 2006-09-20 09:25:31 alexandre_tb Exp $
|
22 |
// CVS : $Id: menu.php,v 1.28 2006-09-21 15:52:19 jp_milcent Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Applette : menu
|
24 |
* Applette : menu
|
25 |
*
|
25 |
*
|
26 |
* Génère une liste de listes comportant tous les niveaux des menus "classiques" d'un site.
|
26 |
* Génère une liste de listes comportant tous les niveaux des menus "classiques" d'un site.
|
27 |
* Nécessite :
|
27 |
* Nécessite :
|
Line 36... |
Line 36... |
36 |
//Auteur original :
|
36 |
//Auteur original :
|
37 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
37 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
38 |
//Autres auteurs :
|
38 |
//Autres auteurs :
|
39 |
*@author Aucun
|
39 |
*@author Aucun
|
40 |
*@copyright Tela-Botanica 2000-2004
|
40 |
*@copyright Tela-Botanica 2000-2004
|
41 |
*@version $Revision: 1.27 $ $Date: 2006-09-20 09:25:31 $
|
41 |
*@version $Revision: 1.28 $ $Date: 2006-09-21 15:52:19 $
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
43 |
*/
|
43 |
*/
|
Line 44... |
Line 44... |
44 |
|
44 |
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
Line 463... |
Line 463... |
463 |
$menu_texte_title = '';
|
463 |
$menu_texte_title = '';
|
464 |
if (($menu_texte_title = htmlentities($menu_info['gm_description_resume'])) != '') {
|
464 |
if (($menu_texte_title = htmlentities($menu_info['gm_description_resume'])) != '') {
|
465 |
$menu_texte_title = 'title="'.$raccourci_txt.$menu_texte_title.'" ';;
|
465 |
$menu_texte_title = 'title="'.$raccourci_txt.$menu_texte_title.'" ';;
|
466 |
}
|
466 |
}
|
Line 467... |
Line 467... |
467 |
|
467 |
|
468 |
$une_url =& new Pap_URL('http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF']);
|
468 |
$une_url =& new Pap_URL(PAP_URL);
|
Line 469... |
Line 469... |
469 |
$une_url->setId($menu_id);
|
469 |
$une_url->setId($menu_id);
|
470 |
|
470 |
|
471 |
if (isset($i18n) && ($i18n!='')) {
|
471 |
if (isset($i18n) && ($i18n!='')) {
|
Line 483... |
Line 483... |
483 |
|
483 |
|
484 |
|
484 |
|
485 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
485 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
- |
|
486 |
*
|
- |
|
487 |
* $Log: not supported by cvs2svn $
|
- |
|
488 |
* Revision 1.27 2006/09/20 09:25:31 alexandre_tb
|
486 |
*
|
489 |
* Initialisation de la variable $i18n_url pour éviter un notice
|
487 |
* $Log: not supported by cvs2svn $
|
490 |
*
|
488 |
* Revision 1.26 2006/07/04 09:43:21 alexandre_tb
|
491 |
* Revision 1.26 2006/07/04 09:43:21 alexandre_tb
|
489 |
* correction d'un bug du javascript
|
492 |
* correction d'un bug du javascript
|
490 |
*
|
493 |
*
|