/[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 4 by fraynaud, Thu Feb 10 22:02:08 2011 UTC revision 8 by fraynaud, Mon Feb 14 16:02:14 2011 UTC
# Line 16  class bible extends bible_gen { Line 16  class bible extends bible_gen {
16          if ($this->valF['contenu']==""){          if ($this->valF['contenu']==""){
17             $this->correct=false;             $this->correct=false;
18             $this->msg= $this->msg.$imgv.             $this->msg= $this->msg.$imgv.
19                      $this->lang("contenu")." ".                      _("contenu")." ".
20                      $this->lang("obligatoire").$f;                      _("obligatoire").$f;
21          }          }
22      }      }
23    
# Line 27  class bible extends bible_gen { Line 27  class bible extends bible_gen {
27              $form->setType('evenement', 'hiddenstatic');              $form->setType('evenement', 'hiddenstatic');
28              $form->setType('complement', 'select');              $form->setType('complement', 'select');
29              $form->setType('automatique', 'select');              $form->setType('automatique', 'select');
             if ($maj==1){  
                $form->setType('bible', 'hiddenstatic');  
         }else  
             $form->setType('bible', 'hidden');  
30          }          }
31      }      }
32            

Legend:
Removed from v.4  
changed lines
  Added in v.8

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26