Gestion des liens annonces dans les mails
This commit is contained in:
parent
15338de077
commit
22a0d7e1f4
@ -8,7 +8,22 @@ class IndexController extends Zend_Controller_Action
|
||||
|
||||
public function indexAction()
|
||||
{
|
||||
$this->_forward('entreprise', 'recherche');
|
||||
$request = $this->getRequest();
|
||||
$page = $request->getParam('page');
|
||||
if ($page == 'annonces')
|
||||
{
|
||||
$siret = $request->getParam('siret');
|
||||
$source = $request->getParam('source');
|
||||
$idAnn = $request->getParam('idAnn');
|
||||
$lien = '/juridique/annonces/siret/'.$siret;
|
||||
if (!empty($source)) $lien.= '/source/'.$source;
|
||||
if (!empty($idAnn)) $lien.= '/idAnn/'.$idAnn;
|
||||
$this->_redirect($lien);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->_forward('entreprise', 'recherche');
|
||||
}
|
||||
}
|
||||
|
||||
public function portefeuillecsvAction()
|
||||
|
Loading…
x
Reference in New Issue
Block a user