... | in people_widget_online.naml |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
<macro name="people_widget_online" requires="node_page">
<n.put_in_head.>
<style type="text/css">
a.people-small-link {
float:right;
font-size:80%;
padding:.1em .3em;
}
</style>
</n.put_in_head.>
<n.online_users. include_invisible_users="[n.visitor.is_site_admin/]">
<n.filter_by.current_user.can_be_displayed_in.page_node/>
<n.sort_by_node_count_desc/>
</n.online_users.>
<n.site_users. length="50">
<n.filter_by.current_user.can_be_displayed_in.page_node/>
<n.if.has_more_elements n="2">
<then>
<n.widget.>
<h2 class="sidebar-section shaded-bg-color">
<n.page_node.people_link text="[t]All Users[/t]" class="people-small-link"/>
<t>People</t>
</h2>
</n.widget.>
</then>
</n.if.has_more_elements>
</n.site_users.>
</macro>
|
Free forum by Nabble | Naml |