Skip to content

Commit

Permalink
bugfix for the feature 'open external links in new window' for menuba…
Browse files Browse the repository at this point in the history
…r links
  • Loading branch information
saimn committed Jun 5, 2011
1 parent 2090637 commit 456c4a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/menubar_links.tpl
@@ -1,6 +1,6 @@
<h3>{'Links'|@translate}</h3>
<ul>
{foreach from=$block->data item=link}
<li><a href="{$link.URL}">{$link.LABEL}</a></li>
<li><a href="{$link.URL}" class="external"{if isset($link.new_window)} onclick="window.open(this.href, '{$link.new_window.NAME}','{$link.new_window.FEATURES}'); return false;"{/if}>{$link.LABEL}</a></li>
{/foreach}
</ul>

0 comments on commit 456c4a0

Please sign in to comment.