anonymous_subscription_form

   Usages of this macro
... in subscribe.naml
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
<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>