unlock_topic_link

NAML documentation   Watch a video
   Usages of this macro
The source code below doesn't have navigation links because no usage has been compiled yet. Navigation links depend on how and where the macro is used, so first you may try finding all usages of "unlock_topic_link".
... in topic.naml
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
<macro name="unlock_topic_link" requires="node" dot_parameter="text" parameters="title, class">
    <n.put_in_head.>
        <script type="text/javascript">
            Nabble.unlockTopic = function(id) {
                var call = '/'+'template/NamlServlet.jtp?macro=unlock_topic&node=' + id;
                $.getScript(call, function() {
                    $('#lock-icon').hide();
                    NabbleDropdown.hide('unlockTopic');
                    NabbleDropdown.show('lockTopic');
                    alert('<t>This topic has been unlocked.</t>');
                });
            };
        </script>
    </n.put_in_head.>
    <a href="javascript: void Nabble.unlockTopic([n.id/])" class="[n.class/]" rel="nofollow" title="[n.title/]"><n.default. to="[t]Unlock topic[/t]"><n.text/></n.default.></a>
</macro>