Parent Directory | Revision Log | Patch
revision 147 by fraynaud, Wed Sep 28 20:10:23 2011 UTC | revision 152 by fraynaud, Thu Sep 29 15:23:51 2011 UTC | |
---|---|---|
# | Line 21 class parcelle extends parcelle_gen { | Line 21 class parcelle extends parcelle_gen { |
21 | $this->correct=true; | $this->correct=true; |
22 | } | } |
23 | ||
24 | function setType(&$form,$maj) { | |
25 | parent::setType($form,$maj); | |
26 | if ($maj < 2) { //ajouter et modifier | |
27 | $form->setType('geom', 'hidden'); | |
28 | $form->setType('section', 'hidden'); | |
29 | $form->setType('commune', 'hidden'); | |
30 | } | |
31 | } | |
32 | ||
33 | ||
34 | function setTaille(&$form, $maj) { | function setTaille(&$form, $maj) { |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |