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=" ! "; |
|
|
$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")." "._("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) { |
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 |
?> |
?> |