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 |
|
|
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 |
|
|