... | in edit_post.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 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
<macro name="edit_post" requires="servlet">
<n.node_page Macro Requires: servlet
Parameters:
do
♦ ♦
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
condition
♦ ♦ Binary Namespace: ServletNamespace
Parameters:
do
♦ ♦ Macro Requires: user
Parameters:
node_attr
♦ ♦ Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦
<then>
<n.login Macro Requires: servlet
Parameters:
message
♦ ♦
</then>
</n.if.not.visitor.can_edit.page_node>
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
condition
♦ ♦ Macro Requires: servlet
♦ ♦
<then>
<n.subject_field Macro Parameters:
do
♦ ♦ Binary Namespace: FieldNamespace
Parameters:
value
♦ ♦ Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Binary Namespace: NodeNamespace
♦ ♦
<n.html_format_field Macro Parameters:
do
♦ ♦ Binary Namespace: FieldNamespace
Parameters:
value
♦ ♦ Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Binary Namespace: NodeNamespace
Parameters:
do
♦ ♦ Binary Namespace: MessageNamespace
♦ ♦
<n.message_field Macro Parameters:
do
♦ ♦ Binary Namespace: FieldNamespace
Parameters:
value
♦ ♦ Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Binary Namespace: NodeNamespace
Parameters:
do
♦ ♦ Binary Namespace: MessageNamespace
♦ ♦
<n.alert_field Macro Parameters:
do
♦ ♦ Binary Namespace: FieldNamespace
Parameters:
value
♦ ♦ Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Macro Requires: node, servlet
♦ ♦
<n.page_node Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Macro Requires: node_page
♦ ♦
</then>
<else>
<n.catch_exception Binary Namespace: BasicNamespace
Parameters:
id, do
♦ ♦
<n.edit_page_node Binary Namespace: NodePageNamespace
Parameters:
commit, do
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
condition
♦ ♦ Macro ♦ ♦
<n.set_subject Binary Namespace: NodeEditorNamespace
Parameters:
subject
♦ ♦ Macro Parameters:
do
♦ ♦ Binary Namespace: FieldNamespace
♦ ♦
<n.set_message Binary Namespace: NodeEditorNamespace
Parameters:
is_html, message
♦ ♦ Macro Parameters:
do
♦ ♦ Binary Namespace: FieldNamespace
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
condition
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
value
♦ ♦ Macro Parameters:
do
♦ ♦ Binary Namespace: FieldNamespace
♦ ♦
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
condition
♦ ♦ Macro ♦ ♦
<then.save_post Macro Requires: node_editor, servlet
♦ ♦
</n.if.not.is_preview>
</n.edit_page_node.>
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
condition
♦ ♦ Macro ♦ ♦
<then>
<n.page_node Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Macro Requires: node, servlet
♦ ♦
<n.page_node Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Macro Requires: node_page
♦ ♦
<n.redirect_to Binary Namespace: ServletNamespace
Parameters:
url
♦ ♦ Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Macro Requires: node
Parameters:
template, date, index_record
♦ ♦
</then>
</n.if.not.is_preview>
</n.catch_exception.>
</else>
</n.if.not.is_submitted_form>
<n.html Macro Parameters:
head, body
♦ ♦
<head>
<META NAME="robots" CONTENT="noindex,nofollow"/>
<n.title Macro Parameters:
text
♦ ♦
<style type="text/css">
.title-row {
padding:.2em;
border-width:2px;
border-style:solid;
font-weight:bold;
}
div.field-title {
margin-top: 0;
}
</style>
</head>
<body>
<n.edit_header Macro Parameters:
first_text, second_text
♦ ♦ Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Binary Namespace: NodeNamespace
Parameters:
do
♦ ♦ Macro Requires: node
♦ ♦
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Macro Requires: servlet
♦ ♦
<then>
<then>
</then>
</n.if.is_preview>
<n.show_edit_post_error Macro ♦ ♦
</then>
</n.if.is_submitted_form>
<n.form Macro Requires: servlet
Parameters:
macro, method, onsubmit, content
♦ ♦
<n.edit_post_form Macro ♦ ♦
<div style="margin-top:1em">
<input type="submit" class="toolbar action-button" value="[t]Post Message[/t]" />
<input type="submit" class="toolbar action-button" name="preview" value="[t]Preview Message[/t]" />
<t>or</t> <a href="[n.page_node Binary Namespace: NodePageNamespace
Parameters:
do
♦ ♦ Macro Requires: node
Parameters:
template, date, index_record
♦ ♦
</div>
</n.form.>
</body>
</n.html>
</n.node_page.>
</macro>
|
Free forum by Nabble | Edit this page |