init_edit_post_custom_fields

   Usages of this macro
... in poll.naml
125
126
127
128
129
130
131
132
133
134
135
136
<override_macro name="init_edit_post_custom_fields" requires="node_page">
    <n.overridden/>
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.both
Binary
Namespace: BasicNamespace
Parameters: condition1, condition2
 condition1="[n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.has_poll
Binary
Namespace: NodeNamespaceExt
Parameters: do
/]" condition2="[n.visitor
Binary
Namespace: ServletNamespace
Parameters: do
.can_create_poll_in
Macro
Requires: user
Parameters: node_attr
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
/]">
        <then>
            <n.poll_max_choices_field
Macro
Parameters: do
.set_value
Binary
Namespace: FieldNamespace
Parameters: value
 value="[n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.poll_max_choices
Binary
Namespace: NodeNamespaceExt
Parameters: do
/]" />
            <n.poll_days_left_field
Macro
Parameters: do
.set_value
Binary
Namespace: FieldNamespace
Parameters: value
 value="[n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.poll_days_left
Binary
Namespace: NodeNamespaceExt
Parameters: do
/]" />
            <n.poll_allow_vote_change_field
Macro
Parameters: do
.set_value
Binary
Namespace: FieldNamespace
Parameters: value
 value="[n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.poll_allow_vote_change
Binary
Namespace: NodeNamespaceExt
Parameters: do
/]" />
            <n.poll_show_results_before_vote_field
Macro
Parameters: do
.set_value
Binary
Namespace: FieldNamespace
Parameters: value
 value="[n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.poll_show_results_before_vote
Binary
Namespace: NodeNamespaceExt
Parameters: do
/]" />
            <n.poll_show_results_before_end_field
Macro
Parameters: do
.set_value
Binary
Namespace: FieldNamespace
Parameters: value
 value="[n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.poll_show_results_before_end
Binary
Namespace: NodeNamespaceExt
Parameters: do
/]" />
        </then>
    </n.if.both>
</override_macro>
Overrides default macro
... in edit_post.naml
212
213
214
<macro name="init_edit_post_custom_fields" requires="node_page">
    <n.comment
Macro
Parameters: text
.>To be overridden</n.comment.>
</macro>