equal
deleted
inserted
replaced
106 box.render(w=self.w) |
106 box.render(w=self.w) |
107 else: |
107 else: |
108 self.anon_user_link() |
108 self.anon_user_link() |
109 |
109 |
110 def anon_user_link(self): |
110 def anon_user_link(self): |
111 if self._cw.config['auth-mode'] == 'cookie': |
111 if self._cw.vreg.config['auth-mode'] == 'cookie': |
112 self.w(self._cw._('anonymous')) |
112 self.w(self._cw._('anonymous')) |
113 self.w(u''' [<a class="logout" href="javascript: popupLoginBox();">%s</a>]''' |
113 self.w(u''' [<a class="logout" href="javascript: popupLoginBox();">%s</a>]''' |
114 % (self._cw._('i18n_login_popup'))) |
114 % (self._cw._('i18n_login_popup'))) |
115 else: |
115 else: |
116 self.w(self._cw._('anonymous')) |
116 self.w(self._cw._('anonymous')) |