... | in dropdown.naml |
348 349 350 351 352 353 354 355 356 357 358 359 360 361 362
|
<macro name="menu_use_google_analytics" requires="node">
<n.if.is_in_command name="dropdown">
<then>
dropdown.add('useGoogleAnalytics', '<n.javascript_string_encode.use_google_analytics_link/>', 'display:none');
</then>
<else>
<n.set_local_node.this_node/>
<n.if.both condition1="[n.visitor.can_edit.local_node/]" condition2="[n.local_node.is_root/]">
<then>
NabbleDropdown.show('useGoogleAnalytics');
</then>
</n.if.both>
</else>
</n.if.is_in_command>
</macro>
|
Free forum by Nabble | Edit this page |