... | 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>Filter by group</t></b>
<select id="filter">
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Macro Requires: node
Parameters:
group
♦ ♦ Binary Namespace: NabbleNamespace
♦ ♦
<then.select_option Macro Parameters:
text, selectedValue, value, class
♦ ♦ Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Macro Requires: node
Parameters:
filter, index_record
♦ ♦
</n.if.page_node.allows_showing_members_of.anyone_group>
<n.available_groups Macro Requires: node_page
Parameters:
do
♦ ♦ Macro Requires: sequence
Parameters:
by, do
♦ ♦
<n.select_option Macro Parameters:
text, selectedValue, value, class
♦ ♦ Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Macro Requires: node
Parameters:
filter, index_record
♦ ♦ Binary Namespace: GroupList
♦ ♦ Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Macro Requires: node
Parameters:
filter, index_record
♦ ♦ Macro Requires: servlet
♦ ♦ 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
♦ ♦
<one_text><t>user</t></one_text>
<many_text><t>users</t></many_text>
</n.one_or_many.total_rows>
</span>
</div>
</macro>
|
Free forum by Nabble | Edit this page |