[registration] comment out until there is more meat tls-sprint
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Tue, 24 Feb 2009 17:20:04 +0100
branchtls-sprint
changeset 947 01f5001304b2
parent 946 a130b5ceeca9
child 980 59552ba2015f
[registration] comment out until there is more meat
web/views/basecomponents.py
--- a/web/views/basecomponents.py	Tue Feb 24 17:13:46 2009 +0100
+++ b/web/views/basecomponents.py	Tue Feb 24 17:20:04 2009 +0100
@@ -105,9 +105,10 @@
             self.w(u'''&nbsp;[<a class="logout" href="javascript: popupLoginBox();">%s</a>]'''
                    % (self.req._('i18n_login_popup')))
             # FIXME maybe have an other option to explicitely authorise registration
-            if self.config['anonymous-user']:
-                self.w(u'''&nbsp;[<a class="logout" href="?vid=register">%s</a>]'''
-                       % (self.req._('i18n_register_user')))
+            #       also provide a working register view
+#             if self.config['anonymous-user']:
+#                 self.w(u'''&nbsp;[<a class="logout" href="?vid=register">%s</a>]'''
+#                        % (self.req._('i18n_register_user')))
         else:
             self.w(self.req._('anonymous'))
             self.w(u'&nbsp;[<a class="logout" href="%s">%s</a>]'