form.php 979 B

1234567891011121314
  1. <?php
  2. global $lang, $app;
  3. $config->company->form = new stdclass();
  4. $config->company->form->edit = array();
  5. $config->company->form->edit['name'] = array('required' => true, 'type' => 'string', 'filter' => 'trim');
  6. $config->company->form->edit['phone'] = array('required' => false, 'type' => 'string', 'default' => '');
  7. $config->company->form->edit['fax'] = array('required' => false, 'type' => 'string', 'default' => '');
  8. $config->company->form->edit['address'] = array('required' => false, 'type' => 'string', 'default' => '');
  9. $config->company->form->edit['zipcode'] = array('required' => false, 'type' => 'string', 'default' => '');
  10. $config->company->form->edit['website'] = array('required' => false, 'type' => 'string', 'default' => '');
  11. $config->company->form->edit['backyard'] = array('required' => false, 'type' => 'string', 'default' => '');
  12. $config->company->form->edit['guest'] = array('required' => false, 'type' => 'int', 'default' => 0);