From: Vincent Vanwaelscappel Date: Wed, 24 Jan 2024 09:47:54 +0000 (+0100) Subject: wait #6672 @0:10 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=09b60b1923a830fcbc10399e47e7fd7b00b438ee;p=fluidbook-toolbox.git wait #6672 @0:10 --- diff --git a/app/Models/Traits/PublicationSettings.php b/app/Models/Traits/PublicationSettings.php index 89a289394..3d23b5915 100644 --- a/app/Models/Traits/PublicationSettings.php +++ b/app/Models/Traits/PublicationSettings.php @@ -73,6 +73,10 @@ trait PublicationSettings protected function _disabled() { +// $this->addSettingField('', FormSeparator::class); + $this->addSettingField('mobileVideosPath', Hidden::class, $this->__('Chemin vers les vidéos'), [ + 'v2' => '{"type":"text","default":"","editable":true,"label":"\\u00a7!\\u00a7Chemin vers les vid\\u00e9os!\\u00a7!","grade":5}', + ]); } @@ -933,7 +937,7 @@ trait PublicationSettings $this->addSettingField('soundVolume', Percent::class, $this->__('Volume des effets sonores'), ['default' => 100, 'when' => ['soundTheme' => ['operator' => '!=', 'value' => 'none']]]); $this->addSettingField('sep_ambientSound', FormSeparator::class); $this->addSettingField('ambientSound', FilesOrURL::class, $this->__('Ambiance sonore')); - $this->addSettingField('ambientSoundVolume', Percent::class, $this->__('Volume de l\'ambiance sonore'), ['default' => 50, 'when' => ['ambientSound' => ['operator' =>'not_empty']]]); + $this->addSettingField('ambientSoundVolume', Percent::class, $this->__('Volume de l\'ambiance sonore'), ['default' => 50, 'when' => ['ambientSound' => ['operator' => 'not_empty']]]); } protected function _downloadpdf() @@ -1359,10 +1363,6 @@ trait PublicationSettings 'v2' => '{"type":"boolean","default":false,"editable":true,"label":"\\u00a7!\\u00a7Int\\u00e9grer les webvid\\u00e9os en local!\\u00a7!"}', 'default' => false, ]); -// $this->addSettingField('', FormSeparator::class); - $this->addSettingField('mobileVideosPath', Hidden::class, $this->__('Chemin vers les vidéos'), [ - 'v2' => '{"type":"text","default":"","editable":true,"label":"\\u00a7!\\u00a7Chemin vers les vid\\u00e9os!\\u00a7!","grade":5}', - ]); $this->addSettingField('', FormSeparator::class); $this->addSettingField('brightcovePlayerId', LongText::class, $this->__('Identifiant du player Brightcove'), [ 'v2' => '{"type":"text","default":"","editable":true,"label":"\\u00a7!\\u00a7Brightcove Player Id!\\u00a7!","grade":3}',