/[openfoncier]/trunk/obj/dossier.class.php
ViewVC logotype

Diff of /trunk/obj/dossier.class.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2312 by vpihour, Mon Sep 16 16:25:21 2013 UTC revision 2313 by softime, Wed Sep 18 15:31:34 2013 UTC
# Line 645  class dossier extends dossier_gen { Line 645  class dossier extends dossier_gen {
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){

Legend:
Removed from v.2312  
changed lines
  Added in v.2313

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26