This commit is contained in:
Michael RICOIS 2016-03-24 14:27:50 +00:00
parent fe876711c4
commit 5942b7f910
3 changed files with 32 additions and 33 deletions

View File

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

View File

@ -39,8 +39,7 @@ $('a.street-heading').click(function(e){
<?php if ($this->AuthorizeUpdate) {?>
<div>
<a class="street-original" href="#">Original</a> -
<a class="street-upload" href="#">Upload</a>
<a class="street-original" href="#">Original</a> - <a class="street-upload" href="#">Upload</a>
</div>
<?php }?>

View File

@ -77,7 +77,7 @@ class Scores_Insee_AvisSituation
$date_creation = 0;
$date_modification = 0;
}
if ($nb>0 && $date_modification<$date_creation+$this->retryDelay){
if ($nb > 0 && $date_modification < $date_creation + $this->retryDelay) {
return true;
} else {
return false;
@ -89,10 +89,10 @@ class Scores_Insee_AvisSituation
$user = new Scores_Utilisateur();
$objet = "AVIS INSEE - (Date :".date("d")."/".date("m")."/".date("Y").")";
$texte = 'Accès impossible au site de situation INSEE : '.
$this->siret.EOL.
'http://avis-situation-sirene.insee.fr'.EOL.
'pour login '.$user->getLogin().EOL;
$texte = "Accès impossible au site de situation INSEE : ".
$this->siret."\n".
"http://avis-situation-sirene.insee.fr"."\n".
"pour login ".$user->getLogin()."\n";
$mail = new Scores_Mail_Method();
$mail->setFromKey('contact');