CC-2424:Support setting formatting

- fixed
- additional fix: changed logo restriction to 200*200 min and
600*600 max
This commit is contained in:
James Moon 2011-06-22 23:49:15 -04:00
parent 3c3850db29
commit f9337e772a

View file

@ -88,10 +88,10 @@ class Application_Form_SupportPreferences extends Zend_Form_SubForm
->addValidator('Count', false, 1) ->addValidator('Count', false, 1)
->addValidator('Extension', false, 'jpg,png,gif') ->addValidator('Extension', false, 'jpg,png,gif')
->addValidator('ImageSize', false, array( ->addValidator('ImageSize', false, array(
'minwidth' => 180, 'minwidth' => 200,
'minheight' => 180, 'minheight' => 200,
'maxwidth' => 1000, 'maxwidth' => 600,
'maxheight' => 1000)); 'maxheight' => 600));
$this->addElement($upload); $this->addElement($upload);
//enable support feedback //enable support feedback
@ -121,6 +121,7 @@ class Application_Form_SupportPreferences extends Zend_Form_SubForm
'required' => false, 'required' => false,
'filters' => array('StringTrim'), 'filters' => array('StringTrim'),
'readonly' => true, 'readonly' => true,
'cols' => 61,
'value' => Application_Model_Preference::GetSystemInfo(), 'value' => Application_Model_Preference::GetSystemInfo(),
'decorators' => array( 'decorators' => array(
'ViewHelper' 'ViewHelper'