action_row.naml

<macro name="action_link_style">
	<n.put_in_head.>
		<style type="text/css">
			div.action-link {
				float:left;
				white-space:nowrap;
				margin:.7em .3em;
			}
		</style>
	</n.put_in_head.>
	action-link
</macro>

<macro name="new_topic_action_link" parameters="text">
	<div class="[n.action_link_style/]">
		<img src="/images/icon_post_message.png" class="image16" />
		<n.page_node.>
			<n.new_topic_link>
				<title>
					<t>Post new message in <t.location.subject/></t>
				</title>
				<text>
					<n.default. to="[t]New Topic[/t]"><n.text/></n.default.>
				</text>
			</n.new_topic_link>
		</n.page_node.>
	</div>
</macro>

<macro name="returnable_action_link" dot_parameter="action_link">
	<n.if.is_front_page>
		<then>
			<n.action_link/>
		</then>
		<else>
			<div class="[n.action_link_style/]" style="margin-left:.6em">
				<img src="/images/forum_sm.png" class="image16"/>
				<n.page_node.node_link text="[t]Main Page[/t]"/>
			</div>
		</else>
	</n.if.is_front_page>
</macro>

<macro name="subapps_action_link" parameters="text">
	<n.returnable_action_link.>
		<n.page_node.>
			<n.if.has_subapps>
				<then>
					<div class="[n.action_link_style/]" style="margin-left:.6em">
						<img src="/images/forum_sm.png" class="image16"/>
						<n.node_link>
							<href><n.url template="view_subapps"/></href>
							<text>
								<n.default. to="[t]Sub-Forums[/t]"><n.text/></n.default.>
							</text>
						</n.node_link>
					</div>
				</then>
			</n.if.has_subapps>
		</n.page_node.>
	</n.returnable_action_link.>
</macro>

<macro name="topics_action_link" parameters="only_if_has_subapps" requires="node_page,servlet">
	<n.if.either condition1="[n.is_empty.only_if_has_subapps/]" condition2="[n.page_node.has_subapps/]">
		<then>
			<n.returnable_action_link.>
				<div class="[n.action_link_style/]" style="margin-left:.6em">
					<img src="/images/thread_sm.png" class="image16"/>
					<n.page_node.node_link href="[n.url template='view_topics'/]" text="[t]Topics View[/t]" />
				</div>
			</n.returnable_action_link.>
		</then>
	</n.if.either>
</macro>

<macro name="people_action_link" requires="node_page">
	<n.if.page_node.has_people_page>
		<then>
			<div class="[n.action_link_style/]" style="margin-left:.6em">
				<img src="/images/people_sm.png" class="image16"/>
				<n.page_node.people_link/>
			</div>
		</then>
	</n.if.page_node.has_people_page>
</macro>

<macro name="options_action_menu" requires="node_page">
	<div class="[n.action_link_style/]" style="margin-left:.6em">
		<img src="/images/gear.png" class="image16"/>
		<n.page_node.app_dropdown/>
	</div>
</macro>