Subversion Repositories eFlore/Applications.coel-consultation

Compare Revisions

Regard whitespace Rev 263 → Rev 264

/trunk/squelettes/moteur.tpl.html
47,7 → 47,7
<input name="action" type="hidden" value="<?=$url_action;?>" />
<?php if (isset($url_contexte)) : ?>
<input name="contexte" type="hidden" value="<?=$url_contexte;?>" />
<? endif; ?>
<?php endif; ?>
 
<input name="masque[cible]" type="hidden" value="collections" />
 
118,7 → 118,7
<input name="action" type="hidden" value="<?=$url_action;?>" />
<?php if (isset($url_contexte)) : ?>
<input name="contexte" type="hidden" value="<?=$url_contexte;?>" />
<? endif; ?>
<?php endif; ?>
 
<input name="masque[cible]" type="hidden" value="personnes" />
 
199,4 → 199,4
</div>
</div>
</div>
<!-- COL - FIN MOTEUR RECHERCHE -->
<!-- COeL - FIN MOTEUR RECHERCHE -->
/trunk/bibliotheque/pear/Pager/Common.php
1180,7 → 1180,7
function getPerPageSelectBox($start=5, $end=30, $step=5, $showAllData=false, $extraParams=array())
{
require_once 'Pager/HtmlWidgets.php';
$widget =& new Pager_HtmlWidgets($this);
$widget = new Pager_HtmlWidgets($this);
return $widget->getPerPageSelectBox($start, $end, $step, $showAllData, $extraParams);
}
 
1204,7 → 1204,7
function getPageSelectBox($params = array(), $extraAttributes = '')
{
require_once 'Pager/HtmlWidgets.php';
$widget =& new Pager_HtmlWidgets($this);
$widget = new Pager_HtmlWidgets($this);
return $widget->getPageSelectBox($params, $extraAttributes);
}
 
/trunk/bibliotheque/pear/Pager/Sliding.php
63,7 → 63,7
* and their values
* @access public
*/
function Pager_Sliding($options = array())
function __construct($options = array())
{
//set default Pager_Sliding options
$this->_delta = 2;
143,7 → 143,7
* @return array back/pages/next/first/last/all links
* @access public
*/
function getLinks($pageID = null)
function getLinks($pageID = null, $next_html = '')
{
if ($pageID != null) {
$_sav = $this->_currentPage;
/trunk/controleurs/Recherche.php
143,6 → 143,7
if (isset($masque['cible'])) {
switch ($masque['cible']) {
case 'collections':
if (! empty($resultats)) {
foreach ($resultats as $resultat) {
// Ajout des données concernant la structure si ce n'est pas déjà fait
$structure_id = $resultat['cs_id_structure'];
164,9 → 165,11
$donnees['infos'][$structure_id]['collections'][] = $collection;
}
}
}
break;
case 'personnes':
if (! empty($resultats)) {
foreach ($resultats as $resultat) {
//echo "<pre>".print_r($resultat,true)."</pre>";
if (!empty($resultat['cp_id_personne'])) {
179,6 → 182,7
$donnees['infos']['personnes'][] = $personne;
}
}
}
break;
default:
/trunk/collection.php
44,11 → 44,15
Application::setChemin(__FILE__);// Obligatoire
Application::setInfo(Config::get('info'));
 
// Lancement du débogage si nécessaire
if (Config::get('chronometrage')) {
Chronometre::chrono('Collection.php - début');
}
// Lancement de l'application
restore_exception_handler();
restore_error_handler();
error_reporting(E_ALL);
AppControleur::initialiser();
}
?>