Streetview : Add the siret in the request
This commit is contained in:
parent
f70a32303a
commit
b51a1210e8
@ -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();
|
||||
|
@ -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)?>"><</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)?>">></a>
|
||||
</div>
|
||||
<script>
|
||||
|
Loading…
Reference in New Issue
Block a user