Added comments.
This commit is contained in:
@@ -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
|
||||
-- <Precursor>
|
||||
|
||||
variables: STRING_TABLE [detachable ANY]
|
||||
-- <Precursor>
|
||||
do
|
||||
create Result.make (0)
|
||||
end
|
||||
|
||||
prepare (page: CMS_HTML_PAGE)
|
||||
-- <Precursor>
|
||||
do
|
||||
end
|
||||
|
||||
to_html (page: CMS_HTML_PAGE): STRING
|
||||
-- <Precursor>
|
||||
do
|
||||
Result := " "
|
||||
end
|
||||
|
||||
@@ -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$"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user