]> _ Git - fluidbook-toolbox.git/commitdiff
wip #7647 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 17 Jul 2025 15:35:15 +0000 (17:35 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 17 Jul 2025 15:35:15 +0000 (17:35 +0200)
app/Fluidbook/Compiler/Links.php
app/Fluidbook/Link/LinksData.php
app/SubForms/Link/Base.php

index f482a9e5f59837a2d68c860f636665d117964cd9..7c4b6b045e07d192e4cb964c2ab23b8012b89a7c 100644 (file)
@@ -21,6 +21,7 @@ trait Links
 
     /**
      * @throws \SodiumException
+     * @throws \Exception
      */
     protected function writeLinks()
     {
index 3efcabb9e043d52e3786ceb0475a5dc16b0d513f..6a91c62a7878aaa7bd69f20819a0d42a4bc76339 100644 (file)
@@ -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'),
index 1e6ed0f0be6ac1d985425b7a646a7cc3ef0cf730..e695e5d30c9352ad51208af6407327f6c6575aad 100644 (file)
@@ -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') . '.<br>' . __('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()