[Moin-devel] CVS: MoinMoin/parser wiki.py,1.86,1.87 xslt.py,1.12,1.13
J?rgen Hermann
jhermann at users.sourceforge.net
Wed Apr 24 13:43:07 EDT 2002
Update of /cvsroot/moin/MoinMoin/parser
In directory usw-pr-cvs1:/tmp/cvs-serv32698/parser
Modified Files:
wiki.py xslt.py
Log Message:
Replaced most refs to user.current by request.user
Index: wiki.py
===================================================================
RCS file: /cvsroot/moin/MoinMoin/parser/wiki.py,v
retrieving revision 1.86
retrieving revision 1.87
diff -C2 -r1.86 -r1.87
*** wiki.py 17 Apr 2002 19:24:58 -0000 1.86
--- wiki.py 24 Apr 2002 20:11:22 -0000 1.87
***************
*** 168,172 ****
icon = ''
! if user.current.show_fancy_links:
icon = self.formatter.image(width=16, height=16, hspace=2,
border=badwiki,
--- 168,172 ----
icon = ''
! if self.request.user.show_fancy_links:
icon = self.formatter.image(width=16, height=16, hspace=2,
border=badwiki,
***************
*** 374,378 ****
text = ''
! if user.current.show_fancy_links:
text = text + self.formatter.image(
src="%s/img/moin-%s.gif" % (config.url_prefix, icon[0]),
--- 374,378 ----
text = ''
! if self.request.user.show_fancy_links:
text = text + self.formatter.image(
src="%s/img/moin-%s.gif" % (config.url_prefix, icon[0]),
***************
*** 557,561 ****
icons = ''
! if user.current.show_topbottom:
bottom = self.formatter.image(width=14, height=10, hspace=2, vspace=6, align="right",
border=0, src=config.url_prefix+"/img/moin-bottom.gif", alt="[BOTTOM]")
--- 557,561 ----
icons = ''
! if self.request.user.show_topbottom:
bottom = self.formatter.image(width=14, height=10, hspace=2, vspace=6, align="right",
border=0, src=config.url_prefix+"/img/moin-bottom.gif", alt="[BOTTOM]")
Index: xslt.py
===================================================================
RCS file: /cvsroot/moin/MoinMoin/parser/xslt.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** xslt.py 24 Apr 2002 19:36:54 -0000 1.12
--- xslt.py 24 Apr 2002 20:11:22 -0000 1.13
***************
*** 77,81 ****
"?action=refresh&arena=%s&key=%s" % (arena, key),
_("RefreshCache")) + _(' for this page (cached %(date)s)') % {
! 'date': user.current.getFormattedDateTime(cache.mtime()),} + '<br>'
self.request.add2footer('RefreshCache', refresh)
--- 77,81 ----
"?action=refresh&arena=%s&key=%s" % (arena, key),
_("RefreshCache")) + _(' for this page (cached %(date)s)') % {
! 'date': formatter.request.user.getFormattedDateTime(cache.mtime()),} + '<br>'
self.request.add2footer('RefreshCache', refresh)
More information about the Moin-devel
mailing list