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

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

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

revision 170 by fraynaud, Tue Oct 4 15:54:36 2011 UTC revision 407 by nhaye, Thu Sep 20 16:39:06 2012 UTC
# Line 14  class parametre extends parametre_gen { Line 14  class parametre extends parametre_gen {
14          if ($maj < 2) { //ajouter et modifier          if ($maj < 2) { //ajouter et modifier
15            $form->setType('sitadel', 'checkbox');            $form->setType('sitadel', 'checkbox');
16                    $form->setType('actif', 'checkbox');                    $form->setType('actif', 'checkbox');
17              $form->setType('type_champ', 'select');
18          }          }
19      }      }
20    
21    
22        function setSelect(&$form, $maj,&$db,$debug) {
23                parent:: setSelect($form, $maj,$db,$debug) ;
24                $contenu=array();
25                $contenu[0]=array('text','numeric','select');
26                $contenu[1]=array('text','numeric','select');
27                $form->setSelect("type_champ",$contenu);
28        }
29  }// fin classe  }// fin classe
30  ?>  ?>

Legend:
Removed from v.170  
changed lines
  Added in v.407

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26