mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
cbc0b0a849
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@104078 467b73ca-7a2a-4603-9d3b-597d59a354a9
32 lines
882 B
Scheme
Executable File
32 lines
882 B
Scheme
Executable File
<% require javascript(sapphire/thirdparty/tabstrip/tabstrip.js) %>
|
|
<% require css(sapphire/thirdparty/tabstrip/tabstrip.css) %>
|
|
|
|
<div id="LeftPane">
|
|
<div id="SearchForm_holder" class="leftbottom">
|
|
<% if SearchClassSelector = tabs %>
|
|
<ul class="tabstrip">
|
|
<% control ModelForms %>
|
|
<li class="$FirstLast"><a id="tab-ModelAdmin_$Title.HTMLATT" href="#{$Form.Name}_$ClassName">$Title</a></li>
|
|
<% end_control %>
|
|
</ul>
|
|
<% end_if %>
|
|
|
|
<% if SearchClassSelector = dropdown %>
|
|
<p id="ModelClassSelector">
|
|
<% _t('ModelAdmin.SEARCHFOR','Search for:') %>
|
|
<select>
|
|
<% control ModelForms %>
|
|
<option value="{$Form.Name}_$ClassName">$Title</option>
|
|
<% end_control %>
|
|
</select>
|
|
</p>
|
|
<% end_if %>
|
|
|
|
<% control ModelForms %>
|
|
<div class="tab" id="{$Form.Name}_$ClassName">
|
|
$Content
|
|
</div>
|
|
<% end_control %>
|
|
</div>
|
|
</div>
|