mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
3c8e45f65a
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@67466 467b73ca-7a2a-4603-9d3b-597d59a354a9
43 lines
1.1 KiB
Scheme
Executable File
43 lines
1.1 KiB
Scheme
Executable File
<% require javascript(jsparty/tabstrip/tabstrip.js) %>
|
|
<% require css(jsparty/tabstrip/tabstrip.css) %>
|
|
<div id="LeftPane">
|
|
<!-- <h2><% _t('SEARCHLISTINGS','Search Listings') %></h2> -->
|
|
<div id="SearchForm_holder" class="leftbottom">
|
|
<% if SearchClassSelector = tabs %>
|
|
<ul class="tabstrip">
|
|
<% control ModelForms %>
|
|
<li class="$FirstLast"><a href="#{$Form.Name}_$ClassName">$Title</a></li>
|
|
<% end_control %>
|
|
</ul>
|
|
<% end_if %>
|
|
|
|
<% if SearchClassSelector = dropdown %>
|
|
<p id="ModelClassSelector">
|
|
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">
|
|
<% if CreateForm %>
|
|
<h3><% _t('ADDLISTING','Add') %></h3>
|
|
$CreateForm
|
|
<% end_if %>
|
|
|
|
<h3><% _t('SEARCHLISTINGS','Search') %></h3>
|
|
$SearchForm
|
|
|
|
<% if ImportForm %>
|
|
<h3><% _t('IMPORT_TAB_HEADER', 'Import') %></h3>
|
|
$ImportForm
|
|
<% end_if %>
|
|
|
|
</div>
|
|
<% end_control %>
|
|
</div>
|
|
</div> |