Added debug output to CMS_BLOCK.
Updated SHARED_LOGGER to remove a few obsolete calls on json parser. Added favicon.ico specific handling. Fixed issue with theme and non raw block.
This commit is contained in:
@@ -5,6 +5,9 @@ note
|
||||
deferred class
|
||||
CMS_BLOCK
|
||||
|
||||
inherit
|
||||
DEBUG_OUTPUT
|
||||
|
||||
feature -- Access
|
||||
|
||||
name: READABLE_STRING_8
|
||||
@@ -35,4 +38,28 @@ feature -- Conversion
|
||||
deferred
|
||||
end
|
||||
|
||||
feature -- Status report
|
||||
|
||||
debug_output: STRING_32
|
||||
-- String that should be displayed in debugger to represent `Current'.
|
||||
do
|
||||
create Result.make_from_string_general ("Block")
|
||||
if is_raw then
|
||||
Result.append_string_general (" <raw>")
|
||||
end
|
||||
if not is_enabled then
|
||||
Result.append_string_general (" <disabled>")
|
||||
end
|
||||
Result.append_character (' ')
|
||||
Result.append_character ('[')
|
||||
Result.append_string_general (name)
|
||||
Result.append_character (']')
|
||||
if attached title as l_title then
|
||||
Result.append_character (' ')
|
||||
Result.append_character ('%"')
|
||||
Result.append (l_title)
|
||||
Result.append_character ('%"')
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user