silverstripe-cms/templates/Includes/CMSMain_Content.ss

35 lines
1.1 KiB
Scheme

<div id="pages-controller-cms-content" class="cms-content center cms-tabset $BaseCSSClasses" data-layout-type="border">
<div class="cms-content-header north">
<div>
<h2>
<% include CMSBreadcrumbs %>
</h2>
<div class="cms-content-header-tabs">
<ul>
<li <% if class == 'CMSPageEditController' %>class="ui-state-selected"<% end_if %>>
<a href="$LinkPageEdit" class="content-treeview cms-panel-link" title="Form_EditForm">
<% _t('CMSMain.TabContent', 'Content') %>
</a>
</li>
<li <% if class == 'CMSPageSettingsController' %>class="ui-state-selected"<% end_if %>>
<a href="$LinkPageSettings" class="content-listview cms-panel-link" title="Form_EditForm">
<% _t('CMSMain.TabSettings', 'Settings') %>
</a>
</li>
<li <% if class == 'CMSPageHistoryController' %>class="ui-state-selected"<% end_if %>>
<a href="$LinkPageHistory" class="content-listview cms-panel-link" title="Form_EditForm">
<% _t('CMSMain.TabHistory', 'History') %>
</a>
</li>
</ul>
</div>
</div>
</div>
$Tools
$EditForm
</div>