ENHANCEMENT Only showing import form in ModelAdmin if an importer is set

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@67321 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2008-12-03 20:41:56 +00:00 committed by Sam Minnee
parent f45662cab1
commit e6178ad82b

View File

@ -32,9 +32,12 @@
<h3><% _t('SEARCHLISTINGS','Search') %></h3>
$SearchForm
<h3><% _t('IMPORT_TAB_HEADER', 'Import') %></h3>
$ImportForm
</div>
<% if ImportForm %>
<h3><% _t('IMPORT_TAB_HEADER', 'Import') %></h3>
$ImportForm
<% end_if %>
</div>
<% end_control %>
</div>
</div>