Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 556 → Rev 557

/trunk/papyrus/pap_rendu.inc.php
32,7 → 32,7
// pris connaissance de la licence CeCILL, et que vous en avez accepté les
// termes.
// ----
// CVS : $Id: pap_rendu.inc.php,v 1.22 2005-10-20 10:28:25 ddelon Exp $
// CVS : $Id: pap_rendu.inc.php,v 1.23 2005-10-20 13:12:18 ddelon Exp $
/**
* Rendu : programme traitant l'url demandée et retournant la page compressé au navigateur.
*
48,7 → 48,7
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
*@author Laurent COUDOUNEAU <laurent.coudouneau@ema.fr>
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.22 $ $Date: 2005-10-20 10:28:25 $
*@version $Revision: 1.23 $ $Date: 2005-10-20 13:12:18 $
// +------------------------------------------------------------------------------------------------------+
*/
 
322,7 → 322,7
// +------------------------------------------------------------------------------------------------------+
// Gestion de l'intégration de l'application liée au menu
 
// Une fois les applettes appelées est executées nous appelons l'application qui peut avoir
// Une fois les applettes appelées et executées nous appelons l'application qui peut avoir
// besoins des infos des applettes (c'est le cas, pour l'applette IDENTIFICATION).
$GLOBALS['_PAPYRUS_']['general']['application_chemin'] = '';
if (isset($GLOBALS['_GEN_commun']['info_application']->gap_chemin)) {
329,6 → 329,26
$GLOBALS['_PAPYRUS_']['general']['application_chemin'] = $GLOBALS['_GEN_commun']['info_application']->gap_chemin;
}
 
// Affichage contenu si identifié (parametre : lecture = + )
 
$lecture=0;
if ((isset($GLOBALS['_GEN_commun']['info_application']->lecture)) && ($GLOBALS['_GEN_commun']['info_application']->lecture=="+")) {
if ($GLOBALS['_GEN_commun']['pear_auth']->getAuth()) {
$lecture=1;
}
}
// Emplacement pour traiter les futurs cas :
else {
$lecture=1;
}
 
if (!$lecture) {
function afficherContenuCorps()
{
return '<p class="pap_erreur">'.'Pas autorisé, veuillez vous identifier.'.'</p>';
}
}
 
// $application_chemin contient le chemin de l'application
// Si $application_chemin est vide, on défini putFrame comme ne retournant rien.
 
339,7 → 359,9
}
} else {
if (file_exists($GLOBALS['_PAPYRUS_']['general']['application_chemin'])) {
include_once($GLOBALS['_PAPYRUS_']['general']['application_chemin']);
if (!function_exists('afficherContenuCorps')) {
include_once($GLOBALS['_PAPYRUS_']['general']['application_chemin']);
}
} else {
die('ERREUR Papyrus : application impossible à charger. <br />'.
'Chemin application : '.$GLOBALS['_PAPYRUS_']['general']['application_chemin'].' <br />'.
348,6 → 370,8
}
}
 
 
// +------------------------------------------------------------------------------------------------------+
// Recherche des informations provenant de l'application pour la complétion du squelette
 
506,6 → 530,9
/* +--Fin du code ---------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.22 2005/10/20 10:28:25 ddelon
* Wikini complet dans l'intégrateur Wikini
*
* Revision 1.21 2005/10/17 13:41:34 ddelon
* Projet Wikini
*