2007-09-17 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/plugins/WebCal.py: * src/plugins/NarrativeWeb.py: Change const.image_dir to uppercase const.IMAGE_DIR svn: r8998
This commit is contained in:
parent
64a0e59955
commit
b42877e41b
@ -1,3 +1,8 @@
|
||||
2007-09-17 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
|
||||
* src/plugins/WebCal.py:
|
||||
* src/plugins/NarrativeWeb.py:
|
||||
Change const.image_dir to uppercase const.IMAGE_DIR
|
||||
|
||||
2007-09-20 Benny Malengier <benny.malengier@gramps-project.org>
|
||||
* src/plugins/MarkerReport.py: localize fixed markers, issue #1137
|
||||
|
||||
|
@ -2428,11 +2428,11 @@ class WebReport(Report):
|
||||
# Copy the Creative Commons icon if the a Creative Commons
|
||||
# license is requested
|
||||
if 0 < self.copyright < 7:
|
||||
from_path = os.path.join(const.image_dir,"somerights20.gif")
|
||||
from_path = os.path.join(const.IMAGE_DIR,"somerights20.gif")
|
||||
to_path = os.path.join("images","somerights20.gif")
|
||||
self.store_file(archive,self.target_path,from_path,to_path)
|
||||
|
||||
from_path = os.path.join(const.image_dir,"document.png")
|
||||
from_path = os.path.join(const.IMAGE_DIR,"document.png")
|
||||
to_path = os.path.join("images","document.png")
|
||||
self.store_file(archive,self.target_path,from_path,to_path)
|
||||
|
||||
|
@ -403,7 +403,7 @@ class WebReport(Report):
|
||||
of.write('alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a></p>\n')
|
||||
if self.copy > 0 and self.copy <= 6:
|
||||
text = _cc[self.copy-1]
|
||||
from_path = os.path.join(const.image_dir,"somerights20.gif")
|
||||
from_path = os.path.join(const.IMAGE_DIR,"somerights20.gif")
|
||||
shutil.copyfile(from_path,os.path.join(self.html_dir,"somerights20.gif"))
|
||||
else:
|
||||
text = "© %s %s" % (time.localtime()[0], author)
|
||||
|
Loading…
Reference in New Issue
Block a user