did some reformatting.
This commit is contained in:
parent
e796d4c03d
commit
ca66073fb5
|
@ -18,8 +18,11 @@ class Application_Form_RegisterAirtime extends Zend_Form
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->setDecorators(array(
|
$this->setDecorators(array(
|
||||||
array('ViewScript', array('viewScript' => 'form/register-dialog.phtml', 'privacyChecked'=>$privacyChecked)),
|
array('ViewScript', array('viewScript' =>
|
||||||
array('File', array('viewScript' => 'form/register-dialog.phtml', 'placement' => false)))
|
'form/register-dialog.phtml', 'privacyChecked'=>$privacyChecked)),
|
||||||
|
|
||||||
|
array('File', array('viewScript' => 'form/register-dialog.phtml',
|
||||||
|
'placement' => false)))
|
||||||
);
|
);
|
||||||
|
|
||||||
// Station Name
|
// Station Name
|
||||||
|
@ -36,7 +39,7 @@ class Application_Form_RegisterAirtime extends Zend_Form
|
||||||
'label' => 'Phone:',
|
'label' => 'Phone:',
|
||||||
'required' => false,
|
'required' => false,
|
||||||
'filters' => array('StringTrim'),
|
'filters' => array('StringTrim'),
|
||||||
'value' => Application_Model_Preference::GetPhone(),
|
'value' => Application_Model_Preference::GetPhone(),
|
||||||
'decorators' => array(
|
'decorators' => array(
|
||||||
'ViewHelper'
|
'ViewHelper'
|
||||||
)
|
)
|
||||||
|
@ -48,7 +51,7 @@ class Application_Form_RegisterAirtime extends Zend_Form
|
||||||
'label' => 'Email:',
|
'label' => 'Email:',
|
||||||
'required' => false,
|
'required' => false,
|
||||||
'filters' => array('StringTrim'),
|
'filters' => array('StringTrim'),
|
||||||
'value' => Application_Model_Preference::GetEmail(),
|
'value' => Application_Model_Preference::GetEmail(),
|
||||||
'decorators' => array(
|
'decorators' => array(
|
||||||
'ViewHelper'
|
'ViewHelper'
|
||||||
)
|
)
|
||||||
|
@ -68,10 +71,10 @@ class Application_Form_RegisterAirtime extends Zend_Form
|
||||||
// county list dropdown
|
// county list dropdown
|
||||||
$this->addElement('select', 'Country', array(
|
$this->addElement('select', 'Country', array(
|
||||||
'label' => 'Country:',
|
'label' => 'Country:',
|
||||||
'required' => false,
|
'required' => false,
|
||||||
'value' => Application_Model_Preference::GetStationCountry(),
|
'value' => Application_Model_Preference::GetStationCountry(),
|
||||||
'multiOptions' => $country_list,
|
'multiOptions' => $country_list,
|
||||||
'decorators' => array(
|
'decorators' => array(
|
||||||
'ViewHelper'
|
'ViewHelper'
|
||||||
)
|
)
|
||||||
));
|
));
|
||||||
|
@ -128,13 +131,13 @@ class Application_Form_RegisterAirtime extends Zend_Form
|
||||||
|
|
||||||
// text area for sending detail
|
// text area for sending detail
|
||||||
$this->addElement('textarea', 'SendInfo', array(
|
$this->addElement('textarea', 'SendInfo', array(
|
||||||
'class' => 'sending_textarea',
|
'class' => 'sending_textarea',
|
||||||
'required' => false,
|
'required' => false,
|
||||||
'filters' => array('StringTrim'),
|
'filters' => array('StringTrim'),
|
||||||
'readonly' => true,
|
'readonly' => true,
|
||||||
'rows' => 5,
|
'rows' => 5,
|
||||||
'cols' => 61,
|
'cols' => 61,
|
||||||
'value' => Application_Model_Preference::GetSystemInfo(false, true),
|
'value' => Application_Model_Preference::GetSystemInfo(false, true),
|
||||||
'decorators' => array(
|
'decorators' => array(
|
||||||
'ViewHelper'
|
'ViewHelper'
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue