645 |
function setVal(&$form,$maj,$validation){ |
function setVal(&$form,$maj,$validation){ |
646 |
$this->maj=$maj; |
$this->maj=$maj; |
647 |
|
|
648 |
if($this->getVal('geom') != "") { |
if($this->getVal('geom') != "" |
649 |
|
&& $this->f->getParameter('option_sig') == 'sig_externe' |
650 |
|
&& $this->f->issetSIGParameter() === true) { |
651 |
$form->setVal('geom', |
$form->setVal('geom', |
652 |
"<a id='action-form-localiser'". |
"<a id='action-form-localiser'". |
653 |
" target='_blank' href='../app/redirect_plan_sig.php?idx=".$this->getVal("dossier")."'>". |
" target='_blank' href='../app/redirect_plan_sig.php?idx=".$this->getVal("dossier")."'>". |
654 |
"<span class='om-icon om-icon-16 om-icon-fix sig-16' title='Localiser'>Localiser</span> ". |
"<span class='om-icon om-icon-16 om-icon-fix sig-16' title='Localiser'>Localiser</span> ". |
655 |
$this->getVal('geom'). |
$this->getVal('geom'). |
656 |
" </a>"); |
" </a>"); |
|
} else { |
|
|
$form->setVal('geom', ''); |
|
657 |
} |
} |
658 |
if ($validation==0) { |
if ($validation==0) { |
659 |
if ($maj == 0){ |
if ($maj == 0){ |