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
1 changed files with 5 additions and 4 deletions

View File

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