edit_signature

NAML documentation   Watch a video
Error Found
An error was found in the NAML code of this application – View Details | Go to NAML Editor
macro or method for 'report_inappropriate_content_panel' not found in [basic, nabble, servlet, classic_view_namespace, forum_topic_namespace, node_page, html] stack = [basic, nabble, servlet, classic_view_namespace, forum_topic_namespace, node, node_poll, node_page, html]
  in report_inappropriate_content_panel(custom_tweak:topic_html:59) - <n.report_inappropriate_content_panel/>
  in body(nabble:topic.naml:146) - <n.body/>
  in body(nabble:utilities.naml:10) - <n.body/>
  in body(responsive:responsive.naml:13) - <n.body/>
  in nabble_html(responsive:responsive.naml:9) - <n.nabble_html> - public void nabble.view.web.template.ServletNamespace.nabble_html(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter)
  in html_impl(nabble:utilities.naml:4) - <n.html_impl>
  in html(nabble:topic.naml:141) - <n.html>
  in do(nabble:utilities.naml:936) - <n.as_node_page.do/>
  in as_node_page(nabble:utilities.naml:936) - <n.as_node_page.do/> - public void nabble.view.web.template.NodeNamespace.as_node_page(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter)
  in do(nabble:utilities.naml:941) - <n.get_node_from_request_parameter.do/>
  in get_node_from_request_parameter(nabble:utilities.naml:941) - <n.get_node_from_request_parameter.do/> - public void nabble.view.web.template.ServletNamespace.get_node_from_request_parameter(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter) throws java.io.IOException,javax.servlet.ServletException,nabble.naml.namespaces.TemplateException
  in catch_exception(nabble:utilities.naml:940) - <n.catch_exception. id="get-node-block"> - public void nabble.naml.namespaces.BasicNamespace.catch_exception(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
  in get_node_from_parameter(nabble:utilities.naml:936) - <n.get_node_from_parameter.as_node_page.do/>
  in node_page(nabble:topic.naml:138) - <n.node_page.>
  in topic_min_html(custom_tweak:topic_html:2) - <n.topic_min_html>
  in topic_html(nabble:topic.naml:59) - <n.topic_html/>
  in topic_html_page(nabble:topic.naml:46) - <n.topic_html_page/>
  in do(nabble:topic.naml:28) - <n.do/>
  in forum_topic_namespace(nabble:topic.naml:46) - <n.forum_topic_namespace.topic_html_page/>
  in do(nabble:topic.naml:29) - <n.do/>
  in classic_view_namespace(nabble:topic.naml:46) - <n.classic_view_namespace.forum_topic_namespace.topic_html_page/>
  in (nabble:topic.naml:45) - <subroutine name="classic_forum_topic" requires="basic,nabble,servlet">
   Usages of this macro
... in edit_signature.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
<macro name="edit_signature" requires="servlet">
    <n.visitor
Binary
Namespace: ServletNamespace
Parameters: do
.as_user_page
Binary
Namespace: UserNamespace
Parameters: do
.>
        <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.not
Binary
Namespace: BasicNamespace
Parameters: condition
.page_user
Binary
Namespace: UserPageNamespace
Parameters: do
.is_registered
Binary
Namespace: UserNamespace
>
            <then>
                <n.login
Macro
Requires: servlet
Parameters: message
.><t
Macro
>You must login to view this page.</t></n.login.>
            </then>
        </n.if.not.page_user.is_registered>
        <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.is_submitted_form
Macro
Requires: servlet
>
            <then>
                <n.catch_exception
Binary
Namespace: BasicNamespace
Parameters: id, do
. id="save-signature">
                    <n.edit_page_user
Binary
Namespace: UserPageNamespace
Parameters: commit, do
.>
                        <n.set_signature
Binary
Namespace: UserEditorNamespace
Parameters: signature, is_html
 signature="[n.signature_field
Macro
Parameters: do
.value
Binary
Namespace: FieldNamespace
/]" is_html="[n.html_format_field
Macro
Parameters: do
.value
Binary
Namespace: FieldNamespace
/]"/>
                        <n.save_user
Binary
Namespace: UserEditorNamespace
/>
                    </n.edit_page_user.>
                    <n.redirect_to
Binary
Namespace: ServletNamespace
Parameters: url
.page_user
Binary
Namespace: UserPageNamespace
Parameters: do
.user_profile_path
Macro
/>
                </n.catch_exception.>
            </then>
            <else.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.page_user
Binary
Namespace: UserPageNamespace
Parameters: do
.has_signature
Binary
Namespace: UserNamespace
>
                <then>
                    <n.html_format_field
Macro
Parameters: do
.set_value
Binary
Namespace: FieldNamespace
Parameters: value
 value="[n.page_user
Binary
Namespace: UserPageNamespace
Parameters: do
.signature
Macro
Requires: user
Parameters: do
.is_html_format
Binary
Namespace: MessageNamespace
/]" />
                    <n.signature_field
Macro
Parameters: do
.set_value
Binary
Namespace: FieldNamespace
Parameters: value
 value="[n.page_user
Binary
Namespace: UserPageNamespace
Parameters: do
.signature
Macro
Requires: user
Parameters: do
.as_editable
Binary
Namespace: MessageNamespace
/]" />
                </then>
            </else.if.page_user.has_signature>
        </n.if.is_submitted_form>
        <n.html
Macro
Parameters: head, body
>
            <head>
                <META NAME="robots" CONTENT="noindex,nofollow"/>
                <n.title
Macro
Parameters: text
.><t>Edit Signature</t></n.title.>
            </head>
            <body>
                <h1><t>Edit Signature</t></h1>
 
                <n.show_edit_signature_error
Macro
/>
 
                <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.page_user
Binary
Namespace: UserPageNamespace
Parameters: do
.has_signature
Binary
Namespace: UserNamespace
>
                    <then.show_current_signature
Macro
/>
                </n.if.page_user.has_signature>
 
                <n.form
Macro
Requires: servlet
Parameters: macro, method, onsubmit, content
.>
                    <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>Signature is in HTML format</t></label><br/>
                    <n.signature_field
Macro
Parameters: do
.textarea
Macro
Requires: field
Parameters: maxlength, tabindex, style, wrap
 wrap="SOFT" tabindex="2" style="width:35em;height:7em;" />
 
                    <div style="margin-top:1.4em">
                        <input type="submit" value="[t]Save Signature[/t]" />
                        <t
Macro
>or</t> <a href="[n.page_user
Binary
Namespace: UserPageNamespace
Parameters: do
.user_profile_path
Macro
/]"><t
Macro
>Cancel</t></a>
                    </div>
                </n.form.>
            </body>
        </n.html>
    </n.visitor.as_user_page.>
</macro>