]> dev.renevier.net Git - syj.git/blobdiff - application/forms/User.php
raw mode for termsofuse
[syj.git] / application / forms / User.php
index 34a5608701348a72385aba9821a65d4de0753fff..ca3a91b617887447f4f27eef93cfd2bbd8a47a61 100644 (file)
@@ -40,7 +40,9 @@ class Syj_Form_User extends Syj_Form_TableAbstract
 
         $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,