Dirigeants : Send day in search parameters

This commit is contained in:
Michael RICOIS 2013-10-07 14:21:30 +00:00
parent 9399f19ada
commit 3658513eed
2 changed files with 5 additions and 5 deletions

View File

@ -52,7 +52,7 @@ class RechercheController extends Zend_Controller_Action
}
$this->view->assign('form', $form);
}
/**
* Affiche le formulaire de recherche WorldCheck
*/
@ -374,7 +374,7 @@ class RechercheController extends Zend_Controller_Action
if ($nbField==0){
$this->_redirect('/recherche/'.$action);
}
//Worldcheck - Vérification si les champs demandés (NOM et TYPE) ont été saisie
if ($type=='wcheck')
{
@ -384,7 +384,7 @@ class RechercheController extends Zend_Controller_Action
$this->_redirect('/recherche/worldcheck');
break;
}
}
}
}
//Redirection
@ -406,7 +406,7 @@ class RechercheController extends Zend_Controller_Action
//Worldcheck
} elseif ($type == 'wcheck' ) {
$this->_forward('index', 'worldcheck', null, $params);
//Recherche
//Recherche
} else {
$user = new Scores_Utilisateur();

View File

@ -64,7 +64,7 @@ table.data td { border:1px solid #ccc; padding:5px; }
'type' => 'dir',
'dirNom' => $dir->Nom,
'dirPrenom' => $dir->Prenom,
'dirNaissJJ' => substr($dir->NaissDate,0,2),
'dirDateNaissJJ' => substr($dir->NaissDate,0,2),
'dirDateNaissMM' => substr($dir->NaissDate,3,2),
'dirDateNaissAAAA' => substr($dir->NaissDate,6,4),
'dirCpVille' => $dir->NaissVille,