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: pap_menu.fonct.php,v 1.19 2005-05-25 13:46:58 jpm Exp $
|
22 |
// CVS : $Id: pap_menu.fonct.php,v 1.20 2005-05-26 08:00:51 jpm Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Bibliothèque de fonction sur le rendu.
|
24 |
* Bibliothèque de fonction sur le rendu.
|
25 |
*
|
25 |
*
|
26 |
* Cette bibliothèque contient des fonctions utilisé par le rendu des pages de Papyrus.
|
26 |
* Cette bibliothèque contient des fonctions utilisé par le rendu des pages de Papyrus.
|
27 |
*
|
27 |
*
|
Line 31... |
Line 31... |
31 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
31 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
32 |
//Autres auteurs :
|
32 |
//Autres auteurs :
|
33 |
*@author Alexandre GRANIER <alexadandre@tela-botanica.org>
|
33 |
*@author Alexandre GRANIER <alexadandre@tela-botanica.org>
|
34 |
*@author Laurent COUDOUNEAU <laurent.coudouneau@ema.fr>
|
34 |
*@author Laurent COUDOUNEAU <laurent.coudouneau@ema.fr>
|
35 |
*@copyright Tela-Botanica 2000-2004
|
35 |
*@copyright Tela-Botanica 2000-2004
|
36 |
*@version $Revision: 1.19 $ $Date: 2005-05-25 13:46:58 $
|
36 |
*@version $Revision: 1.20 $ $Date: 2005-05-26 08:00:51 $
|
37 |
// +------------------------------------------------------------------------------------------------------+
|
37 |
// +------------------------------------------------------------------------------------------------------+
|
38 |
*/
|
38 |
*/
|
Line 39... |
Line 39... |
39 |
|
39 |
|
40 |
// +------------------------------------------------------------------------------------------------------+
|
40 |
// +------------------------------------------------------------------------------------------------------+
|
Line 627... |
Line 627... |
627 |
if (DB::isError($resultat)) {
|
627 |
if (DB::isError($resultat)) {
|
628 |
die(BOG_afficherErreurSql(__FILE__, __LINE__, $resultat->getMessage(), $requete));
|
628 |
die(BOG_afficherErreurSql(__FILE__, __LINE__, $resultat->getMessage(), $requete));
|
629 |
}
|
629 |
}
|
Line 630... |
Line 630... |
630 |
|
630 |
|
631 |
if ($resultat->numRows() > 0) {
|
631 |
if ($resultat->numRows() > 0) {
|
632 |
while ($ligne = $resultat->fetchRow(DB_FETCHMODE_ASSOC)) {
|
632 |
while ($ligne = $resultat->fetchRow(DB_FETCHMODE_ASSOC)) {
|
633 |
$aso_site_menus[$ligne['gm_id_menu']] = $ligne;
|
633 |
$aso_site_menus[$ligne['gm_id_menu']] = $ligne;
|
634 |
$aso_site_menus[$ligne['gm_id_menu']]['sous_menus'] = GEN_retournerTableauMenusSiteCodeAlpha($db, $site, $ligne['gm_id_menu'], $aso_site_menus[$id_pere]);
|
634 |
$aso_site_menus[$ligne['gm_id_menu']]['sous_menus'] = GEN_retournerTableauMenusSiteCodeAlpha($db, $site, $ligne['gm_id_menu']);
|
635 |
}
|
635 |
}
|
636 |
}
|
636 |
}
|
637 |
return $aso_site_menus;
|
637 |
return $aso_site_menus;
|
638 |
}
|
638 |
}
|
639 |
/* +--Fin du code ---------------------------------------------------------------------------------------+
|
639 |
/* +--Fin du code ---------------------------------------------------------------------------------------+
|
- |
|
640 |
* $Log: not supported by cvs2svn $
|
- |
|
641 |
* Revision 1.19 2005/05/25 13:46:58 jpm
|
- |
|
642 |
* Changement du sql de la fonction GEN_lireContenuMenu().
|
640 |
* $Log: not supported by cvs2svn $
|
643 |
*
|
641 |
* Revision 1.18 2005/04/19 17:21:19 jpm
|
644 |
* Revision 1.18 2005/04/19 17:21:19 jpm
|
642 |
* Utilisation des références d'objets.
|
645 |
* Utilisation des références d'objets.
|
643 |
*
|
646 |
*
|
644 |
* Revision 1.17 2005/04/18 16:41:25 jpm
|
647 |
* Revision 1.17 2005/04/18 16:41:25 jpm
|