Esempio n. 1
0
 public function __construct($sel, &$container, $reset = false)
 {
     parent::__construct($sel, $container, $reset);
     $ctrl = new jFormsControlinput('name');
     $ctrl->label = 'Name : ';
     $this->addControl($ctrl);
     $ctrl = new jFormsControldate('date_debut');
     $ctrl->label = 'Date de Debut';
     $this->addControl($ctrl);
     $ctrl = new jFormsControldate('date_fin');
     $ctrl->label = 'Date de fin';
     $this->addControl($ctrl);
     $ctrl = new jFormsControlinput('horaires');
     $ctrl->label = 'Horaires';
     $this->addControl($ctrl);
     $ctrl = new jFormsControlinput('adresse');
     $ctrl->label = 'Adresse : ';
     $this->addControl($ctrl);
     $ctrl = new jFormsControlupload('flyer');
     $ctrl->label = 'Flyer';
     $ctrl->maxsize = 20000000;
     $this->addControl($ctrl);
     $ctrl = new jFormsControlhtmleditor('description');
     $ctrl->label = '';
     $ctrl->config = 'full';
     $this->addControl($ctrl);
     $ctrl = new jFormsControlsubmit('_submit');
     $ctrl->label = 'ok';
     $ctrl->datasource = new jFormsStaticDatasource();
     $this->addControl($ctrl);
 }
Esempio n. 2
0
 public function __construct($sel, &$container, $reset = false)
 {
     parent::__construct($sel, $container, $reset);
     $ctrl = new jFormsControlinput('name');
     $ctrl->label = jLocale::get('jPicasa~common.forms.input.name');
     $this->addControl($ctrl);
     $ctrl = new jFormsControlsubmit('_submit');
     $ctrl->label = jLocale::get('jPicasa~common.search');
     $ctrl->datasource = new jFormsStaticDatasource();
     $this->addControl($ctrl);
 }
 public function __construct($sel, &$container, $reset = false)
 {
     parent::__construct($sel, $container, $reset);
     $ctrl = new jFormsControlinput('email');
     $ctrl->label = 'Email : ';
     $this->addControl($ctrl);
     $ctrl = new jFormsControlsubmit('_submit');
     $ctrl->label = 'ok';
     $ctrl->datasource = new jFormsStaticDatasource();
     $this->addControl($ctrl);
 }
 public function __construct($sel, &$container, $reset = false)
 {
     parent::__construct($sel, $container, $reset);
     $ctrl = new jFormsControlhtmleditor('text');
     $ctrl->label = '';
     $ctrl->config = 'full';
     $this->addControl($ctrl);
     $ctrl = new jFormsControlhidden('name');
     $this->addControl($ctrl);
     $ctrl = new jFormsControlsubmit('_submit');
     $ctrl->label = 'ok';
     $ctrl->datasource = new jFormsStaticDatasource();
     $this->addControl($ctrl);
 }
Esempio n. 5
0
 public function __construct($sel, &$container, $reset = false)
 {
     parent::__construct($sel, $container, $reset);
     $ctrl = new jFormsControlinput('name');
     $ctrl->label = 'Name : ';
     $this->addControl($ctrl);
     $ctrl = new jFormsControlupload('file');
     $ctrl->label = 'Fichier';
     $ctrl->maxsize = 20000000;
     $this->addControl($ctrl);
     $ctrl = new jFormsControlsubmit('_submit');
     $ctrl->label = 'ok';
     $ctrl->datasource = new jFormsStaticDatasource();
     $this->addControl($ctrl);
 }
Esempio n. 6
0
 public function __construct($sel, &$container, $reset = false)
 {
     parent::__construct($sel, $container, $reset);
     $ctrl = new jFormsControlhidden('albumId');
     $this->addControl($ctrl);
     $ctrl = new jFormsControlinput('name');
     $ctrl->label = 'Your name';
     $this->addControl($ctrl);
     $ctrl = new jFormsControltextarea('comment');
     $ctrl->label = '';
     $ctrl->cols = 30;
     $this->addControl($ctrl);
     $ctrl = new jFormsControlsubmit('_submit');
     $ctrl->label = 'Ok';
     $ctrl->datasource = new jFormsStaticDatasource();
     $this->addControl($ctrl);
 }
Esempio n. 7
0
 public function __construct($sel, &$container, $reset = false)
 {
     parent::__construct($sel, $container, $reset);
     $ctrl = new jFormsControlinput('login');
     $ctrl->required = true;
     $ctrl->datatype->addFacet('maxLength', 50);
     $ctrl->label = 'Login :'******'nickname');
     $ctrl->required = true;
     $ctrl->datatype->addFacet('maxLength', 50);
     $ctrl->label = 'Pseudonyme :';
     $this->addControl($ctrl);
     $ctrl = new jFormsControlinput('pwd');
     $ctrl->required = true;
     $ctrl->datatype->addFacet('maxLength', 50);
     $ctrl->label = 'Mot de passe :';
     $this->addControl($ctrl);
     $ctrl = new jFormsControlinput('pwd2');
     $ctrl->required = true;
     $ctrl->datatype->addFacet('maxLength', 50);
     $ctrl->label = 'Mot de passe (répéter):';
     $this->addControl($ctrl);
     $ctrl = new jFormsControlinput('loc');
     $ctrl->datatype->addFacet('maxLength', 255);
     $ctrl->label = 'Localisation :';
     $this->addControl($ctrl);
     $ctrl = new jFormsControlinput('email');
     $ctrl->required = true;
     $ctrl->datatype->addFacet('maxLength', 255);
     $ctrl->label = 'Adresse courriel :';
     $this->addControl($ctrl);
     $ctrl = new jFormsControlsubmit('_submit');
     $ctrl->label = 'S\'inscrire';
     $ctrl->datasource = new jFormsStaticDatasource();
     $this->addControl($ctrl);
 }