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

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

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

revision 673 by fmichon, Mon Nov 12 17:18:43 2012 UTC revision 674 by nhaye, Tue Nov 13 11:05:41 2012 UTC
# Line 41  class consultation extends consultation_ Line 41  class consultation extends consultation_
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          }          }
# Line 130  class consultation extends consultation_ Line 130  class consultation extends consultation_
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
# Line 149  class consultation extends consultation_ Line 149  class consultation extends consultation_
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      }      }

Legend:
Removed from v.673  
changed lines
  Added in v.674

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26