silverstripe-reports/templates/LeftAndMain.ss
Sean Harvey 3913c747cd Ticket #1498 - display: none for archived site until it's turned on by js
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44285 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-11-05 21:51:50 +00:00

62 lines
2.7 KiB
Scheme

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<% base_tag %>
<title>$ApplicationName</title>
<link rel="stylesheet" type="text/css" href="cms/css/typography.css" />
<link rel="stylesheet" type="text/css" href="cms/css/layout.css" />
<link rel="stylesheet" type="text/css" href="cms/css/cms_left.css" />
<link rel="stylesheet" type="text/css" href="cms/css/cms_right.css" />
</head>
<body class="stillLoading">
<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;"><% _t('LOADING','Loading...',PR_HIGH) %></div>
<div id="top">
<% include CMSTopMenu %>
</div><div id="left" style="float:left">
$Left
</div>
<div id="separator" style="float:left">
&nbsp;
</div>
<div class="right" id="right">
$Right
</div>
<% if RightBottom %>
<div class="right" id="rightbottom">
$RightBottom
</div>
<% end_if %>
<div id="bottom">
<div class="holder">
<div id="logInStatus">
<a href="http://www.silverstripe.com" title="<% _t('SSWEB','Silverstripe Website') %>">SilverStripe CMS</a>&nbsp;-&nbsp;
<abbr style="border-style: none" title="<% _t('APPVERSIONTEXT1',"This is the") %> $ApplicationName <% _t('APPVERSIONTEXT2',"version that you are currently running, technically it's the CVS branch") %>">$CMSVersion</abbr> &nbsp; &nbsp; &nbsp;
<% control CurrentMember %>
<% _t('LOGGEDINAS','Logged in as') %> <strong>$FirstName $Surname</strong> | <a href="{$BaseHref}admin/myprofile" id="EditMemberProfile"><% _t('EDITPROFILE','Profile') %></a> | <a href="Security/logout" id="LogoutLink"><% _t('LOGOUT','log out') %></a>
<% end_control %>
</div>
<div id="switchView" class="bottomTabs">
<% if class = CMSMain %>
<div class="blank"> <% _t('VIEWPAGEIN','Page view:') %> </div>
<% else %>
<div class="blank"> <% _t('SWITCHTO','Switch to:') %> </div>
<% end_if %>
<a class="current" title="Edit this page in the CMS"><% _t('EDIT','Edit') %></a>
| <a id="viewStageSite" title="View the Page in the Draft Site" href="home/?stage=Stage"><% _t('DRAFTS','Draft Site') %></a>
| <a id="viewLiveSite" title="View the Page in the Published Site" href="home/?stage=Live"><% _t('PUBLIS','Published Site') %></a>
<a style="display: none; margin-left: 20px;" id="viewArchivedSite" href="home/"><% _t('ARCHS','Archived Site') %></a>
</div>
</div>
</div>
<script type="text/javascript">Behaviour.addLoader(hideLoading)</script>
</body>
</html>