Oops. Correct change (12344) Partly fixed bug 2788. (Just stylesheet
hrefs.) svn: r12353
This commit is contained in:
parent
7bf8b0056a
commit
6a559a5b2a
@ -367,7 +367,9 @@ class BasePage:
|
|||||||
'person' : self.author,
|
'person' : self.author,
|
||||||
'year' : year}
|
'year' : year}
|
||||||
elif 0 < copy_nr < len(_CC):
|
elif 0 < copy_nr < len(_CC):
|
||||||
fname = self.report.build_url_fname("somerights20.gif", "images", self.up)
|
# Note. This is a URL
|
||||||
|
fname = '/'.join(["images", "somerights20.gif"])
|
||||||
|
fname = self.report.build_url_fname(fname, None, self.up)
|
||||||
text = _CC[copy_nr] % {'gif_fname' : fname}
|
text = _CC[copy_nr] % {'gif_fname' : fname}
|
||||||
of.write('\t<p id="copyright">%s</p>\n' % text)
|
of.write('\t<p id="copyright">%s</p>\n' % text)
|
||||||
|
|
||||||
@ -400,17 +402,20 @@ class BasePage:
|
|||||||
of.write('\t<meta name="author" content="%s" />\n' % self.author)
|
of.write('\t<meta name="author" content="%s" />\n' % self.author)
|
||||||
|
|
||||||
# Link to media reference regions behaviour stylesheet
|
# Link to media reference regions behaviour stylesheet
|
||||||
url = self.report.build_url_fname("behaviour.css", "styles", self.up)
|
fname = '/'.join(["styles", "behaviour.css"])
|
||||||
|
url = self.report.build_url_fname(fname, None, self.up)
|
||||||
of.write('\t<link href="%s" rel="stylesheet" '
|
of.write('\t<link href="%s" rel="stylesheet" '
|
||||||
'type="text/css" media="screen" />\n' % url)
|
'type="text/css" media="screen" />\n' % url)
|
||||||
|
|
||||||
# Link to screen stylesheet
|
# Link to screen stylesheet
|
||||||
url = self.report.build_url_fname(_NARRATIVESCREEN, "styles", self.up)
|
fname = '/'.join(["styles", _NARRATIVESCREEN])
|
||||||
|
url = self.report.build_url_fname(fname, None, self.up)
|
||||||
of.write('\t<link href="%s" rel="stylesheet" '
|
of.write('\t<link href="%s" rel="stylesheet" '
|
||||||
'type="text/css" media="screen" />\n' % url)
|
'type="text/css" media="screen" />\n' % url)
|
||||||
|
|
||||||
# Link to printer stylesheet
|
# Link to printer stylesheet
|
||||||
url = self.report.build_url_fname(_NARRATIVEPRINT, "styles", self.up)
|
fname = '/'.join(["styles", _NARRATIVEPRINT])
|
||||||
|
url = self.report.build_url_fname(fname, None, self.up)
|
||||||
of.write('\t<link href="%s" rel="stylesheet" '
|
of.write('\t<link href="%s" rel="stylesheet" '
|
||||||
'type="text/css" media="print" />\n' % url)
|
'type="text/css" media="print" />\n' % url)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user