]> _ Git - fluidbook-toolbox.git/commitdiff
wait #7574
authorsoufiane <soufiane@cubedesigners.com>
Thu, 23 Oct 2025 15:23:53 +0000 (17:23 +0200)
committersoufiane <soufiane@cubedesigners.com>
Thu, 23 Oct 2025 15:23:53 +0000 (17:23 +0200)
app/Models/Traits/PublicationSettings.php

index ef550eaa5ab6fadc8233c6ed6d4cde81bf0c77f1..9fe27dd5ec3fe7e3110f185be22710daa33808d3 100644 (file)
@@ -1705,12 +1705,15 @@ trait PublicationSettings
         $this->_addSettingField('hosting_loadbalancer', Checkbox::class, $this->__('Hébergement "Load balancer"'));
         $this->_addSettingField('hosting_loadbalancer_ignore', Textarea::class, __('Ne pas charger ces éléments via le load balancer'), ['when' => ['hosting_loadbalancer' => 1], 'hint' => __('Certains contenus doivent accéder ne doivent pas se trouver sur un autre domaine pour fonctionner')]);
 
+
         foreach (self::getDownloadVersions() as $name => $downloadVersion) {
             $this->_addSettingField('download_' . $name, Checkbox::class, $downloadVersion['label'], [
                 'default' => $downloadVersion['default'],
             ]);
+
             if ($downloadVersion['install']) {
                 $this->_addSettingField('install_' . $name, ExternalPath::class, __('Installer sur un serveur externe'), ['default' => '', 'servers_model' => FluidbookExternalInstallServer::class, 'when' => ['download_' . $name => 1]]);
+                $this->_addSettingField('hidden_install_'. $name, Hidden::class, '', ['default' => '0']);
             }
         }