Restored previous template_block* function signatures and made them obsolete.
Added smarty_template_block* functions as new recommended functions.
This commit is contained in:
@@ -114,7 +114,7 @@ feature -- Handler
|
||||
attached l_search.last_result as l_result and then
|
||||
l_result.status = 200
|
||||
then
|
||||
if attached template_block (Current, "search", api) as l_tpl_block then
|
||||
if attached smarty_template_block (Current, "search", api) as l_tpl_block then
|
||||
l_tpl_block.set_value (l_result, "result")
|
||||
r.add_block (l_tpl_block, "content")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user