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

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

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

revision 273 by fraynaud, Thu Dec 15 10:57:59 2011 UTC revision 431 by nhaye, Mon Sep 24 16:29:46 2012 UTC
# Line 8  class blocnote extends blocnote_gen { Line 8  class blocnote extends blocnote_gen {
8      function blocnote($id,&$db,$debug) {      function blocnote($id,&$db,$debug) {
9          $this->constructeur($id,$db,$debug);          $this->constructeur($id,$db,$debug);
10      }// fin constructeur      }// fin constructeur
11        
     function verifier(){  
         $this->correct=True;  
         $imgv="";  
         $f="&nbsp!    ";  
         $imgv="<img src='../app/img/punaise.png' style='vertical-align:middle' hspace='2' border='0'>";  
         if ($this->valF['note']==""){  
             $this->correct=false;  
             $this->msg= $this->msg.$imgv._("note")."&nbsp;"._("obligatoire").$f;  
          }  
     }  
12    
13      function setValsousformulaire(&$form,$maj,$validation,$idxformulaire,$retourformulaire,$typeformulaire){      function setValsousformulaire(&$form,$maj,$validation,$idxformulaire,$retourformulaire,$typeformulaire){
14          if ($validation==0) {          if ($validation==0) {
# Line 55  class blocnote extends blocnote_gen { Line 45  class blocnote extends blocnote_gen {
45                             _('construction'),_('demolition'),_('contentieux'));                             _('construction'),_('demolition'),_('contentieux'));
46          $form->setSelect("categorie",$contenu);          $form->setSelect("categorie",$contenu);
47      }      }
   
     function setTaille(&$form,$maj){  
         $form->setTaille('blocnote', 8);  
         $form->setTaille('categorie', 20);  
         $form->setTaille('note', 100);  
         $form->setTaille('dossier', 12);  
     }  
   
     function setMax(&$form,$maj){  
         $form->setMax('blocnote', 8);  
         $form->setMax('categorie', 20);  
         $form->setMax('dossier', 12);      
         $form->setMax('note', 10);  
     }  
48  }// fin classe  }// fin classe
49  ?>  ?>

Legend:
Removed from v.273  
changed lines
  Added in v.431

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26