save_edit_post_custom_fields

   Usages of this macro
... in poll.naml
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<override_macro name="save_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.edit_poll
Binary
Namespace: NodeNamespaceExt
Parameters: poll_show_results_before_end, poll_allow_vote_change, poll_max_choices, do, poll_days_left, poll_show_results_before_vote
>
                <poll_max_choices>
                    <n.get_int
Binary
Namespace: NabbleNamespace
Parameters: exception, default, int
. default="1" exception="max_choices_field_not_integer"><n.poll_max_choices_field
Macro
Parameters: do
.value
Binary
Namespace: FieldNamespace
/></n.get_int.>
                </poll_max_choices>
                <poll_days_left><n.to_null_if
Macro
Parameters: equals, value
. equals=""><n.poll_days_left_field
Macro
Parameters: do
.value
Binary
Namespace: FieldNamespace
/></n.to_null_if.></poll_days_left>
                <poll_allow_vote_change><n.poll_allow_vote_change_field
Macro
Parameters: do
.value
Binary
Namespace: FieldNamespace
/></poll_allow_vote_change>
                <poll_show_results_before_vote><n.poll_show_results_before_vote_field
Macro
Parameters: do
.value
Binary
Namespace: FieldNamespace
/></poll_show_results_before_vote>
                <poll_show_results_before_end><n.poll_show_results_before_end_field
Macro
Parameters: do
.value
Binary
Namespace: FieldNamespace
/></poll_show_results_before_end>
            </n.edit_poll>
        </then>
        <else.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.save_new_poll
Macro
Requires: node
/>
    </n.if.both>
</override_macro>
Overrides default macro
... in edit_post.naml
216
217
218
<macro name="save_edit_post_custom_fields" requires="node_page">
    <n.comment
Macro
Parameters: text
.>To be overridden</n.comment.>
</macro>