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

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

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

revision 502 by vpihour, Mon Oct 15 16:22:36 2012 UTC revision 507 by vpihour, Tue Oct 16 15:18:58 2012 UTC
# Line 56  class service extends service_gen { Line 56  class service extends service_gen {
56      function setVal(&$form,$maj,$validation){      function setVal(&$form,$maj,$validation){
57    
58          if ($maj > 1){          if ($maj > 1){
59              //Traitement des données pour l'affichage              //Traitement des données pour l'affichage du select
60              $temp = $this->val[array_search('type_consultation', array_keys($form->val))];              $temp = $this->val[array_search('type_consultation', array_keys($form->val))];
61                            
62              if ( strcmp($temp, 'pour_information') == 0 ){              if ( strcmp($temp, 'pour_information') == 0 ){
# Line 77  class service extends service_gen { Line 77  class service extends service_gen {
77          }          }
78      }      }
79            
80      //Formatage des intitulés des champs.      
     function setLib(&$form,$maj) {  
         parent::setLib($form,$maj);  
         $form->setLib('abrege','Abrégé');  
         $form->setLib('libelle','Libellé');  
         $form->setLib('adresse','Adresse');  
         $form->setLib('adresse2','Complément d\'adresse');  
         $form->setLib('cp','Code postal');  
         $form->setLib('ville','Ville');  
         $form->setLib('email','Email');  
         $form->setLib('type_consultation','Type de consultation');  
         $form->setLib('type_consultation','Type de consultation');  
         $form->setLib('consultation_papier','Consultation papier');  
         $form->setLib('om_validite_debut','Debut de validité');  
         $form->setLib('om_validite_fin','Fin de validité');  
     }  
81  }// fin classe  }// fin classe
82  ?>  ?>

Legend:
Removed from v.502  
changed lines
  Added in v.507

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26