Added comments.
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
note
|
note
|
||||||
description: "Summary description for {MISSING_CMS_TEMPLATE}."
|
description: "[
|
||||||
author: ""
|
Template to be used with missing theme.
|
||||||
|
]"
|
||||||
date: "$Date$"
|
date: "$Date$"
|
||||||
revision: "$Revision$"
|
revision: "$Revision$"
|
||||||
|
|
||||||
@@ -8,7 +9,6 @@ class
|
|||||||
MISSING_CMS_TEMPLATE
|
MISSING_CMS_TEMPLATE
|
||||||
|
|
||||||
inherit
|
inherit
|
||||||
|
|
||||||
CMS_TEMPLATE
|
CMS_TEMPLATE
|
||||||
|
|
||||||
create
|
create
|
||||||
@@ -16,7 +16,8 @@ create
|
|||||||
|
|
||||||
feature {NONE} -- Implementation
|
feature {NONE} -- Implementation
|
||||||
|
|
||||||
make ( a_theme: MISSING_CMS_THEME)
|
make (a_theme: MISSING_CMS_THEME)
|
||||||
|
-- Instantiate Current template based on theme `a_theme'.
|
||||||
do
|
do
|
||||||
theme := a_theme
|
theme := a_theme
|
||||||
end
|
end
|
||||||
@@ -24,17 +25,21 @@ feature {NONE} -- Implementation
|
|||||||
feature -- Access
|
feature -- Access
|
||||||
|
|
||||||
theme: MISSING_CMS_THEME
|
theme: MISSING_CMS_THEME
|
||||||
|
-- <Precursor>
|
||||||
|
|
||||||
variables: STRING_TABLE [detachable ANY]
|
variables: STRING_TABLE [detachable ANY]
|
||||||
|
-- <Precursor>
|
||||||
do
|
do
|
||||||
create Result.make (0)
|
create Result.make (0)
|
||||||
end
|
end
|
||||||
|
|
||||||
prepare (page: CMS_HTML_PAGE)
|
prepare (page: CMS_HTML_PAGE)
|
||||||
|
-- <Precursor>
|
||||||
do
|
do
|
||||||
end
|
end
|
||||||
|
|
||||||
to_html (page: CMS_HTML_PAGE): STRING
|
to_html (page: CMS_HTML_PAGE): STRING
|
||||||
|
-- <Precursor>
|
||||||
do
|
do
|
||||||
Result := " "
|
Result := " "
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
note
|
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$"
|
date: "$Date$"
|
||||||
revision: "$Revision$"
|
revision: "$Revision$"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user