diff --git a/include/class.dynamic_forms.php b/include/class.dynamic_forms.php index ca09066889eb2d6d6fae72b8ca916bdad2a929ea..e40e037f6f99409981204c942d7040432d4a5909 100644 --- a/include/class.dynamic_forms.php +++ b/include/class.dynamic_forms.php @@ -148,22 +148,6 @@ class UserForm extends DynamicForm { return $os->filter(array('type'=>'U')); } - function getFields($cache=true) { - $fields = parent::getFields($cache); - foreach ($fields as $f) { - if ($f->get('name') == 'email') { - $f->getConfiguration(); - $f->_config['classes'] = 'auto email typeahead'; - $f->_config['autocomplete'] = false; - } - elseif ($f->get('name') == 'name') { - $f->getConfiguration(); - $f->_config['classes'] = 'auto name'; - } - } - return $fields; - } - static function getUserForm() { if (!isset(static::$form)) { $o = static::objects(); diff --git a/include/staff/ticket-open.inc.php b/include/staff/ticket-open.inc.php index 489d45ed425d67a85a81ec4132c212c030619247..fe8c38256fc5ce68dc7a191406ffca2d3344aee9 100644 --- a/include/staff/ticket-open.inc.php +++ b/include/staff/ticket-open.inc.php @@ -66,7 +66,7 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info); autocomplete="off" autocorrect="off" value="<?php echo $info['email']; ?>" /> </span> <font class="error">* <?php echo $errors['email']; ?></font> </td> - </td> + </tr> <tr> <td width="160" class="required"> Full Name: </td> <td> @@ -74,7 +74,7 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info); <input type="text" size=45 name="name" id="user-name" value="<?php echo $info['name']; ?>" /> </span> <font class="error">* <?php echo $errors['name']; ?></font> </td> - </td> + </tr> <?php } ?>