pin_topic_link

   Usages of this macro
... in topic.naml
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
<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>