Subversion Repositories eFlore/Applications.coel-consultation

Compare Revisions

Ignore whitespace Rev 82 → Rev 83

/trunk/controleurs/Collection.php
30,8 → 30,8
* Constructeur vide
*/
public function __construct() {
$meta = array('titre' => '', 'description' => '', 'tags' => '');
$sortie = array('metadonnees' => $meta, 'corps' => '', 'tete' => '', 'pied' => '', 'navigation' => '');
$sortie = array('titre' => '', 'description' => '', 'tags' => '',
'corps' => '', 'tete' => '', 'pied' => '', 'navigation' => '');
$url = new Url(Config::get('url_base'));
self::$parametres = array( 'module' => 'Recherche',
'action' => 'executerActionParDefaut',
/trunk/collection.php
9,7 → 9,7
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org>
* @copyright 2010 Tela-Botanica
* @license GPL-v3 et CECILL-v2
* @version SVN:<svn_id>
* @version $Id$
*/
// Autoload pour cette application
function __autoload($nom_classe) {
/trunk/collection_papyrus.php
29,6 → 29,20
GEN_stockerFichierScript('jquery-1.4.2', $chemin.'js'.DS.'jquery-1.4.2.min.js');
GEN_stockerFichierScript('jquery-ui-1.8.custom', $chemin.'js'.DS.'jquery-ui-1.8.custom.min.js');
 
// +--------------------------------------------------------------------------------------------------+
// Remplacement de méta tags fournit par Papyrus par ceux créés dans l'appli
if (!empty(Collection::getMetaTitre())) {
$GLOBALS['_PAPYRUS_']['rendu']['TITRE_PAGE'] = Collection::getMetaTitre();
}
if (!empty(Collection::getMetaDescription())) {
GEN_modifierMetaName('description', Collection::getMetaDescription());
}
if (!empty(Collection::getMetaTags())) {
GEN_modifierMetaName('keywords', Collection::getMetaTags());
}
 
// +--------------------------------------------------------------------------------------------------+
// Fonctions d'affichage dans Papyrus
/**
* Fonction d'affichage de Papyrus, pour le corps de page.
*/