subscribe_widget

NAML documentation   Watch a video
   Usages of this macro
... in widget.naml
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
142
143
<macro name="subscribe_widget">
    <n.widget
Macro
Parameters: contents, title
.>
        <div id="subscribe-widget" class="invisible">
            <h2 class="sidebar-section shaded-bg-color"><t>Subscribe via email</t></h2>
            <ul id="subscribe-widget-form" class="sidebar-section">
                <n.form
Macro
Requires: servlet
Parameters: macro, method, onsubmit, content
. macro="subscribe">
                    <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="hidden" name="subscription_to" value="CHILDREN"/>
                    <table>
                        <tr>
                            <td><b><t>Email</t></b></td>
                            <td><input type="text" size="25" maxlength="80" name="email"/></td>
                        </tr>
                        <tr>
                            <td></td>
                            <td><input type="submit" value="[t]Subscribe[/t]" style="margin-top:.5em"/></td>
                        </tr>
                    </table>
                </n.form.>
            </ul>
        </div>
        <script type="text/javascript">
            if (!Nabble.userId)
                Nabble.get('subscribe-widget').style.display = 'block';
        </script>
    </n.widget.>
</macro>