message_control

NAML documentation   Watch a video
   Usages of this macro
... in reply.naml
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<macro name="message_control" requires="node_page">
    <div class="field-box light-border-color">
        <div class="second-font field-title"><t>Message</t></div>
        <div class="weak-color">
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.visitor
Binary
Namespace: ServletNamespace
Parameters: do
.is_registered
Binary
Namespace: UserNamespace
>
                <then>
                    <n.html_format_field
Macro
Parameters: do
.checkbox
Macro
Requires: field
Parameters: style
 />
                    <label for="[n.html_format_field
Macro
Parameters: do
.name
Binary
Namespace: FieldNamespace
/]"><t>Message is in HTML Format</t></label><br/>
                    <div style="margin:.1em 0">
                        <n.editor_toolbar
Macro
Parameters: textarea_id, original_text, node_id
                            textarea_id="[n.message_field
Macro
Parameters: do
.name
Binary
Namespace: FieldNamespace
/]"
                            original_text="[n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.is_post
Binary
Namespace: NodeNamespace
][then.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.message_quoted
Macro
Requires: node
/][/n.if.page_node.is_post]"
                        />
                    </div>
                </then>
            </n.if.visitor.is_registered>
            <n.message_field
Macro
Parameters: do
.textarea
Macro
Requires: field
Parameters: maxlength, tabindex, style, wrap
 wrap="SOFT" tabindex="2" style="min-width:30em;max-width:55em;width:100%;height:20em;" />
            <n.new_post_extra_fields
Macro
Requires: node_page
/>
        </div>
    </div>
</macro>