X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=application%2Fforms%2FUser.php;h=8fd24458a5e3cdaa242940740d32b404b9f9da58;hb=e7db13380d60e9f597a5690800b171c6524bac54;hp=ca3a91b617887447f4f27eef93cfd2bbd8a47a61;hpb=57031d71f1af8fbca504b7f09352a3fb1455d602;p=syj.git diff --git a/application/forms/User.php b/application/forms/User.php index ca3a91b..8fd2445 100644 --- a/application/forms/User.php +++ b/application/forms/User.php @@ -34,7 +34,7 @@ class Syj_Form_User extends Syj_Form_TableAbstract $email = array('Text', 'user_email', array( 'label' => __("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 )); @@ -46,6 +46,7 @@ class Syj_Form_User extends Syj_Form_TableAbstract $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',