HFP-2074 Add optgroup to Creative Commons licenses in metadata dialog.
parent
4d286b0bdb
commit
d963a23a15
|
@ -4168,6 +4168,10 @@ class H5PContentValidator {
|
||||||
'value' => 'U',
|
'value' => 'U',
|
||||||
'label' => $this->h5pF->t('Undisclosed')
|
'label' => $this->h5pF->t('Undisclosed')
|
||||||
),
|
),
|
||||||
|
(object) array(
|
||||||
|
'type' => 'optgroup',
|
||||||
|
'label' => $this->h5pF->t('Creative Commons'),
|
||||||
|
'options' => [
|
||||||
(object) array(
|
(object) array(
|
||||||
'value' => 'CC BY',
|
'value' => 'CC BY',
|
||||||
'label' => $this->h5pF->t('CC Attribution'),
|
'label' => $this->h5pF->t('CC Attribution'),
|
||||||
|
@ -4206,6 +4210,8 @@ class H5PContentValidator {
|
||||||
'value' => 'CC PDM',
|
'value' => 'CC PDM',
|
||||||
'label' => $this->h5pF->t('Public Domain Mark')
|
'label' => $this->h5pF->t('Public Domain Mark')
|
||||||
),
|
),
|
||||||
|
]
|
||||||
|
),
|
||||||
(object) array(
|
(object) array(
|
||||||
'value' => 'GNU GPL',
|
'value' => 'GNU GPL',
|
||||||
'label' => $this->h5pF->t('General Public License v3')
|
'label' => $this->h5pF->t('General Public License v3')
|
||||||
|
|
Loading…
Reference in New Issue