HFP-1897 Set author as default role, change placeholder text for change
parent
3deda27f9b
commit
00deb02aa7
|
@ -4259,8 +4259,12 @@ class H5PContentValidator {
|
||||||
'name' => 'authorRole',
|
'name' => 'authorRole',
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
'label' => $this->h5pF->t("Author's role"),
|
'label' => $this->h5pF->t("Author's role"),
|
||||||
'default' => 'Originator',
|
'default' => 'Author',
|
||||||
'options' => array(
|
'options' => array(
|
||||||
|
(object) array(
|
||||||
|
'value' => 'Editor',
|
||||||
|
'label' => $this->h5pF->t('Author')
|
||||||
|
),
|
||||||
(object) array(
|
(object) array(
|
||||||
'value' => 'Editor',
|
'value' => 'Editor',
|
||||||
'label' => $this->h5pF->t('Editor')
|
'label' => $this->h5pF->t('Editor')
|
||||||
|
@ -4312,7 +4316,7 @@ class H5PContentValidator {
|
||||||
'name' => 'log',
|
'name' => 'log',
|
||||||
'type' => 'textarea',
|
'type' => 'textarea',
|
||||||
'label' => $this->h5pF->t('Description of change'),
|
'label' => $this->h5pF->t('Description of change'),
|
||||||
'placeholder' => $this->h5pF->t('Add a description of your change'),
|
'placeholder' => $this->h5pF->t('Photo cropped, text changed, etc.'),
|
||||||
'optional' => TRUE
|
'optional' => TRUE
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue