## 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="forms" file="/component/forms.html"/> <%namespace name="elements" file="/component/elements.html"/> <%! page_tooltips = [ [ 'Help', """User invitation must be enabled in site-admin->siteConfig. If any registered user are to be allowed to invite, again configure the same in site-admin->siteConfig
Provide the email-id of the person you wish to invite. """ ], ] %> <%def name="hd_script()"> ${parent.hd_script()} <%def name="bd_body()"> <% pagebartext = "Invite a user to your site" %> ${elements.pagebar( pagebartext, tooltips=page_tooltips )}
% if c.authusername == 'anonymous' or not c.userpanes :
% else :
% endif
% if c.usercaninvite : ${forms.form_inviteuser( c.authuser, h.suburl_inviteuser ) } % else :
Contact site administrator enable invitation.
% endif
% if c.authusername != 'anonymous' and c.userpanes :
${elements.user_panes( c.userpanes )}
% endif <%def name="bd_script()"> ${parent.bd_script()}