X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fforms%2FGeom.php;h=3d99a87bd6014b7522b2bee84c7bef81439be960;hb=616108d95f68d4d0c7dec334b262939782f355dc;hp=b52e0719c3e6f98c7e57c0904124e06ec05840c2;hpb=3ff82e2d9fa289beba4e965b82772cf83f905b2f;p=syj.git diff --git a/application/forms/Geom.php b/application/forms/Geom.php index b52e071..3d99a87 100644 --- a/application/forms/Geom.php +++ b/application/forms/Geom.php @@ -21,10 +21,13 @@ class Syj_Form_Geom extends Zend_Form )); $translator = $this->getTranslator(); - $anchor = $this->getView()->Anchor("termsofuse", $translator->translate("terms of use"), array('id' => 'geom_termsofuse_anchor')); + $anchor = $this->getView()->Anchor("termsofuse?format=raw", + $translator->translate("terms of use"), + array('id' => 'geom_termsofuse_anchor')); $text = $translator->translate("I've read and accepted %s"); $text = vsprintf($text, $anchor); $touaccept = array('Checkbox', 'geom_accept', array("label" => $text, + 'helper' => 'SyjFormCheckbox', // similar to FormCheckbox without a hidden input 'decorators' => array( 'ViewHelper', 'label',