... | in next_prev_topic.naml |
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
|
<macro name='next_topic'>
<n.page_node.get_app_node.children_list. start="0" length="1000"
filter="[n.app_topic_filter/]"
sort="[n.if.app_is_by_priority][then]priority[/then][else]pinned-and-last-node-date[/else][/n.if.app_is_by_priority]" >
<n.loop.>
<n.if.equal value1="[n.current_node.id/]" value2="[n.page_node.id/]">
<then>
<n.if.next_node>
<then>
<a href="[n.current_node.url/]">Next<img src="/images/right.png" width="20" height="25" align="absmiddle" alt="Next"/></a>
<n.break/>
</then>
</n.if.next_node>
</then>
</n.if.equal>
</n.loop.>
</n.page_node.get_app_node.children_list.>
</macro>
|
Free forum by Nabble | Edit this page |