X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fforms%2FUser.php;h=79e06ff2db164362ec8c42b198483c5208696e2d;hb=aad2e1cbf0a34d096c28388457aabfb8c307221b;hp=34a5608701348a72385aba9821a65d4de0753fff;hpb=ce001229accb2aff799560eec402344f0dbb1762;p=syj.git diff --git a/application/forms/User.php b/application/forms/User.php index 34a5608..79e06ff 100644 --- a/application/forms/User.php +++ b/application/forms/User.php @@ -1,5 +1,5 @@ __("email"), - 'description' => __("After creating your account, you will receive a confirmation email. You have 7 days to confirm otherwise, your account and your routes will all be deleted."), + 'description' => __("After creating your account, you will receive a confirmation email. You have 7 days to confirm otherwise, your account will be deleted."), 'required' => true )); $this->setMainElements(array($name, $pass, $pass_confirm, $email)); - $anchor = $this->getView()->Anchor("termsofuse", $translator->translate("terms of use"), array('id' => 'user_termsofuse_anchor')); + $anchor = $this->getView()->Anchor("termsofuse?format=raw", + $translator->translate("terms of use"), + array('id' => 'user_termsofuse_anchor')); $text = $translator->translate("I've read and accepted %s"); $text = vsprintf($text, $anchor); $this->addElement('Checkbox', 'user_accept', array("label" => $text, + 'helper' => 'SyjFormCheckbox', // similar to FormCheckbox without a hidden input 'decorators' => array( 'ViewHelper', 'label',