Line 20... |
Line 20... |
20 |
// | You should have received a copy of the GNU Lesser General Public |
|
20 |
// | You should have received a copy of the GNU Lesser General Public |
|
21 |
// | License along with this library; if not, write to the Free Software |
|
21 |
// | License along with this library; 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 |
// +------------------------------------------------------------------------------------------------------+
|
24 |
// +------------------------------------------------------------------------------------------------------+
|
25 |
// CVS : $Id: pap_initialise_info.inc.php,v 1.7 2004-09-23 10:46:46 jpm Exp $
|
25 |
// CVS : $Id: pap_initialise_info.inc.php,v 1.8 2004-09-23 14:30:53 jpm Exp $
|
26 |
/**
|
26 |
/**
|
27 |
*Initialisation de Papyrus : vérification et récupération de paramètres généraux.
|
27 |
*Initialisation de Papyrus : vérification et récupération de paramètres généraux.
|
28 |
*
|
28 |
*
|
29 |
* La page contient le code initialisant l'éxecution du rendu d'une page par Papyrus.
|
29 |
* La page contient le code initialisant l'éxecution du rendu d'une page par Papyrus.
|
30 |
* Nous y trouvons la recherche des informations disponibles sur :
|
30 |
* Nous y trouvons la recherche des informations disponibles sur :
|
Line 40... |
Line 40... |
40 |
*@author Laurent COUDOUNEAU <laurent.coudouneau@ema.fr>
|
40 |
*@author Laurent COUDOUNEAU <laurent.coudouneau@ema.fr>
|
41 |
//Autres auteurs :
|
41 |
//Autres auteurs :
|
42 |
*@author Alexandre GRANIER <alex@tela-botanica.org>
|
42 |
*@author Alexandre GRANIER <alex@tela-botanica.org>
|
43 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
43 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
44 |
*@copyright Tela-Botanica 2000-2004
|
44 |
*@copyright Tela-Botanica 2000-2004
|
45 |
*@version $Revision: 1.7 $ $Date: 2004-09-23 10:46:46 $
|
45 |
*@version $Revision: 1.8 $ $Date: 2004-09-23 14:30:53 $
|
46 |
// +------------------------------------------------------------------------------------------------------+
|
46 |
// +------------------------------------------------------------------------------------------------------+
|
47 |
*/
|
47 |
*/
|
Line 48... |
Line 48... |
48 |
|
48 |
|
49 |
// +------------------------------------------------------------------------------------------------------+
|
49 |
// +------------------------------------------------------------------------------------------------------+
|
Line 397... |
Line 397... |
397 |
? die(BOG_afficherErreurSql(__FILE__, __LINE__, $resultat->getMessage(), $requete))
|
397 |
? die(BOG_afficherErreurSql(__FILE__, __LINE__, $resultat->getMessage(), $requete))
|
398 |
: '';
|
398 |
: '';
|
399 |
// Nous avons trouvé un menu "défaut" pour le site courant.
|
399 |
// Nous avons trouvé un menu "défaut" pour le site courant.
|
400 |
$_GEN_commun['info_menu'] = $resultat->fetchRow(DB_FETCHMODE_OBJECT);
|
400 |
$_GEN_commun['info_menu'] = $resultat->fetchRow(DB_FETCHMODE_OBJECT);
|
401 |
$resultat->free();
|
401 |
$resultat->free();
|
402 |
|
- |
|
403 |
// Re-Stockage du code du menu demandée dans la variable globale de Papyrus.
|
- |
|
404 |
if (GEN_URL_ID_TYPE_MENU == 'int') {
|
- |
|
405 |
$_GEN_commun['url_menu'] = $_GEN_commun['info_menu']->gm_code_num;
|
- |
|
406 |
} else {
|
- |
|
407 |
$_GEN_commun['url_menu'] = $_GEN_commun['info_menu']->gm_code_alpha;
|
- |
|
408 |
}
|
- |
|
409 |
}
|
402 |
}
|
Line 410... |
Line 403... |
410 |
|
403 |
|
411 |
|
404 |
|
Line 491... |
Line 484... |
491 |
$_GEN_commun['url']->addQueryString(GEN_URL_CLE_DATE, $_GEN_commun['url_format']);
|
484 |
$_GEN_commun['url']->addQueryString(GEN_URL_CLE_DATE, $_GEN_commun['url_format']);
|
492 |
}
|
485 |
}
|
Line 493... |
Line 486... |
493 |
|
486 |
|
494 |
/* +--Fin du code ---------------------------------------------------------------------------------------+
|
487 |
/* +--Fin du code ---------------------------------------------------------------------------------------+
|
- |
|
488 |
* $Log: not supported by cvs2svn $
|
- |
|
489 |
* Revision 1.7 2004/09/23 10:46:46 jpm
|
- |
|
490 |
* Amélioration de la gestion du menu actif quand un menu n'a pas d'application liée.
|
495 |
* $Log: not supported by cvs2svn $
|
491 |
*
|
496 |
* Revision 1.6 2004/09/10 16:38:34 jpm
|
492 |
* Revision 1.6 2004/09/10 16:38:34 jpm
|
497 |
* Ajout de l'initialisation d'une variable stockant les infos de débogage.
|
493 |
* Ajout de l'initialisation d'une variable stockant les infos de débogage.
|
498 |
*
|
494 |
*
|
499 |
* Revision 1.5 2004/06/30 07:35:16 jpm
|
495 |
* Revision 1.5 2004/06/30 07:35:16 jpm
|