Mercurial Hosting > nabble
view src/nabble/view/naml/js_page.naml @ 0:7ecd1a4ef557
add content
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 21 Mar 2019 19:15:52 -0600 |
parents | |
children |
line wrap: on
line source
<macro name="js_page" requires="servlet" unindent="true"> <n.dont_cache/> <n.javascript_response/> <n.call_later_handlers/> </macro> <macro name="call_later_handlers" unindent="true"> <n.search_terms_special_js/> <n.post_count_js/> <n.newsflash_js/> <n.show_administrator_notice_js/> <n.views_js/> <n.mark_unread_topics_js/> <n.mark_unread_posts_js/> <n.mark_as_visited_js/> <n.set_visitor_online_js/> <n.avatar_online_js/> <n.increment_view_count_js/> <n.extra_call_later_handlers/> </macro> <macro name="extra_call_later_handlers"> <n.comment.>To be overridden</n.comment.> </macro> <macro name="run_call_later_now"> <n.call_later_handlers/> </macro> <macro name="param_loop" dot_parameter="do" parameters="param"> <n.if.is_in_command name="run_call_later_now" > <then.get_parameters_from_run_later. name="[n.param/]"> <n.loop.do/> </then.get_parameters_from_run_later.> <else.get_parameters_pipe_separated. name="[n.param/]"> <n.loop.do/> </else.get_parameters_pipe_separated.> </n.if.is_in_command> </macro> <macro name="page_node" dot_parameter="do" requires="parameter_value_list"> <n.if_node_parameter_is_valid.> <n.get_node_from_id. node_id="[n.current_parameter_value/]"> <n.do/> </n.get_node_from_id.> </n.if_node_parameter_is_valid.> </macro> <macro name="if_node_parameter_is_valid" dot_parameter="do" requires="parameter_value_list"> <n.if.is_valid_node node_id="[n.current_parameter_value/]"> <then.do/> </n.if.is_valid_node> </macro> <macro name="page_user" dot_parameter="do" requires="parameter_value_list"> <n.get_user_from_id. user_id="[n.current_parameter_value/]"> <n.do/> </n.get_user_from_id.> </macro>