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

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

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

revision 401 by fraynaud, Fri Feb 3 21:59:29 2012 UTC revision 402 by nhaye, Thu Sep 20 14:36:44 2012 UTC
# Line 9  class bible extends bible_gen { Line 9  class bible extends bible_gen {
9          $this->constructeur($id,$db,$debug);          $this->constructeur($id,$db,$debug);
10      }// fin constructeur      }// fin constructeur
11            
     function verifier($val,&$db,$DEBUG) {  
         parent::verifier($val,$db,$DEBUG);  
         $f="&nbsp!    ";  
         $imgv="<img src='../app/img/punaise.png' style='vertical-align:middle' hspace='2' border='0'>";  
         if ($this->valF['contenu']==""){  
            $this->correct=false;  
            $this->msg= $this->msg.$imgv.  
                     _("contenu")."&nbsp;".  
                     _("obligatoire").$f;  
         }  
     }  
12    
13      function setType(&$form,$maj) {      function setType(&$form,$maj) {
14          parent::setType($form,$maj);          parent::setType($form,$maj);
# Line 55  class bible extends bible_gen { Line 44  class bible extends bible_gen {
44          $form->setSelect("automatique",$contenu);          $form->setSelect("automatique",$contenu);
45      }      }
46    
47      function setMax(&$form,$maj){  
         parent::setMax($form,$maj);  
         $form->setMax('libelle', 70);  
     }  
       
     function setTaille(&$form,$maj){  
         parent::setTaille($form,$maj);  
         $form->setTaille('libelle', 70);  
     }  
48  }// fin classe  }// fin classe
49  ?>  ?>

Legend:
Removed from v.401  
changed lines
  Added in v.402

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26