Streetview : Add the siret in the request

This commit is contained in:
Michael RICOIS 2013-11-25 20:31:30 +00:00
parent f70a32303a
commit b51a1210e8
2 changed files with 3 additions and 2 deletions

View File

@ -1157,6 +1157,7 @@ class IdentiteController extends Zend_Controller_Action
{
$request = $this->getRequest();
$siret = $request->getParam('siret');
$this->view->assign('siret', $siret);
if ( $request->isXmlHttpRequest() ) {
$this->_helper->layout()->disableLayout();

View File

@ -3,11 +3,11 @@
<img id="pp-cb-thumb" src="<?=$this->url?>" width="320" height="320" />
<div>
<a class="street-heading" href="<?=$this->url(array(
'controller'=>'identite','action'=>'streetview',
'controller'=>'identite','action'=>'streetview', 'siret'=> $this->siret,
'lat'=>$this->lat, 'lon'=>$this->lon, 'heading'=>$this->pagePrec), null, true)?>">&lt;</a>
-
<a class="street-heading" href="<?=$this->url(array(
'controller'=>'identite', 'action'=>'streetview',
'controller'=>'identite', 'action'=>'streetview', 'siret'=> $this->siret,
'lat'=>$this->lat, 'lon'=>$this->lon, 'heading'=>$this->pageSuiv), null, true)?>">&gt;</a>
</div>
<script>