Remove sub navigation for "Files" (fixes 7956)

Backport from master. Fixes display issues with expanded,
unselected submenus ... by removing them.
They're strictly not necessary since both "list" and "add"
modes can be reached through the default AssetAdmin UI.
This commit is contained in:
Naomi Guyer 2012-10-23 09:55:08 +13:00 committed by Ingo Schommer
parent 2e9b5e9221
commit 92e4b4fc5b

View File

@ -28,21 +28,6 @@
<span class="icon icon-16 icon-{$Code.LowerCase}">&nbsp;</span> <span class="icon icon-16 icon-{$Code.LowerCase}">&nbsp;</span>
<span class="text">$Title</span> <span class="text">$Title</span>
</a> </a>
<% if Code == 'AssetAdmin' %>
<ul>
<li class="first <% if Top.class == 'AssetAdmin' %>current<% end_if %>" id="Menu-AssetAdmin">
<a href="admin/assets/">
<span class="text"><% _t('AssetAdmin.EditOrgMenu', 'Edit &amp; organize') %></span>
</a>
</li>
<li class="last <% if Top.class == 'CMSFileAddController' %>current<% end_if %>" id="Menu-CMSFileAddController">
<a href="admin/assets/add">
<span class="text"><% _t('AssetAdmin.ADDFILES', 'Add files') %></span>
</a>
</li>
</ul>
<% end_if %>
</li> </li>
<% end_loop %> <% end_loop %>
</ul> </ul>