| Line 19... |
Line 19... |
| 19 |
// | You should have received a copy of the GNU Lesser General Public |
|
19 |
// | You should have received a copy of the GNU Lesser General Public |
|
| 20 |
// | License along with this library; if not, write to the Free Software |
|
20 |
// | License along with this library; if not, write to the Free Software |
|
| 21 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
21 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
| 22 |
// | |
|
22 |
// | |
|
| 23 |
// +------------------------------------------------------------------------------------------------------+
|
23 |
// +------------------------------------------------------------------------------------------------------+
|
| 24 |
// CVS : $Id: pap_initialise_info.inc.php,v 1.28 2006-12-01 15:41:21 ddelon Exp $
|
24 |
// CVS : $Id: pap_initialise_info.inc.php,v 1.28.2.1 2007-01-11 18:22:35 ddelon Exp $
|
| 25 |
/**
|
25 |
/**
|
| 26 |
*Initialisation de Papyrus : vérification et récupération de paramètres généraux.
|
26 |
*Initialisation de Papyrus : vérification et récupération de paramètres généraux.
|
| 27 |
*
|
27 |
*
|
| 28 |
* La page contient le code initialisant l'éxecution du rendu d'une page par Papyrus.
|
28 |
* La page contient le code initialisant l'éxecution du rendu d'une page par Papyrus.
|
| 29 |
* Nous y trouvons la recherche des informations disponibles sur :
|
29 |
* Nous y trouvons la recherche des informations disponibles sur :
|
| Line 39... |
Line 39... |
| 39 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
39 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
| 40 |
//Autres auteurs :
|
40 |
//Autres auteurs :
|
| 41 |
*@author Alexandre GRANIER <alex@tela-botanica.org>
|
41 |
*@author Alexandre GRANIER <alex@tela-botanica.org>
|
| 42 |
*@author Laurent COUDOUNEAU <laurent.coudouneau@ema.fr>
|
42 |
*@author Laurent COUDOUNEAU <laurent.coudouneau@ema.fr>
|
| 43 |
*@copyright Tela-Botanica 2000-2004
|
43 |
*@copyright Tela-Botanica 2000-2004
|
| 44 |
*@version $Revision: 1.28 $ $Date: 2006-12-01 15:41:21 $
|
44 |
*@version $Revision: 1.28.2.1 $ $Date: 2007-01-11 18:22:35 $
|
| 45 |
// +------------------------------------------------------------------------------------------------------+
|
45 |
// +------------------------------------------------------------------------------------------------------+
|
| 46 |
*/
|
46 |
*/
|
| Line 47... |
Line 47... |
| 47 |
|
47 |
|
| 48 |
// +------------------------------------------------------------------------------------------------------+
|
48 |
// +------------------------------------------------------------------------------------------------------+
|
| Line 333... |
Line 333... |
| 333 |
|
333 |
|
| 334 |
if ($_GEN_commun['i18n'] != $_GEN_commun['info_site']->gs_ce_i18n) {
|
334 |
if ($_GEN_commun['i18n'] != $_GEN_commun['info_site']->gs_ce_i18n) {
|
| 335 |
// Récupération des informations sur la traduction du site
|
335 |
// Récupération des informations sur la traduction du site
|
| 336 |
$requete = 'SELECT * '.
|
336 |
$requete = 'SELECT * '.
|
| - |
|
337 |
'FROM gen_site '.
|
| 337 |
'FROM gen_site '.
|
338 |
'WHERE gs_ce_i18n = "'.$_GEN_commun['i18n'].'"';
|
| 338 |
'WHERE gs_ce_i18n = "'.$_GEN_commun['i18n'].'" '.
|
339 |
// 'WHERE gs_ce_i18n = "'.$_GEN_commun['i18n'].'" '.
|
| Line 339... |
Line 340... |
| 339 |
'AND gs_code_alpha = "'.$_GEN_commun['info_site']->gs_code_alpha.'"';
|
340 |
// 'AND gs_code_alpha = "'.$_GEN_commun['info_site']->gs_code_alpha.'"';
|
| 340 |
|
341 |
|
| Line 341... |
Line 342... |
| 341 |
$resultat = $db->query($requete);
|
342 |
$resultat = $db->query($requete);
|
| Line 354... |
Line 355... |
| 354 |
|
355 |
|
| 355 |
if ((isset($_GEN_commun['info_menu'])) && ($_GEN_commun['i18n'] != $_GEN_commun['info_menu']->gm_ce_i18n)) {
|
356 |
if ((isset($_GEN_commun['info_menu'])) && ($_GEN_commun['i18n'] != $_GEN_commun['info_menu']->gm_ce_i18n)) {
|
| 356 |
// Récupération des informations sur la traduction du menu
|
357 |
// Récupération des informations sur la traduction du menu
|
| 357 |
$requete = 'SELECT * '.
|
358 |
$requete = 'SELECT * '.
|
| - |
|
359 |
'FROM gen_menu '.
|
| 358 |
'FROM gen_menu '.
|
360 |
'WHERE gm_ce_i18n = "'.$_GEN_commun['i18n'].'" ;';
|
| 359 |
'WHERE gm_ce_i18n = "'.$_GEN_commun['i18n'].'" '.
|
361 |
// 'WHERE gm_ce_i18n = "'.$_GEN_commun['i18n'].'" '.
|
| Line 360... |
Line 362... |
| 360 |
'AND gm_code_alpha = "'.$_GEN_commun['info_menu']->gm_code_alpha.'"';
|
362 |
// 'AND gm_code_alpha = "'.$_GEN_commun['info_menu']->gm_code_alpha.'"';
|
| 361 |
|
363 |
|
| Line 362... |
Line 364... |
| 362 |
$resultat = $db->query($requete);
|
364 |
$resultat = $db->query($requete);
|
| Line 482... |
Line 484... |
| 482 |
$_GEN_commun['url']->addQueryString(GEN_URL_CLE_FORMAT, $_GEN_commun['url_format']);
|
484 |
$_GEN_commun['url']->addQueryString(GEN_URL_CLE_FORMAT, $_GEN_commun['url_format']);
|
| 483 |
}
|
485 |
}
|
| Line 484... |
Line 486... |
| 484 |
|
486 |
|
| 485 |
/* +--Fin du code ---------------------------------------------------------------------------------------+
|
487 |
/* +--Fin du code ---------------------------------------------------------------------------------------+
|
| - |
|
488 |
* $Log: not supported by cvs2svn $
|
| - |
|
489 |
* Revision 1.28 2006/12/01 15:41:21 ddelon
|
| - |
|
490 |
* erreur affichage
|
| 486 |
* $Log: not supported by cvs2svn $
|
491 |
*
|
| 487 |
* Revision 1.27 2006/11/07 18:43:54 jp_milcent
|
492 |
* Revision 1.27 2006/11/07 18:43:54 jp_milcent
|
| 488 |
* Modification des expressions régulières des permaliens.
|
493 |
* Modification des expressions régulières des permaliens.
|
| 489 |
*
|
494 |
*
|
| 490 |
* Revision 1.26 2006/10/18 10:18:05 jp_milcent
|
495 |
* Revision 1.26 2006/10/18 10:18:05 jp_milcent
|