mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Added CMSTopMenu template, so that add-on modules could change the top menu
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@40223 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
79f5bd5db4
commit
56a65ab20d
10
templates/Includes/CMSTopMenu.ss
Normal file
10
templates/Includes/CMSTopMenu.ss
Normal file
@ -0,0 +1,10 @@
|
||||
<div id="Logo" style="$LogoStyle">
|
||||
<% if ApplicationLogoText %>
|
||||
<a href="http://www.silverstripe.com/">$ApplicationLogoText</a><br />
|
||||
<% end_if %>
|
||||
</div>
|
||||
<ul id="MainMenu">
|
||||
<% control MainMenu %>
|
||||
<li class="$LinkingMode" id="Menu-$Code"><a href="$Link">$Title</a></li>
|
||||
<% end_control %>
|
||||
</ul>
|
@ -15,17 +15,7 @@
|
||||
<div id="Loading" style="background: #FFF url(cms/images/loading.gif) 50% 50% no-repeat; position: absolute;z-index: 100000;height: 100%;width: 100%;margin: 0;padding: 0;z-index: 100000;position: absolute;">Loading...</div>
|
||||
|
||||
<div id="top">
|
||||
<div id="Logo" style="$LogoStyle">
|
||||
<% if ApplicationLogoText %>
|
||||
<a href="http://www.silverstripe.com/">$ApplicationLogoText</a><br />
|
||||
<% end_if %>
|
||||
</div>
|
||||
<ul id="MainMenu">
|
||||
<% control MainMenu %>
|
||||
<li class="$LinkingMode" id="Menu-$Code"><a href="$Link">$Title</a></li>
|
||||
<% end_control %>
|
||||
</ul>
|
||||
|
||||
<% include CMSTopMenu %>
|
||||
</div><div id="left" style="float:left">
|
||||
$Left
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user