Fixed an error where 'Document' was being used as a key for CSS_FILES. It did not exist in webstuff.py.

svn: r19186
This commit is contained in:
Rob G. Healey 2012-03-31 07:22:48 +00:00
parent 3339a68f80
commit 596758789a
2 changed files with 10 additions and 3 deletions

View File

@ -508,11 +508,10 @@ def copy_thumbnail(report, handle, photo, region=None):
report.copy_file(from_path, to_path)
return to_path
#################################################
#
'''
# Manages all the functions, variables, and everything needed
# for all of the classes contained within this plugin
#################################################
'''
class BasePage(object):
def __init__(self, report, title, gid = None):
self.up = False

View File

@ -157,6 +157,14 @@ def load_on_reg(dbstate, uistate, plugin):
# no style sheet option
["No style sheet",1, _("No style sheet"), [], None, [], [] ],
# Document image
["Document", 0, "Document",
path_img("document.png"), None, [], [] ],
# blank
["Blank", 0, "Blank",
path_img("blank.gif"), None, [], [] ],
# all other images for use in NarrativeWeb
['All Images', 0, 'All Images', None, None,
[path_img("blank.gif"),