[ moin-Bugs-969209 ] Logout link in rightsidebar theme has incorrect url.

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.web.wiki.moin.devel
Message-ID <[email protected]>
Bugs item #969209, was opened at 2004-06-08 22:54
Message generated for change (Comment added) made by thomaswaldmann
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108482&aid=969209&group_id=8482

Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Maciej Starzyk (mstarzyk)
Assigned to: Nobody/Anonymous (nobody)
Summary: Logout link in rightsidebar theme has incorrect url.

Initial Comment:
There is a bug in the rightsidebar theme. 
url_prefix is not prepended to the "logout" url. 
It always links to: /UserPreferences

----------------------------------------------------------------------

>Comment By: Thomas Waldmann (thomaswaldmann)
Date: 2004-07-04 13:53

Message:
Logged In: YES 
user_id=100649

fixed in arch (will be in 1.2.3)


----------------------------------------------------------------------

Comment By: Polzin (polzin)
Date: 2004-06-18 13:18

Message:
Logged In: YES 
user_id=586666

I fixed it (by changing line 80 of rightsidebar.py) although
I don't know if it´s the best solution:


*** rightsidebar.py     2004-06-06 01:58:33.000000000 +0200
---
/usr/lib/python/site-packages/MoinMoin/theme/rightsidebar.py
       2004-06-18 13:14:50.000000000 +0200
***************
*** 77,83 ****
                  html.append('<br />')
              html.append('%s' %
wikiutil.link_tag(self.request,
wikiutil.quoteWikiname(d['page_user_prefs'])))
              html.append('<br /><br />')
!             html.append('<form action="/UserPreferences"
method="POST">')
              html.append('<input type="hidden"
name="action" value="userform">')
              html.append('<input type="hidden"
name="logout" value="Logout">')
              #html.append('<input type="image"
name="Submit" value="Submit"
src="http://cwhipple.info/crwiki/crw/img/logout.png"
height="15" width="80" border="0">')
--- 77,83 ----
                  html.append('<br />')
              html.append('%s' %
wikiutil.link_tag(self.request,
wikiutil.quoteWikiname(d['page_user_prefs'])))
              html.append('<br /><br />')
!             html.append('<form action="%s" method="POST">'
% wikiutil.quoteWikiname(d['page_user_prefs']))
              html.append('<input type="hidden"
name="action" value="userform">')
              html.append('<input type="hidden"
name="logout" value="Logout">')
              #html.append('<input type="image"
name="Submit" value="Submit"
src="http://cwhipple.info/crwiki/crw/img/logout.png"
height="15" width="80" border="0">')


----------------------------------------------------------------------

Comment By: Maciej Starzyk (mstarzyk)
Date: 2004-06-08 22:55

Message:
Logged In: YES 
user_id=657380

Moin version: 1.2.2

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108482&aid=969209&group_id=8482


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.