Subversion Repositories eFlore/Applications.coel-consultation

Compare Revisions

No changes between revisions

Ignore whitespace Rev 7 → Rev 6

/trunk/composants/fragmenteur/Fragmenteur.php
File deleted
\ No newline at end of file
/trunk/composants/fragmenteur/squelettes/defaut.tpl.html
File deleted
\ No newline at end of file
/trunk/composants/Composant.php
File deleted
\ No newline at end of file
/trunk/bibliotheque/pear/PEAR.php
File deleted
/trunk/bibliotheque/pear/Pager/Common.php
File deleted
\ No newline at end of file
/trunk/bibliotheque/pear/Pager/Jumping.php
File deleted
\ No newline at end of file
/trunk/bibliotheque/pear/Pager/Sliding.php
File deleted
\ No newline at end of file
/trunk/bibliotheque/pear/Pager/HtmlWidgets.php
File deleted
\ No newline at end of file
/trunk/bibliotheque/pear/Pager/Pager_savebc.php
File deleted
\ No newline at end of file
/trunk/bibliotheque/pear/Pager.php
File deleted
\ No newline at end of file
/trunk/bibliotheque/pear/A_LIRE.txt
File deleted
\ No newline at end of file
/trunk/bibliotheque/noyau/ColModele.php
File deleted
\ No newline at end of file
/trunk/bibliotheque/utilitaires/SquelettePhp.php
File deleted
\ No newline at end of file
/trunk/collection_papyrus.php
File deleted
\ No newline at end of file
/trunk/modeles/RechercheDao.php
File deleted
\ No newline at end of file
/trunk/configurations
Property changes:
Deleted: svn:ignore
-config.ini
/trunk/index.php
2,6 → 2,13
// declare(encoding='UTF-8');
/** Inclusion du fichier principal de l'application*/
require_once 'collection.php';
$contenu_navigation = afficherContenuNavigation();
$contenu_tete = afficherContenuTete();
$contenu_corps = afficherContenuCorps();
$titre = "";
$contenu_pied = afficherContenuPied();
$contenu_menu = afficherContenuMenu();
$erreurs = GestionnaireException::getExceptions();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
11,15 → 18,52
<meta http-equiv="Content-script-type" content="text/javascript" />
<meta http-equiv="Content-language" content="fr" />
 
<title><?=Collection::getMetaTitre(); ?></title>
<meta name="description" content="<?=Collection::getMetaDescription();?>" />
<meta name="keywords" content="<?=Collection::getMetaTags();?>" />
<title><?php echo $titre; ?></title>
 
<meta name="revisit-after" content="15 days" />
<meta name="robots" content="index,follow" />
<meta name="author" content="Tela Botanica" />
 
<link rel="stylesheet" type="text/css" media="screen" href="squelettes/collection.css" />
<style type="text/css" media="screen">
/*--------------------------------------------------------------------------------------------------------------*/
/* Tableau du chronométrage du programme */
#pied_texte #chrono {
text-align: center;
margin:0 auto;}
#chrono table {
display:block;
border:3px solid #6495ed;
border-collapse:collapse;}
#chrono thead, tfoot {
background-color:#D0E3FA;
border:1px solid #6495ed;}
#chrono tbody {
background-color:#FFFFFF;
border:1px solid #6495ed;}
#chrono th {
font-family:monospace;
border:1px dotted #6495ed;
padding:5px;
background-color:#EFF6FF;
width:25%;}
#chrono td {
font-family:sans-serif;
font-size:80%;
border:1px solid #6495ed;
padding:5px;
text-align:center;}
#chrono caption {
font-family:sans-serif;
text-align: center;
width:90%;
margin:auto;}
.debogage{
color:black;
border:3px solid #6495ed;}
.debogage_fichier, .debogage_ligne{
font-size:10px;
color:#A9A9A9;}
</style>
<link rel="shortcut icon" type="image/x-icon" href="http://www.tela-botanica.org/favicon.ico" />
<link rel="icon" type="image/png" href="http://www.tela-botanica.org/sites/commun/generique/images/favicones/tela_botanica.png" />
</head>
33,22 → 77,24
 
<div id="droite">
<div id="onglets">
<?=Collection::getContenuNavigation(); ?>
<?php echo $contenu_navigation; ?>
</div>
<div id="contenu">
<div id="entete">
<?=Collection::getContenuTete(); ?>
<?php echo $contenu_tete; ?>
</div>
<div id="texte">
<?=Collection::getContenuCorps(); ?>
<?php echo $contenu_corps; ?>
</div>
<div id="pied_texte">
<?=Collection::getContenuPied(); ?>
<?php
echo $contenu_pied;
?>
</div>
</div>
</div>
<div>
<?=GestionnaireException::getExceptions(); ?>
<?php echo $erreurs; ?>
</div>
<div id="pied">
<p> &copy;<a href="http://www.tela-botanica.org/" accesskey="1">Tela Botanica</a> / 2000-2010 - Le réseau des Botanistes Francophones</p>
/trunk/squelettes/resultat.tpl.html
File deleted
\ No newline at end of file
/trunk/squelettes/moteur.tpl.html
File deleted
\ No newline at end of file
/trunk/squelettes/collection.css
File deleted
\ No newline at end of file
/trunk/controleurs/Recherche.php
File deleted
\ No newline at end of file
/trunk/controleurs/Collection.php
File deleted
\ No newline at end of file
/trunk/collection.php
1,42 → 1,45
<?php
// declare(encoding='UTF-8');
/**
* Application de consultation des Collections.
* Fichier principal d'initialisation.
* Application
*
* @category PHP5
* @package Collection
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org>
* @copyright 2010 Tela-Botanica
* @license GPL-v3 et CECILL-v2
* @version SVN:<svn_id>
* PHP version 5
*
* @category PHP
* @package Framework
* @author Aurelien PERONNET <aurelien@tela-botanica.org>
* @copyright Tela-Botanica 2009
* @license http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
* @license http://www.gnu.org/licenses/gpl.html Licence GNU-GPL
* @version SVN: $$Id$$
* @link /doc/framework/
*/
 
// La fonction autoload du Framework de Tela Botanica doit être appelée avant tout autre chose dans l'application.
// La fonction autolad doit être appelée avant tout autre chose dans l'application.
// Sinon, rien ne sera chargé.
require_once dirname(__FILE__).'/../framework/framework/autoload.inc.php';
Application::setChemin(__FILE__);
Application::setInfo(Config::get('info'));
/**
* Fonction d'affichage de Papyrus, pour le corps de page
*/
function afficherContenuCorps() {
return 'CONTENU_CORPS';
}
 
// Autoload pour cette application
function __autoload($nom_classe) {
// Tableau des chemins à inclure pour trouver une classe relatif à ce fichier
$chemins = array(
'bibliotheque'.DS.'noyau',
'bibliotheque'.DS.'pear',
'bibliotheque'.DS.'utilitaires',
'composants');
foreach ($chemins as $chemin) {
$fichier_a_inclure = dirname(__FILE__).DS.$chemin.DS.$nom_classe.'.php';
if (file_exists($fichier_a_inclure)) {
include_once $fichier_a_inclure;
return null;
}
}
function afficherContenuTete() {
return 'CONTENU_TETE';
}
 
// Ajout d'information concernant cette application
Application::setChemin(__FILE__);
Application::setInfo(Config::get('info'));
function afficherContenuPied() {
return 'CONTENU_PIED';
}
 
// Lancement de l'application
Collection::initialiser();
function afficherContenuNavigation() {
return 'CONTENU_NAVIGATION';
}
 
function afficherContenuMenu() {
return 'CONTENU_MENU';
}
?>