From: Vincent Vanwaelscappel Date: Thu, 17 Jul 2025 15:35:15 +0000 (+0200) Subject: wip #7647 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=a05991ed4e76bb0ea8f59964f0dc9ac8f20067e9;p=fluidbook-toolbox.git wip #7647 @1 --- diff --git a/app/Fluidbook/Compiler/Links.php b/app/Fluidbook/Compiler/Links.php index f482a9e5f..7c4b6b045 100644 --- a/app/Fluidbook/Compiler/Links.php +++ b/app/Fluidbook/Compiler/Links.php @@ -21,6 +21,7 @@ trait Links /** * @throws \SodiumException + * @throws \Exception */ protected function writeLinks() { diff --git a/app/Fluidbook/Link/LinksData.php b/app/Fluidbook/Link/LinksData.php index 3efcabb9e..6a91c62a7 100644 --- a/app/Fluidbook/Link/LinksData.php +++ b/app/Fluidbook/Link/LinksData.php @@ -43,7 +43,7 @@ class LinksData 'left' => __('x'), 'top' => __('y'), 'width' => __('Largeur'), 'height' => __('Hauteur'), 'rot' => __('Rotation'), 'type' => __('Type'), 'to' => __('Destination'), 'target' => __('Cible'), 'tooltip' => __('Infobulle'), 'numerotation' => __('Numérotation'), - 'display_area' => __('Activer la surbrillance'), 'animate_area' => __('Animer à l\'apparition de la page'), 'animation_type' => __('Type de l\'animation'), + 'display_area' => __('Activer la surbrillance'), 'animation_type' => __('Animation à l\'affichage de la page'), 'tracks' => __('Sous-titres'), 'video_loop' => __('Video : boucle'), 'video_auto_start' => __('Video : démarrage automatique'), 'video_controls' => __('Vidéo : afficher les contrôles'), 'video_sound_on' => __('Vidéo : activer le son'), 'video_cc' => __('Vidéo : afficher les sous-titres'), 'inline' => __('Vidéo : afficher dans la page'), 'video_width' => __('Vidéo : Largeur du popup'), 'video_height' => __('Vidéo : Hauteur du popup'), diff --git a/app/SubForms/Link/Base.php b/app/SubForms/Link/Base.php index 1e6ed0f0b..e695e5d30 100644 --- a/app/SubForms/Link/Base.php +++ b/app/SubForms/Link/Base.php @@ -190,8 +190,7 @@ class Base extends Form $this->addField('header_tooltip', FormSection::class, __('Infobulle')); $this->addField('tooltip', Text::class, __('Texte de l\'infobulle'), ['hint' => __('Laisser vide pour conserver le texte par défaut') . '.
' . __('Taper un tiret (-) pour ne pas afficher d\'infobulle')]); $this->addField('display_area', CheckboxBasic::class, __('Afficher la zone de couleur au survol'), ['default' => true]); - $this->addField('animate_area', CheckboxBasic::class, __('Animer la zone à l\'apparition de la page'), ['default' => true]); - $this->addField('animation_type', SelectFromArray::class, __('Type de l\'animation'), ['ajax'=>false,'options' => array_merge(['default' => __('Animation par défaut')], FluidbookTheme::getLinksAnimationTypes()), 'default' => 'default']); + $this->addField('animation_type', SelectFromArray::class, __('Animation à l\'affichage de la page'), ['ajax' => false, 'options' => array_merge(['default' => __('Animation par défaut'), 'none' => __('Pas d\'animation')], FluidbookTheme::getLinksAnimationTypes()), 'default' => 'default']); } public function addTypeField()