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:
parent
3339a68f80
commit
596758789a
@ -508,11 +508,10 @@ def copy_thumbnail(report, handle, photo, region=None):
|
|||||||
report.copy_file(from_path, to_path)
|
report.copy_file(from_path, to_path)
|
||||||
return to_path
|
return to_path
|
||||||
|
|
||||||
#################################################
|
'''
|
||||||
#
|
|
||||||
# Manages all the functions, variables, and everything needed
|
# Manages all the functions, variables, and everything needed
|
||||||
# for all of the classes contained within this plugin
|
# for all of the classes contained within this plugin
|
||||||
#################################################
|
'''
|
||||||
class BasePage(object):
|
class BasePage(object):
|
||||||
def __init__(self, report, title, gid = None):
|
def __init__(self, report, title, gid = None):
|
||||||
self.up = False
|
self.up = False
|
||||||
|
@ -157,6 +157,14 @@ def load_on_reg(dbstate, uistate, plugin):
|
|||||||
# no style sheet option
|
# no style sheet option
|
||||||
["No style sheet",1, _("No style sheet"), [], None, [], [] ],
|
["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 other images for use in NarrativeWeb
|
||||||
['All Images', 0, 'All Images', None, None,
|
['All Images', 0, 'All Images', None, None,
|
||||||
[path_img("blank.gif"),
|
[path_img("blank.gif"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user