... | in poll.naml |
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
|
<override_macro name="edit_post_extra_fields" requires="node_page">
<n.overridden/>
<n.if.both condition1="[n.page_node.parent_node.is_app/]" condition2="[n.visitor.can_create_poll_in.page_node/]">
<then>
<div class="extra-fields">
<img src="/images/add.png" width="12" height="12" style="margin-top:.2em"/>
<n.if.page_node.has_poll>
<then.edit_poll_form/>
<else.add_poll_form/>
</n.if.page_node.has_poll>
</div>
</then>
</n.if.both>
</override_macro>
|
... | in edit_post.naml |
131 132 133 134 135 136 137 138 139 140 141 142
|
<macro name="edit_post_extra_fields" requires="node_page">
<n.extra_fields.>
<n.if.visitor.is_registered>
<then>
<div class="extra-fields">
<n.alert_field.checkbox style="margin-top:.1em"/>
<label for="[n.alert_field.name/]"><t>Alert me by email when someone posts to this thread</t></label>
</div>
</then>
</n.if.visitor.is_registered>
</n.extra_fields.>
</macro>
|
Free forum by Nabble | Edit this page |