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

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

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

revision 3 by fraynaud, Thu Feb 10 20:46:18 2011 UTC revision 382 by nhaye, Wed Sep 19 09:28:55 2012 UTC
# Line 22  class om_collectivite extends om_collect Line 22  class om_collectivite extends om_collect
22    
23      function verifier($val, &$db, $DEBUG) {      function verifier($val, &$db, $DEBUG) {
24          parent::verifier($val, $db, $DEBUG);          parent::verifier($val, $db, $DEBUG);
25          $f="&nbsp!    ";  
26          $imgv="<img src='../img/punaise.png' style='vertical-align:middle' hspace='2' border='0'>";          if ($this->correct) {
         if ($this->valF['niveau']==""){  
             $this->msg= $this->msg.$imgv._('niveau')."&nbsp;"._('obligatoire').$f;  
             $this->correct=False;  
         }else  
27              // verification si il y a une autre collectivite multi              // verification si il y a une autre collectivite multi
28              if($this->valF['niveau']==2)              if($this->valF['niveau']==2) {
29                  if($this->maj==0)                  if($this->maj==0) {
30                      $this->verifierniveau($db, $DEBUG,']');                      $this->verifierniveau($db, $DEBUG,']');
31                  else                  } else {
32                      $this->verifierniveau($db, $DEBUG,$val['om_collectivite']);                      $this->verifierniveau($db, $DEBUG,$val['om_collectivite']);
33                    }
34                }
35            }
36      }      }
37    
38      function setSelect(&$form, $maj,$db,$debug) {      function setSelect(&$form, $maj,$db,$debug) {

Legend:
Removed from v.3  
changed lines
  Added in v.382

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26