21,7 → 21,7 |
// | along with Foobar; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: affi_configuration.inc.php,v 1.4 2005-02-23 18:16:49 jpm Exp $ |
// CVS : $Id: affi_configuration.inc.php,v 1.5 2005-04-21 16:46:21 jpm Exp $ |
/** |
* Application réalisant l'affichage du contenu stocké dans Papyrus. |
* |
34,7 → 34,7 |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.4 $ $Date: 2005-02-23 18:16:49 $ |
*@version $Revision: 1.5 $ $Date: 2005-04-21 16:46:21 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
55,7 → 55,7 |
define('AFFI_URL_PAPYRUS', PAP_URL.'?menu=%s'); |
|
// L'objet PEAR::DB à utiliser pour l'afficheur : |
$GLOBALS['_AFFICHEUR']['objet_pear_db'] = $GLOBALS['_GEN_commun']['pear_db']; |
$GLOBALS['_AFFICHEUR']['objet_pear_db'] =& $GLOBALS['_GEN_commun']['pear_db']; |
|
// L'identifiant du menu courant : |
if (isset($GLOBALS['_GEN_commun']['traduction_info_menu'])) { |
70,22 → 70,10 |
$GLOBALS['_AFFICHEUR']['jeu_de_caracteres'] = $GLOBALS['_PAPYRUS_']['page']['jeu_de_caracteres']; |
|
// Les sites correspodant aux liens interwiki: |
$GLOBALS['_AFFICHEUR']['interwiki_sites'] = array( |
'Papyrus' => 'http://'.$_SERVER['HTTP_HOST'].'/'.$_SERVER['PHP_SELF'].'?menu=%s', |
'Weflore' => 'http://wiki.tela-botanica.org/eflore/wakka.php?wiki=%s', |
'Wikipedia' => 'http://fr.wikipedia.org/wiki/%s', |
'Wikipedia_fr' => 'http://fr.wikipedia.org/wiki/%s' |
); |
$GLOBALS['_AFFICHEUR']['interwiki_sites'] =& $GLOBALS['_PAPYRUS_']['interwiki_sites']; |
|
// Les sites correspodant à l'action inclure: |
$GLOBALS['_AFFICHEUR']['inclure_sites'] = array( |
'Papyrus' => array('preg' => '/<!-- start contenu -->(.*)<!-- end contenu -->/Umsi', 'url' => 'http://'.$_SERVER['HTTP_HOST'].'/'.$_SERVER['PHP_SELF'].'?menu=%s'), |
'Wikipedia' => array('preg' => '/<!-- start content -->(.*)<!-- end content -->/Umsi', 'url' => 'http://fr.wikipedia.org/wiki/%s'), |
'Wikipedia_fr' => array('preg' => '/<!-- start content -->(.*)<!-- end content -->/Umsi', 'url' => 'http://fr.wikipedia.org/wiki/%s'), |
'Wikipedia_en' => array('preg' => '/<!-- start content -->(.*)<!-- end content -->/Umsi', 'url' => 'http://en.wikipedia.org/wiki/%s'), |
'Wikini_eFlore' => array('preg' => '/<div class="page">(.*)<\/div>.*<div class="commentsheader">/Umsi', 'url' => 'http://wiki.tela-botanica.org/eflore/wakka.php?wiki=%s'), |
'Wikini_isff' => array('preg' => '/<div class="page">(.*)<\/div>.*<div class="commentsheader">/Umsi', 'url' => 'http://wiki.tela-botanica.org/isff/wakka.php?wiki=%s') |
); |
$GLOBALS['_AFFICHEUR']['inclure_sites'] =& $GLOBALS['_PAPYRUS_']['inclure_sites']; |
|
// +------------------------------------------------------------------------------------------------------+ |
// | PIED du PROGRAMME | |
96,6 → 84,9 |
/* +--Fin du code ----------------------------------------------------------------------------------------+ |
* |
* $Log: not supported by cvs2svn $ |
* Revision 1.4 2005/02/23 18:16:49 jpm |
* Changement de l'url de Papyrus pour qu'elle corresponde à l'url courante de Papyrus. |
* |
* Revision 1.3 2005/02/23 17:41:21 jpm |
* Modification de l'initialisation d'une variable. |
* |