From 596758789a0fdfd86eb7027e113e8426f32c1f73 Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Sat, 31 Mar 2012 07:22:48 +0000 Subject: [PATCH] Fixed an error where 'Document' was being used as a key for CSS_FILES. It did not exist in webstuff.py. svn: r19186 --- src/plugins/webreport/NarrativeWeb.py | 5 ++--- src/plugins/webstuff/webstuff.py | 8 ++++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index cd003a40d..f4c253252 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -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 diff --git a/src/plugins/webstuff/webstuff.py b/src/plugins/webstuff/webstuff.py index 66fef1db0..3da8a679d 100644 --- a/src/plugins/webstuff/webstuff.py +++ b/src/plugins/webstuff/webstuff.py @@ -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"),