737 |
|
|
738 |
function setLib(&$form,$maj) { |
function setLib(&$form,$maj) { |
739 |
parent::setLib($form,$maj); |
parent::setLib($form,$maj); |
740 |
|
$form->setLib('servitude',_('contraintes')); |
741 |
$form->setLib('geom',_('centroide')); |
$form->setLib('geom',_('centroide')); |
742 |
$form->setLib('date_limite',_("date limite d'instruction")); |
$form->setLib('date_limite',_("date limite d'instruction")); |
743 |
$form->setLib('delai',_("delai d'instruction")); |
$form->setLib('delai',_("delai d'instruction")); |
824 |
|
|
825 |
|
|
826 |
|
|
827 |
$form->setRegroupe('description','D',_('description').' '._('servitude'), $this->aff_amenagement); |
$form->setRegroupe('description','D',_('description').' '._('contraintes'), $this->aff_amenagement); |
828 |
$form->setRegroupe('servitude','F',''); |
$form->setRegroupe('servitude','F',''); |
829 |
|
|
830 |
|
|
1336 |
if (database:: isError($res)) die($res1->getMessage()."erreur ".$sql); |
if (database:: isError($res)) die($res1->getMessage()."erreur ".$sql); |
1337 |
$this->addToLog("requete :".$sql." executee ", VERBOSE_MODE); |
$this->addToLog("requete :".$sql." executee ", VERBOSE_MODE); |
1338 |
while ($row=& $res->fetchRow(DB_FETCHMODE_ASSOC)){ |
while ($row=& $res->fetchRow(DB_FETCHMODE_ASSOC)){ |
1339 |
$this->addToMessage("<br>"._("servitude")." : ".$row['libelle']." - ".$row['observation']); |
$this->addToMessage("<br>"._("contraintes")." : ".$row['libelle']." - ".$row['observation']); |
1340 |
$this->servitude.=" [".$row['libelle']."] ".$row['observation']." - "; |
$this->servitude.=" [".$row['libelle']."] ".$row['observation']." - "; |
1341 |
} |
} |
1342 |
} |
} |
1349 |
if (database:: isError($res)) die($res1->getMessage()."erreur ".$sql); |
if (database:: isError($res)) die($res1->getMessage()."erreur ".$sql); |
1350 |
$this->addToLog("requete :".$sql." executee ", VERBOSE_MODE); |
$this->addToLog("requete :".$sql." executee ", VERBOSE_MODE); |
1351 |
while ($row=& $res->fetchRow(DB_FETCHMODE_ASSOC)){ |
while ($row=& $res->fetchRow(DB_FETCHMODE_ASSOC)){ |
1352 |
$this->addToMessage("<br>"._("servitude")." : ".$row['libelle']." - ".$row['observation']." a ".round($row['distance'],2)." m "); |
$this->addToMessage("<br>"._("contraintes")." : ".$row['libelle']." - ".$row['observation']." a ".round($row['distance'],2)." m "); |
1353 |
$this->servitude.=" [".$row['libelle']."] ".$row['observation']." a ".round($row['distance'],2)." m - "; |
$this->servitude.=" [".$row['libelle']."] ".$row['observation']." a ".round($row['distance'],2)." m - "; |
1354 |
} |
} |
1355 |
} |
} |