pin_topic_link

   Usages of this macro
... in topic.naml
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
<macro name="pin_topic_link" requires="node" dot_parameter="text" parameters="title, class">
    <n.put_in_head
Binary
Namespace: HtmlNamespace
Parameters: in_head
.>
        <script type="text/javascript">
            Nabble.pinTopic = function(id) {
                var call = '/' + 'template/NamlServlet.jtp?macro=pin_topic&node=' + id;
                $.getScript(call, function() {
                    $('#pin-icon').show();
                    NabbleDropdown.show('unpinTopic');
                    NabbleDropdown.hide('pinTopic');
                    alert('<t>This topic has been pinned.</t>');
                });
            };
        </script>
    </n.put_in_head.>
    <a href="javascript: void Nabble.pinTopic([n.id
Binary
Namespace: NodeNamespace
/])" class="[n.class/]" rel="nofollow" title="[n.title/]"><n.default
Binary
Namespace: BasicNamespace
Parameters: to, text
. to="[t]Pin topic[/t]"><n.text/></n.default.></a>
</macro>