... | in edit_post_form.naml |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
|
<override_macro name="edit_post_form">
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Binary Namespace: NodeNamespace
♦ ♦
<then>
<div class="title-row info-message" style="font-weight:normal;padding:.3em .5em">
<div class="important" style="font-weight:bold">
<t>Your changes will not be sent to the mailing list.</t>
</div>
<t>If you want others in the mailing list to know of your changes,
please compose a new message or reply to your original message.</t>
</div>
</then>
</n.if.page_node.is_mail_to_list>
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Binary Namespace: NodeNamespace
Parameters:
do
♦ ♦ Binary Namespace: MessageNamespace
♦ ♦
<then>
<div class="info-message" style="font-weight:bold;padding:.3em .5em">
<t>The post you are editing was originally imported by email. If this post has attachments, those files will be lost after you save your changes. You may download the attachments and re-upload them to your edited post.</t>
</div>
</then>
</n.if.page_node.message.is_imported_mail>
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
condition
♦ ♦ Binary Namespace: ServletNamespace
Parameters:
do
♦ ♦ Binary Namespace: UserNamespace
♦ ♦
<then>
<div class="field-box light-border-color">
<div class="second-font field-title"><t>Your Name</t></div>
<div class="weak-color">
<n.page_node Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Binary Namespace: NodeNamespace
Parameters:
do
♦ ♦ Binary Namespace: UserNamespace
Parameters:
truncate
♦ ♦
</div>
</div>
</then>
</n.if.not.visitor.is_registered>
<div class="field-box light-border-color">
<div class="second-font field-title"><t>Subject</t></div>
<div class="weak-color">
<n.subject_field Macro Parameters:
do
♦ ♦ Macro Requires: field
Parameters:
size, maxlength, tabindex, type
♦ ♦
</div>
</div>
<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
♦ ♦ Binary Namespace: ServletNamespace
Parameters:
do
♦ ♦ Binary Namespace: UserNamespace
♦ ♦
<then>
<label for="[n.html_format_field Macro Parameters:
do
♦ ♦ Binary Namespace: FieldNamespace
♦ ♦
<div style="margin:.1em 0">
<n.editor_toolbar Macro Parameters:
textarea_id, original_text, node_id
♦ ♦
original_text="[n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Binary Namespace: NodeNamespace
Parameters:
do
♦ ♦ Binary Namespace: NodeNamespace
♦ ♦ Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Binary Namespace: NodeNamespace
Parameters:
do
♦ ♦ Macro Requires: node
♦ ♦
node_id="[n.page_node Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Binary Namespace: NodeNamespace
♦ ♦
/>
</div>
</then>
</n.if.visitor.is_registered>
<n.message_field Macro Parameters:
do
♦ ♦ Macro Requires: field
Parameters:
maxlength, tabindex, style, wrap
♦ ♦
<n.comment Macro Parameters:
text
♦ ♦
</div>
</div>
</override_macro>
|
... | in edit_post.naml |
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141
|
<macro name="edit_post_form">
<n.if.page_node.is_mail_to_list>
<then>
<div class="title-row info-message" style="font-weight:normal;padding:.3em .5em">
<div class="important" style="font-weight:bold">
<t>Your changes will not be sent to the mailing list.</t>
</div>
<t>If you want others in the mailing list to know of your changes,
please compose a new message or reply to your original message.</t>
</div>
</then>
</n.if.page_node.is_mail_to_list>
<n.if.page_node.message.is_imported_mail>
<then>
<div class="info-message" style="font-weight:bold;padding:.3em .5em">
<t>The post you are editing was originally imported by email. If this post has attachments, those files will be lost after you save your changes. You may download the attachments and re-upload them to your edited post.</t>
</div>
</then>
</n.if.page_node.message.is_imported_mail>
<n.if.not.visitor.is_registered>
<then>
<div class="field-box light-border-color">
<div class="second-font field-title"><t>Your Name</t></div>
<div class="weak-color">
<n.page_node.owner.name/>
</div>
</div>
</then>
</n.if.not.visitor.is_registered>
<div class="field-box light-border-color">
<div class="second-font field-title"><t>Subject</t></div>
<div class="weak-color">
<n.subject_field.input size="60" tabindex="1" />
</div>
</div>
<div class="field-box light-border-color">
<div class="second-font field-title"><t>Message</t></div>
<div class="weak-color">
<n.if.visitor.is_registered>
<then>
<n.html_format_field.checkbox />
<label for="[n.html_format_field.name/]"><t>Message is in HTML Format</t></label><br/>
<div style="margin:.1em 0">
<n.editor_toolbar
textarea_id="[n.message_field.name/]"
original_text="[n.if.page_node.parent_node.is_post][then.page_node.parent_node.message_quoted/][/n.if.page_node.parent_node.is_post]"
node_id="[n.page_node.id/]"
/>
</div>
</then>
</n.if.visitor.is_registered>
<n.message_field.textarea wrap="SOFT" tabindex="2" style="min-width:30em;max-width:55em;width:100%;height:20em;" />
<n.edit_post_extra_fields/>
</div>
</div>
</macro>
|
Powered by Nabble | Edit this page |