diff --git a/extra/modules/root.ptl b/extra/modules/root.ptl index 72891b2..68a026d 100644 --- a/extra/modules/root.ptl +++ b/extra/modules/root.ptl @@ -210,8 +210,7 @@ RecaptchaOptions = { "theme" : "white", "lang" : "fr" }; vars = { 'register_form': str(form.render()) } - return template.process_template( - str(authentic.root.TextsDirectory.get_html_text('register')), vars) + return authentic.root.TextsDirectory.get_html_text('register', vars) def pre_registration_callback(self, identity): identity.userClass = [ 'GRAND.PUBLIC' ] @@ -311,9 +310,9 @@ get_publisher_class().root_directory_class = IfefRootDirectory TextsDirectory.register('terms-of-use', N_("Terms of use"), hint = '', - default = '') + default = 'Terms of use') TextsDirectory.register('cnil-disclaimer', N_("CNIL disclaimer"), hint = '', - default = '') + default = 'CNIL disclaimer')