/trunk/papyrus/pap_initialise_info.inc.php |
---|
21,7 → 21,7 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// | | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: pap_initialise_info.inc.php,v 1.20 2005-06-24 10:48:35 jpm Exp $ |
// CVS : $Id: pap_initialise_info.inc.php,v 1.21 2005-08-31 17:34:52 ddelon Exp $ |
/** |
*Initialisation de Papyrus : vérification et récupération de paramètres généraux. |
* |
41,7 → 41,7 |
*@author Alexandre GRANIER <alex@tela-botanica.org> |
*@author Laurent COUDOUNEAU <laurent.coudouneau@ema.fr> |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.20 $ $Date: 2005-06-24 10:48:35 $ |
*@version $Revision: 1.21 $ $Date: 2005-08-31 17:34:52 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
63,7 → 63,6 |
// +------------------------------------------------------------------------------------------------------+ |
// Gestion des sites : disponiblent sur le serveur courant. |
// Liste des catégories de site à prendre en compte : |
$site_liste_id = '102, 103';// 102 = site "principal" et 103 = site "externe" |
if ( (! isset($_GET[GEN_URL_CLE_SITE]) || empty($_GET[GEN_URL_CLE_SITE])) && (! isset($_GET[GEN_URL_CLE_MENU]) || empty($_GET[GEN_URL_CLE_MENU])) ) { |
102,9 → 101,8 |
} |
} else if ( (! isset($_GET[GEN_URL_CLE_SITE]) || empty($_GET[GEN_URL_CLE_SITE])) && (isset($_GET[GEN_URL_CLE_MENU]) || !empty($_GET[GEN_URL_CLE_MENU])) ) { |
// Le code du menu est présent dans l'url mais pas celui du site |
// Nous récupérons les infos du menu et du sites dans la variable globale de Papyrus. |
// Nou$s récupérons les infos du menu et du sites dans la variable globale de Papyrus. |
$_GEN_commun['url_menu'] = $_GET[GEN_URL_CLE_MENU]; |
// Récupération des informations sur le menu demandé |
$requete = 'SELECT * '. |
'FROM gen_menu '. |
112,11 → 110,11 |
$requete .= (GEN_URL_ID_TYPE_MENU == 'int') |
? 'gm_code_num = '.$_GEN_commun['url_menu'] |
: 'gm_code_alpha = "'.$_GEN_commun['url_menu'].'"'; |
$resultat = $db->query($requete); |
(DB::isError($resultat)) |
? die(BOG_afficherErreurSql(__FILE__, __LINE__, $resultat->getMessage(), $requete)) |
: ''; |
: ''; |
$_GEN_commun['info_menu'] = $resultat->fetchRow(DB_FETCHMODE_OBJECT); |
$resultat->free(); |
499,6 → 497,9 |
/* +--Fin du code ---------------------------------------------------------------------------------------+ |
* $Log: not supported by cvs2svn $ |
* Revision 1.20 2005/06/24 10:48:35 jpm |
* Modification des chemins des fichiers pour fonctionnement avec API Pear locale. |
* |
* Revision 1.19 2005/04/14 13:52:37 jpm |
* Utilisation de la classe Pap_URL. |
* |
/trunk/papyrus/applications/afficheur/configuration/affi_fckconfig.js |
---|
125,7 → 125,8 |
// Perl // FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/perl/connector.cgi' ; |
// PHP // |
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/php/connector.php' ; |
// PHP - mcpuk // FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Connector=connectors/php/connector.php' ; |
// PHP - mcpuk |
//FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Connector=connectors/php/connector.php' ; |
FCKConfig.LinkBrowserWindowWidth = screen.width * 0.7 ; // 70% |
FCKConfig.LinkBrowserWindowHeight = screen.height * 0.7 ; // 70% |
136,7 → 137,8 |
// Perl // FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/perl/connector.cgi' ; |
// PHP // |
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php' ; |
// PHP - mcpuk // FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Type=Image&Connector=connectors/php/connector.php' ; |
// PHP - mcpuk |
//FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Type=Image&Connector=connectors/php/connector.php' ; |
FCKConfig.ImageBrowserWindowWidth = screen.width * 0.7 ; // 70% ; |
FCKConfig.ImageBrowserWindowHeight = screen.height * 0.7 ; // 70% ; |
147,7 → 149,8 |
// Perl // FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/perl/connector.cgi' ; |
// PHP // |
FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/php/connector.php' ; |
// PHP - mcpuk // FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Type=Flash&Connector=connectors/php/connector.php' ; |
// PHP - mcpuk |
// FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Type=Flash&Connector=connectors/php/connector.php' ; |
FCKConfig.FlashBrowserWindowWidth = screen.width * 0.7 ; //70% ; |
FCKConfig.FlashBrowserWindowHeight = screen.height * 0.7 ; //70% ; |
/trunk/papyrus/configuration/pap_config_avancee.inc.php |
---|
22,7 → 22,7 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// | | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: pap_config_avancee.inc.php,v 1.15 2005-04-21 16:46:51 jpm Exp $ |
// CVS : $Id: pap_config_avancee.inc.php,v 1.16 2005-08-31 17:34:52 ddelon Exp $ |
/** |
* Page de configuration avancée de Papyrus |
* |
36,7 → 36,7 |
*@author Alexandre GRANIER <alex@tela-botanica.org> |
*@author Laurent COUDOUNEAU <laurent.coudouneau@ema.fr> |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.15 $ $Date: 2005-04-21 16:46:51 $ |
*@version $Revision: 1.16 $ $Date: 2005-08-31 17:34:52 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
126,6 → 126,8 |
define('GEN_CHEMIN_CLIENT', 'client'.GEN_SEP); |
/** Chemin relatif par rapport au fichier papyrus.php vers le dossier contenant les fichiers des sites.*/ |
define('GEN_CHEMIN_SITES', 'sites'.GEN_SEP); |
/** Chemin relatif par rapport au fichier papyrus.php vers le dossier contenant les fichiers des wikini*/ |
define('GEN_CHEMIN_WIKINI', 'wikini'.GEN_SEP); |
/** Chemin relatif par rapport au fichier papyrus.php vers le dossier contenant les fichiers de configuration de Papyrus.*/ |
define('GEN_CHEMIN_CONFIG', GEN_CHEMIN_PAP.'configuration'.GEN_SEP); |
/** Chemin relatif par rapport au fichier papyrus.php vers le dossier contenant les fichiers sql d'installation de Papyrus.*/ |
195,6 → 197,9 |
); |
/* +--Fin du code ---------------------------------------------------------------------------------------+ |
* $Log: not supported by cvs2svn $ |
* Revision 1.15 2005/04/21 16:46:51 jpm |
* Gestion via Papyrus du XHTML de Text_Wiki_Papyrus. |
* |
* Revision 1.14 2005/04/18 16:40:39 jpm |
* Ajout de constantes pour contrôler les permaliens. |
* |