## This file is subject to the terms and conditions defined in ## file 'LICENSE', which is part of this source code package. ## Copyright (c) 2009 SKR Farms (P) LTD. <%inherit file="/base/basic1.html"/> <%namespace name="elements" file="/component/elements.html"/> <%namespace name="forms" file="/component/forms.html"/> <%! page_tooltips = [ [ 'Registration-form', """All form fields are mandatory. Follow the help text under each field and enter valid input. By submitting the form, it is implied that you have read the terms-of-service. """ ], ] %> <%def name="hd_script()"> ${parent.hd_script()} <%def name="bd_body()"> <% pagebartext = "Create a new %s account" % c.sitename %> ${elements.pagebar( pagebartext, tooltips=page_tooltips )}
% if c.authorized :
${forms.form_userreg( h.suburl_userreg, c.captcha.urlpath )}
${elements.helpboard(""" All fields are mandatory.
username
Pick a proper username, you may not be able to change it later.
Terms of Service
If `Terms of Service (tos)` it empty, prompt your site-administrator to add a valid TOS content at tos
""")}
% else :
Registration is allowed only by invitation
% endif
<%def name="bd_script()"> ${parent.bd_script()}