X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fforms%2FGeom.php;h=9dc5c3882a423396f716d874a94f607ace06cf0b;hb=aad2e1cbf0a34d096c28388457aabfb8c307221b;hp=4515f016e10956722deb89114579a1eee7bd009d;hpb=c1aeb7538786d8c9f3b3337c0b71e21ef89d9c77;p=syj.git diff --git a/application/forms/Geom.php b/application/forms/Geom.php index 4515f01..9dc5c38 100644 --- a/application/forms/Geom.php +++ b/application/forms/Geom.php @@ -1,5 +1,5 @@ true, 'decorators' => array('ViewHelper', 'Errors'))); - $upload = array('File', 'geom_upload', array("label" => $translator->translate("choose route from a file"), + $upload = array('File', 'geom_upload', array("label" => $translator->translate("Draw journey on the map or choose one from a file"), 'validators' => array(), 'ignoreNoFile' => true, 'decorators' => array( @@ -26,8 +26,8 @@ class Syj_Form_Geom extends Zend_Form implements Syj_Processor_Interface $title = array('Text', 'geom_title', array( 'label' => __("optional title for this journey"), - 'attribs' => array('maxlength' => '40', 'size' => '20'), - 'validators' => array(new Zend_Validate_StringLength(0, 40)), + 'attribs' => array('maxlength' => '160', 'size' => '20'), + 'validators' => array(new Zend_Validate_StringLength(0, 160)), 'decorators' => array( 'ViewHelper', 'Errors',