... | in dropdown.naml |
268 269 270 271 272 273 274 275 276 277 278 279 280 281 282
|
<macro name="menu_change_language" requires="node">
<n.if.is_in_command name="dropdown">
<then>
dropdown.add('changeLanguage', '<n.javascript_string_encode.change_language_link/>', 'display:none');
</then>
<else>
<n.set_local_node.this_node/>
<n.if.both condition1="[n.local_node.is_root/]" condition2="[n.visitor.can_edit.local_node/]">
<then>
NabbleDropdown.show('changeLanguage');
</then>
</n.if.both>
</else>
</n.if.is_in_command>
</macro>
|
Free forum by Nabble | Edit this page |