From: <gem...@li...> - 2011-10-24 11:53:41
|
Revision: 131 http://gemstracker.svn.sourceforge.net/gemstracker/?rev=131&view=rev Author: mennodekker Date: 2011-10-24 11:45:14 +0000 (Mon, 24 Oct 2011) Log Message: ----------- Fixed size of email template 'subject' field to a maximum of 80 so display doesn't run off screen Modified Paths: -------------- trunk/library/classes/Gems/Email/EmailFormAbstract.php Modified: trunk/library/classes/Gems/Email/EmailFormAbstract.php =================================================================== --- trunk/library/classes/Gems/Email/EmailFormAbstract.php 2011-10-24 11:35:15 UTC (rev 130) +++ trunk/library/classes/Gems/Email/EmailFormAbstract.php 2011-10-24 11:45:14 UTC (rev 131) @@ -345,7 +345,7 @@ $options = $this->model->get($name, 'maxlength', 'required'); $options['label'] = $this->escort->_('Subject'); - $options['size'] = $options['maxlength']; + $options['size'] = min(array($options['maxlength'], 80)); return new Zend_Form_Element_Text($name, $options); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |