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:
Sam Minnee 2007-08-16 06:25:55 +00:00
parent 79f5bd5db4
commit 56a65ab20d
2 changed files with 11 additions and 11 deletions

View 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>

View File

@ -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