issue #0001733: don`t show geographical information if GeoLat and GeoLon are 0

This commit is contained in:
Arman KYOKCHAN 2013-10-09 13:55:29 +00:00
parent a5e25e1e9d
commit 62745ffc40

View File

@ -2,6 +2,7 @@
<div class="paragraph">
<div id="infogeo" class="clearfix">
<div id="infogeo_txt">
<?php if ( $this->infos->GeoLat && $this->infos->GeoLon ):?>
<span id=geolocalisation>
<b>Information géographique :</b><br/>
Latitude : <?=$this->decLat?> (<?=$this->infos->GeoLat?>)<br />
@ -10,6 +11,7 @@
<a id="lien-google" href="<?=$this->mapsHref?>" target="_blank">
Afficher l'adresse sur Google Map &copy;</a><br/>
<br/>
<?endif;?>
<b>Code commune / Rivoli :</b><br/>
<?=$this->infos->Dept.' '.$this->infos->codeCommune.' / '.$this->infos->Rivoli; ?>
<?php