Skip to content
Snippets Groups Projects

Master

Merged Patrick Barroca requested to merge master into WIP
Compare and
25 files
+ 781
338
Preferences
Compare changes
Files
25
@@ -89,6 +89,7 @@ class Admin_BibController extends ZendAfi_Controller_Action {
return true;
}
public function addlocalisationAction() {
if (!$bib = $this->getBib())
return $this->_redirect('admin/bib');
@@ -99,7 +100,7 @@ class Admin_BibController extends ZendAfi_Controller_Action {
$localisation->setAnimation($default_animation);
if ($this->_checkPost($localisation))
return $this->_redirect('admin/bib/plans/id_bib/'.$bib->getId());
return $this->_redirect('admin/bib/localisations/id_bib/'.$bib->getId());
$this->view->titre = $this->view->_("Nouvelle localisation");
$this->view->localisation = $localisation;
@@ -122,13 +123,13 @@ class Admin_BibController extends ZendAfi_Controller_Action {
}
public function localisationsmajAction() {
public function localisationsmajAction() {
if ((!$bib = $this->getBib())
|| (!$localisation = $this->getLocalisation()))
return $this->_redirect('admin/bib');
$this->_checkPost($localisation);
$this->_checkPost($localisation);
// Plans