41 |
$this->val[array_search("avis_consultation",$this->champs)] != $val["avis_consultation"] OR |
$this->val[array_search("avis_consultation",$this->champs)] != $val["avis_consultation"] OR |
42 |
$this->val[array_search("date_retour",$this->champs)] != $val["date_retour"] OR |
$this->val[array_search("date_retour",$this->champs)] != $val["date_retour"] OR |
43 |
$this->val[array_search("motivation",$this->champs)] != $val["motivation"] OR |
$this->val[array_search("motivation",$this->champs)] != $val["motivation"] OR |
44 |
$this->val[array_search("fichier",$this->champs)] != $val["fichier"] ) |
$this->val[array_search("fichier",$this->champs)] != $val["fichier"]) |
45 |
) { |
) { |
46 |
$this->valF["lu"]=false; |
$this->valF["lu"]=false; |
47 |
} |
} |
130 |
$form->setType('fichier', 'tmpUpload'); |
$form->setType('fichier', 'tmpUpload'); |
131 |
} else { |
} else { |
132 |
// Si non on affiche uniquement le nom du fichier |
// Si non on affiche uniquement le nom du fichier |
133 |
$form->setType('fichier', 'hiddenstatic'); |
$form->setType('fichier', 'tmpUploadStatic'); |
134 |
} |
} |
135 |
|
|
136 |
// Modification layout : écran de retour d'avis permettant |
// Modification layout : écran de retour d'avis permettant |
149 |
} |
} |
150 |
|
|
151 |
} |
} |
152 |
|
// MODE - CONSULTER |
153 |
|
if ( $maj == 3 ) { |
154 |
|
$form->setType('fichier', 'tmpUploadStatic'); |
155 |
|
} |
156 |
//// On cache la clé primaire |
//// On cache la clé primaire |
157 |
//$form->setType('consultation', 'hidden'); |
//$form->setType('consultation', 'hidden'); |
158 |
} |
} |