reply_form

NAML documentation   Watch a video
   Usages of this macro
... in workgroup.naml
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<override_macro name="reply_form">
    <n.overridden />
    <n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.>
        <n.assignment_controls
Macro
Requires: node, servlet
Parameters: guessed_assignee
>
            <guessed_assignee>
                <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
>
                    <condition.both
Binary
Namespace: BasicNamespace
Parameters: condition1, condition2
>
                        <condition1.not
Binary
Namespace: BasicNamespace
Parameters: condition
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.is_app
Binary
Namespace: NodeNamespace
/>
                        <condition2.visitor
Binary
Namespace: ServletNamespace
Parameters: do
.equals
Binary
Namespace: UserNamespace
Parameters: user
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.topic_node
Binary
Namespace: NodeNamespace
Parameters: do
.assignee
Binary
Namespace: NodeNamespaceExt
Parameters: do
/>
                    </condition.both>
                    <then.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.owner
Binary
Namespace: NodeNamespace
Parameters: do
.id
Binary
Namespace: UserNamespace
/>
                    <else.null
Binary
Namespace: BasicNamespace
/>
                </n.if>
            </guessed_assignee>
        </n.assignment_controls>
    </n.page_node.>
</override_macro>
Overrides default macro
... in reply.naml
134
135
136
137
138
139
140
141
142
143
144
145
<macro name="reply_form">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.not
Binary
Namespace: BasicNamespace
Parameters: condition
.visitor
Binary
Namespace: ServletNamespace
Parameters: do
.is_registered
Binary
Namespace: UserNamespace
>
        <then.anonymous_name_control
Macro
/>
    </n.if.not.visitor.is_registered>
 
    <n.subject_control
Macro
/>
    <n.message_control
Macro
Requires: node_page
/>
 
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.either
Binary
Namespace: BasicNamespace
Parameters: condition1, condition2
 condition1="[n.not
Binary
Namespace: BasicNamespace
Parameters: condition
.visitor
Binary
Namespace: ServletNamespace
Parameters: do
.is_registered
Binary
Namespace: UserNamespace
/]" condition2="[n.visitor
Binary
Namespace: ServletNamespace
Parameters: do
.has_too_many_posts
Binary
Namespace: UserNamespace
/]">
        <then.captcha_control
Macro
/>
    </n.if.either>
</macro>