mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 09:05:55 +00:00
Added attributes to menu link
Fix for missing attributes defined in CMSMenu::add_link($id, $title, $link, $priority, $attributes);
This commit is contained in:
parent
504342b45e
commit
cf642aae2f
@ -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}"> </span>
|
||||
<span class="text">$Title</span>
|
||||
</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user