From: Vincent Vanwaelscappel Date: Fri, 22 Oct 2021 15:22:16 +0000 (+0200) Subject: wip #4832 @1 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=0595b240c93797e932697bba508b8f65bdba45ed;p=odl.git wip #4832 @1 --- diff --git a/app/Http/Controllers/Admin/ToolsController.php b/app/Http/Controllers/Admin/ToolsController.php new file mode 100644 index 0000000..9cdd924 --- /dev/null +++ b/app/Http/Controllers/Admin/ToolsController.php @@ -0,0 +1,27 @@ + $args]); + } + return $this->$tool($args); + } +} diff --git a/app/Http/Controllers/Tools/Search.php b/app/Http/Controllers/Tools/Search.php deleted file mode 100644 index c31c018..0000000 --- a/app/Http/Controllers/Tools/Search.php +++ /dev/null @@ -1,11 +0,0 @@ - $args]); - } - return $this->$tool($args); - } -} diff --git a/app/Models/Asset.php b/app/Models/Asset.php index 9e731f0..a8f57b7 100644 --- a/app/Models/Asset.php +++ b/app/Models/Asset.php @@ -39,7 +39,7 @@ class Asset extends CubistMagicAbstractModel ], 'column' => true, ]); - $this->addField('file_upload', Files::class, 'Fichier'); + $this->addField('file_upload', Files::class, 'Fichier', ['maxFiles' => 100]); $this->addField('theme', SelectFromModel::class, 'Thème', ['optionsmodel' => AssetTheme::class, 'allows_null' => true, 'column' => true]); $this->addField('keywords', Tags::class, 'Mots-clé', ['column' => true]); } diff --git a/app/Models/Translate.php b/app/Models/Translate.php new file mode 100644 index 0000000..0b8159e --- /dev/null +++ b/app/Models/Translate.php @@ -0,0 +1,8 @@ +