HFP-1897 Set author as default role, change placeholder text for change
parent
3deda27f9b
commit
00deb02aa7
|
@ -4259,8 +4259,12 @@ class H5PContentValidator {
|
|||
'name' => 'authorRole',
|
||||
'type' => 'select',
|
||||
'label' => $this->h5pF->t("Author's role"),
|
||||
'default' => 'Originator',
|
||||
'default' => 'Author',
|
||||
'options' => array(
|
||||
(object) array(
|
||||
'value' => 'Editor',
|
||||
'label' => $this->h5pF->t('Author')
|
||||
),
|
||||
(object) array(
|
||||
'value' => 'Editor',
|
||||
'label' => $this->h5pF->t('Editor')
|
||||
|
@ -4312,7 +4316,7 @@ class H5PContentValidator {
|
|||
'name' => 'log',
|
||||
'type' => 'textarea',
|
||||
'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
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue