anonymous_subscription_form

   Usages of this macro
... in subscribe.naml
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
<macro name="anonymous_subscription_form">
    <div style="margin:1em 0">
        <t>Enter below your email address and we will send a confirmation email to you.</t>
        <div class="second-font big-title" style="margin:1em 0 .2em">
            <t>Enter your email address</t>
        </div>
        <n.form
Macro
Requires: servlet
Parameters: macro, method, onsubmit, content
.>
            <input type="hidden" name="node" value="[n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.id
Binary
Namespace: NodeNamespace
/]"/>
            <input type="hidden" name="action" value="send-anonymous"/>
            <input type="text" size="40" maxlength="80" name="email"/><br/>
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.is_post
Binary
Namespace: NodeNamespace
>
                <then>
                    <input type="hidden" name="subscription_to" value="DESCENDANTS"/>
                    <div class="weak-color">
                        <t>You will receive an email for each new message posted under this topic.</t>
                    </div>
                </then>
                <else>
                    <input id="sChildren" type="radio" name="subscription_to" value="CHILDREN" checked="true"><label for="sChildren"><t>New topics only</t></label></input><br/>
                    <input id="sDescendants" type="radio" name="subscription_to" value="DESCENDANTS"><label for="sDescendants"><t>All posts</t></label></input><br/>
                </else>
            </n.if.page_node.is_post>
            <input type="submit" class="toolbar action-button" value="[t]Subscribe[/t]" style="margin-top:.5em"/>
        </n.form.>
    </div>
</macro>