BUGFIX Fixed old references to GenericDataAdmin in ModelAdmin.php and ModelAdmin_Results.ss

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64754 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2008-10-24 03:45:39 +00:00
parent 21a61404ba
commit 2795dae693
2 changed files with 2 additions and 2 deletions

View File

@ -198,7 +198,7 @@ abstract class ModelAdmin extends LeftAndMain {
new DropdownField('ClassName', _t('ModelAdmin.CLASSTYPE', 'Type', PR_MEDIUM, 'Type of object to add'), $modelMap) new DropdownField('ClassName', _t('ModelAdmin.CLASSTYPE', 'Type', PR_MEDIUM, 'Type of object to add'), $modelMap)
), ),
new FieldSet( new FieldSet(
new FormAction('add', _t('GenericDataAdmin.CREATE')) new FormAction('add', _t('ModelAdmin.CREATE', 'Create'))
) )
); );
$form->setFormMethod('get'); $form->setFormMethod('get');

View File

@ -1,5 +1,5 @@
<% if Results %> <% if Results %>
$Form $Form
<% else %> <% else %>
<p><% sprintf(_t('GenericDataAdmin.NORESULTS'), $ModelPluralName) %></p> <p><% sprintf(_t('ModelAdmin.NORESULTS', 'No results'), $ModelPluralName) %></p>
<% end_if %> <% end_if %>