-added help page

-added additional user info
This commit is contained in:
martin 2011-02-11 18:13:26 -05:00
parent 4cf5a46c67
commit 43f7f8e103
14 changed files with 159 additions and 6 deletions

View file

@ -47,6 +47,26 @@ class Application_Form_AddUser extends Zend_Form
$lastName->addValidator('NotEmpty');
$this->addElement($lastName);
$email = new Zend_Form_Element_Text('email');
$email->setLabel('Email:');
$email->setAttrib('class', 'input_text');
$email->addFilter('StringTrim');
$email->addValidator('EmailAddress');
$this->addElement($email);
$skype = new Zend_Form_Element_Text('skype');
$skype->setLabel('Skype:');
$skype->setAttrib('class', 'input_text');
$skype->addFilter('StringTrim');
$this->addElement($skype);
$jabber = new Zend_Form_Element_Text('jabber');
$jabber->setLabel('Jabber:');
$jabber->setAttrib('class', 'input_text');
$jabber->addFilter('StringTrim');
$jabber->addValidator('EmailAddress');
$this->addElement($jabber);
$select = new Zend_Form_Element_Select('type');
$select->setAttrib('class', 'input_select');
$select->setAttrib('style', 'width: 40%');