X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=application%2Fforms%2FGeom.php;h=48c6dbce225c62ce5e6c67caf00d3053674e3e9b;hp=171450983100004a79cb6b7ed74cd3e453740886;hb=150c38ebcad7e451aca5350cf5c8047d65a3af72;hpb=76f6e080505c81ded0911b444eb62e39435eb8a1 diff --git a/application/forms/Geom.php b/application/forms/Geom.php index 1714509..48c6dbc 100644 --- a/application/forms/Geom.php +++ b/application/forms/Geom.php @@ -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', @@ -37,7 +37,7 @@ class Syj_Form_Geom extends Zend_Form implements Syj_Processor_Interface $anchor = $this->getView()->Anchor("termsofuse?format=raw", $translator->translate("terms of use"), - array('id' => 'geom_termsofuse_anchor')); + array('id' => 'geom_termsofuse_anchor', 'tabindex' => '0')); $text = $translator->translate("I've read and accepted %s"); $text = vsprintf($text, $anchor); $touaccept = array('Checkbox', 'geom_accept', array("label" => $text,