show_people_filter

NAML documentation   Watch a video
Error Found
An error was found in the NAML code of this application – View Details | Go to NAML Editor
macro or method for 'report_inappropriate_content_panel' not found in [basic, nabble, servlet, classic_view_namespace, forum_topic_namespace, node_page, html] stack = [basic, nabble, servlet, classic_view_namespace, forum_topic_namespace, node, node_poll, node_page, html]
  in report_inappropriate_content_panel(custom_tweak:topic_html:59) - <n.report_inappropriate_content_panel/>
  in body(nabble:topic.naml:146) - <n.body/>
  in body(nabble:utilities.naml:10) - <n.body/>
  in body(responsive:responsive.naml:13) - <n.body/>
  in nabble_html(responsive:responsive.naml:9) - <n.nabble_html> - public void nabble.view.web.template.ServletNamespace.nabble_html(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter)
  in html_impl(nabble:utilities.naml:4) - <n.html_impl>
  in html(nabble:topic.naml:141) - <n.html>
  in do(nabble:utilities.naml:936) - <n.as_node_page.do/>
  in as_node_page(nabble:utilities.naml:936) - <n.as_node_page.do/> - public void nabble.view.web.template.NodeNamespace.as_node_page(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter)
  in do(nabble:utilities.naml:941) - <n.get_node_from_request_parameter.do/>
  in get_node_from_request_parameter(nabble:utilities.naml:941) - <n.get_node_from_request_parameter.do/> - public void nabble.view.web.template.ServletNamespace.get_node_from_request_parameter(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter) throws java.io.IOException,javax.servlet.ServletException,nabble.naml.namespaces.TemplateException
  in catch_exception(nabble:utilities.naml:940) - <n.catch_exception. id="get-node-block"> - public void nabble.naml.namespaces.BasicNamespace.catch_exception(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
  in get_node_from_parameter(nabble:utilities.naml:936) - <n.get_node_from_parameter.as_node_page.do/>
  in node_page(nabble:topic.naml:138) - <n.node_page.>
  in topic_min_html(custom_tweak:topic_html:2) - <n.topic_min_html>
  in topic_html(nabble:topic.naml:59) - <n.topic_html/>
  in topic_html_page(nabble:topic.naml:46) - <n.topic_html_page/>
  in do(nabble:topic.naml:28) - <n.do/>
  in forum_topic_namespace(nabble:topic.naml:46) - <n.forum_topic_namespace.topic_html_page/>
  in do(nabble:topic.naml:29) - <n.do/>
  in classic_view_namespace(nabble:topic.naml:46) - <n.classic_view_namespace.forum_topic_namespace.topic_html_page/>
  in (nabble:topic.naml:45) - <subroutine name="classic_forum_topic" requires="basic,nabble,servlet">
   Usages of this macro
... in people.naml
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<macro name="show_people_filter" parameters="total_rows" requires="node_page">
    <n.put_in_head
Binary
Namespace: HtmlNamespace
Parameters: in_head
.>
        <script type="text/javascript">
            $(document).ready(function() {
                function applyFilter() {
                    window.location = $('#filter').val();
                };
                $('#filter').change(applyFilter);
            });
        </script>
    </n.put_in_head.>
    <div class="nowrap float-left" style="margin-bottom:.3em">
        <b><t
Macro
>Filter by group</t></b>
        <select id="filter">
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.allows_showing_members_of
Macro
Requires: node
Parameters: group
.anyone_group
Binary
Namespace: NabbleNamespace
>
                <then.select_option
Macro
Parameters: text, selectedValue, value, class
 value="[n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.people_path
Macro
Requires: node
Parameters: filter, index_record
/]" text="[t
Macro
]Registered Users[/t]"/>
            </n.if.page_node.allows_showing_members_of.anyone_group>
 
            <n.available_groups
Macro
Requires: node_page
Parameters: do
.loop
Macro
Requires: sequence
Parameters: by, do
.>
                <n.select_option
Macro
Parameters: text, selectedValue, value, class
 value="[n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.people_path
Macro
Requires: node
Parameters: filter, index_record
.current_group
Binary
Namespace: GroupList
/]" selectedValue="[n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.people_path
Macro
Requires: node
Parameters: filter, index_record
.people_filter
Macro
Requires: servlet
/]" text="[n.current_group
Binary
Namespace: GroupList
/]"/>
            </n.available_groups.loop.>
        </select>
 
        <span class="bold" style="padding-left:1em">
            <n.one_or_many
Macro
Parameters: many_text, one_text, n
.total_rows>
                <one_text><t
Macro
>user</t></one_text>
                <many_text><t
Macro
>users</t></many_text>
            </n.one_or_many.total_rows>
        </span>
    </div>
</macro>