mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
project name changed to epmu
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@50462 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
ed096f66fb
commit
265130b4b5
@ -128,9 +128,9 @@ abstract class GenericDataAdmin extends LeftAndMain {
|
||||
* @return Form
|
||||
*/
|
||||
function CreationForm() {
|
||||
// is this plural name used ??
|
||||
// is this plural name used ??
|
||||
$plural_name = singleton($this->stat('data_type'))->i18n_plural_name();
|
||||
$singular_name = singleton($this->stat('data_type'))->i18_nsingular_name();
|
||||
$singular_name = singleton($this->stat('data_type'))->i18n_singular_name();
|
||||
return new Form($this, 'CreationForm', new FieldSet(), new FieldSet(new FormAction("createRecord", _t('GenericDataAdmin.CREATE', 'Create').' '.$singular_name)));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user