From b58eeeac260b49671c4db6246c5c99224ed766db Mon Sep 17 00:00:00 2001 From: Jocelyn Fiat Date: Wed, 19 Nov 2014 13:34:42 +0100 Subject: [PATCH] Added comments. --- .../src/theme/missing_theme/missing_cms_template.e | 13 +++++++++---- library/src/theme/missing_theme/missing_cms_theme.e | 5 ++++- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/library/src/theme/missing_theme/missing_cms_template.e b/library/src/theme/missing_theme/missing_cms_template.e index a0d36cb..219314c 100644 --- a/library/src/theme/missing_theme/missing_cms_template.e +++ b/library/src/theme/missing_theme/missing_cms_template.e @@ -1,6 +1,7 @@ note - description: "Summary description for {MISSING_CMS_TEMPLATE}." - author: "" + description: "[ + Template to be used with missing theme. + ]" date: "$Date$" revision: "$Revision$" @@ -8,7 +9,6 @@ class MISSING_CMS_TEMPLATE inherit - CMS_TEMPLATE create @@ -16,7 +16,8 @@ create feature {NONE} -- Implementation - make ( a_theme: MISSING_CMS_THEME) + make (a_theme: MISSING_CMS_THEME) + -- Instantiate Current template based on theme `a_theme'. do theme := a_theme end @@ -24,17 +25,21 @@ feature {NONE} -- Implementation feature -- Access theme: MISSING_CMS_THEME + -- variables: STRING_TABLE [detachable ANY] + -- do create Result.make (0) end prepare (page: CMS_HTML_PAGE) + -- do end to_html (page: CMS_HTML_PAGE): STRING + -- do Result := " " end diff --git a/library/src/theme/missing_theme/missing_cms_theme.e b/library/src/theme/missing_theme/missing_cms_theme.e index c780854..8c2c531 100644 --- a/library/src/theme/missing_theme/missing_cms_theme.e +++ b/library/src/theme/missing_theme/missing_cms_theme.e @@ -1,5 +1,8 @@ note - description: "Describe a missing theme." + description: "[ + Theme used when expected theme is missing. + It is mainly used to report missing theme error. + ]" date: "$Date$" revision: "$Revision$"