equal
deleted
inserted
replaced
109 |
109 |
110 .. sourcecode:: python |
110 .. sourcecode:: python |
111 |
111 |
112 class UserLink(component.Component): |
112 class UserLink(component.Component): |
113 '''if the user is the anonymous user, build a link to login else a link |
113 '''if the user is the anonymous user, build a link to login else a link |
114 to the connected user object with a loggout link |
114 to the connected user object with a logout link |
115 ''' |
115 ''' |
116 __regid__ = 'loggeduserlink' |
116 __regid__ = 'loggeduserlink' |
117 |
117 |
118 def call(self): |
118 def call(self): |
119 if self._cw.session.anonymous_session: |
119 if self._cw.session.anonymous_session: |