comparison MoinMoin/stats/hitcounts.py @ 33:55ff4feb0f59

src cosmetics: remove TODOs, CVS stuff imported from: moin--main--1.5--patch-34
author Thomas Waldmann <tw@waldmann-edv.de>
date Sun, 25 Sep 2005 11:36:51 +0000
parents 77665d8e2254
children 0bbc39b09f95
comparison
equal deleted inserted replaced
32:5153d7c2b1c1 33:55ff4feb0f59
39 querystr = web.makeQueryString(querystr) 39 querystr = web.makeQueryString(querystr)
40 querystr = wikiutil.escape(querystr) 40 querystr = wikiutil.escape(querystr)
41 if params: 41 if params:
42 querystr += '&amp;' + params 42 querystr += '&amp;' + params
43 43
44 # TODO: remove escape=0 in 1.4 44 # TODO: remove escape=0 in 2.0
45 data = {'url': page.url(request, querystr, escape=0)} 45 data = {'url': page.url(request, querystr, escape=0)}
46 data.update(request.cfg.chart_options) 46 data.update(request.cfg.chart_options)
47 result = ('<img src="%(url)s" width="%(width)d" height="%(height)d"' 47 result = ('<img src="%(url)s" width="%(width)d" height="%(height)d"'
48 ' alt="hitcounts chart">') % data 48 ' alt="hitcounts chart">') % data
49 49