2012-02-16 17:37:46 +01:00
|
|
|
<div class="cms-menu cms-panel cms-panel-layout west" id="cms-menu" data-layout-type="border">
|
2012-02-15 14:18:13 +01:00
|
|
|
<div class="cms-logo-header north">
|
2011-10-29 02:01:06 +02:00
|
|
|
<div class="cms-logo">
|
2012-02-01 18:30:34 +01:00
|
|
|
<a href="http://www.silverstripe.org/" target="_blank" title="SilverStripe (Version - $CMSVersion)">
|
2011-10-29 02:01:06 +02:00
|
|
|
SilverStripe <% if CMSVersion %><abbr class="version">$CMSVersion</abbr><% end_if %>
|
|
|
|
</a>
|
2012-04-13 16:21:30 +02:00
|
|
|
<span><% if SiteConfig %>$SiteConfig.Title<% else %>$ApplicationName<% end_if %></span>
|
2011-10-29 02:01:06 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="cms-login-status">
|
|
|
|
<a href="Security/logout" class="logout-link" title="<% _t('LOGOUT','Log out') %>"><% _t('LOGOUT','Log out') %></a>
|
2012-05-11 03:49:20 +02:00
|
|
|
<% with CurrentMember %>
|
2011-10-29 02:01:06 +02:00
|
|
|
<span>
|
|
|
|
<% _t('Hello','Hi') %>
|
2012-04-03 02:48:50 +02:00
|
|
|
<a href="{$AbsoluteBaseURL}admin/myprofile" class="profile-link ss-ui-dialog-link" data-popupclass="edit-profile-popup">
|
2011-10-29 02:01:06 +02:00
|
|
|
<% if FirstName && Surname %>$FirstName $Surname<% else_if FirstName %>$FirstName<% else %>$Email<% end_if %>
|
|
|
|
</a>
|
|
|
|
</span>
|
2012-05-11 03:49:20 +02:00
|
|
|
<% end_with %>
|
2011-04-15 04:12:57 +02:00
|
|
|
</div>
|
2011-10-29 02:01:06 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="cms-panel-content center">
|
2011-05-13 03:30:49 +02:00
|
|
|
<ul class="cms-menu-list">
|
2012-05-11 03:49:20 +02:00
|
|
|
<% loop MainMenu %>
|
2012-05-16 15:26:01 +02:00
|
|
|
<li class="$LinkingMode $FirstLast <% if LinkingMode == 'link' %><% else %>opened<% end_if %>" id="Menu-$Code" title="$Title.ATT">
|
2012-03-09 02:07:12 +01:00
|
|
|
<a href="$Link" <% if Code == 'Help' %>target="_blank"<% end_if%>>
|
2011-08-09 01:39:12 +02:00
|
|
|
<span class="icon icon-16 icon-{$Code.LowerCase}"> </span>
|
2011-05-13 03:30:49 +02:00
|
|
|
<span class="text">$Title</span>
|
|
|
|
</a>
|
2011-10-29 02:01:06 +02:00
|
|
|
|
2012-01-09 17:32:08 +01:00
|
|
|
<% if Code == 'AssetAdmin' %>
|
|
|
|
<ul>
|
2012-03-23 23:57:14 +01:00
|
|
|
<li class="first <% if Top.class == 'AssetAdmin' %>current<% end_if %>" id="Menu-AssetAdmin">
|
2012-01-09 17:32:08 +01:00
|
|
|
<a href="admin/assets/">
|
|
|
|
<span class="text">Edit & organize</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
2012-03-23 23:57:14 +01:00
|
|
|
<li class="last <% if Top.class == 'CMSFileAddController' %>current<% end_if %>" id="Menu-CMSFileAddController">
|
2012-01-09 17:32:08 +01:00
|
|
|
<a href="admin/assets/add">
|
|
|
|
<span class="text">Add files</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<% end_if %>
|
2011-05-13 03:30:49 +02:00
|
|
|
</li>
|
2012-05-11 03:49:20 +02:00
|
|
|
<% end_loop %>
|
2011-05-13 03:30:49 +02:00
|
|
|
</ul>
|
|
|
|
</div>
|
2011-10-29 02:01:06 +02:00
|
|
|
|
|
|
|
<div class="cms-panel-toggle south">
|
|
|
|
<a class="toggle-expand" href="#"><span>»</span></a>
|
|
|
|
<a class="toggle-collapse" href="#"><span>«</span></a>
|
|
|
|
</div>
|
2012-05-11 03:49:20 +02:00
|
|
|
</div>
|