Added attributes to menu link

Fix for missing attributes defined in CMSMenu::add_link($id, $title,
$link, $priority, $attributes);
This commit is contained in:
Gorrie 2016-02-05 11:20:51 +13:00
parent 504342b45e
commit cf642aae2f

View File

@ -27,7 +27,7 @@
<ul class="cms-menu-list">
<% loop $MainMenu %>
<li class="$LinkingMode $FirstLast <% if $LinkingMode == 'link' %><% else %>opened<% end_if %>" id="Menu-$Code" title="$Title.ATT">
<a href="$Link" <% if $Code == 'Help' %>target="_blank"<% end_if %>>
<a href="$Link" <% if $Code == 'Help' %>target="_blank"<% end_if %> $AttributesHTML>
<span class="icon icon-16 icon-{$Code.LowerCase}">&nbsp;</span>
<span class="text">$Title</span>
</a>