diff --git a/module/slider/enum.json b/module/slider/enum.json
deleted file mode 100644
index 7500822a..00000000
--- a/module/slider/enum.json
+++ /dev/null
@@ -1 +0,0 @@
-{"name":"slider","realName":"Slider","version":"5.0","update":"0.0","delete":true,"dataDirectory":""}
\ No newline at end of file
diff --git a/module/slider/slider.php b/module/slider/slider.php
deleted file mode 100644
index 6a178c43..00000000
--- a/module/slider/slider.php
+++ /dev/null
@@ -1,460 +0,0 @@
-
- * @copyright Copyright (C) 2008-2018, Rémi Jean
- * @license GNU General Public License, version 3
- * @link http://zwiicms.com/
- *
- */
-
-class slider extends common
-{
-
- public static $actions = [
- 'config' => self::GROUP_MODERATOR,
- 'update' => self::GROUP_MODERATOR,
- 'theme' => self::GROUP_MODERATOR,
- 'delete' => self::GROUP_MODERATOR,
- 'dirs' => self::GROUP_MODERATOR,
- 'index' => self::GROUP_VISITOR
- ];
-
- const VERSION = '5.0';
- const REALNAME = 'Slider';
- const DELETE = true;
- const UPDATE = '0.0';
- const DATADIRECTORY = ''; // Contenu localisé inclus par défaut (page.json et module.json)
-
- public static $directories = [];
-
- public static $firstPictures = [];
-
- public static $galleries = [];
-
- public static $pictures = [];
-
- public static $pageList = [];
-
- //Visibilité des boutons de navigation
- public static $namespace = [
- 'white-btns' => 'Blancs',
- 'centered-btns' => 'Noirs',
- 'transparent-btns' => 'Bandes invisibles',
- 'large-btns' => 'Bandes grises',
- ];
-
- // Pager
- public static $pager = [
- true => 'Puces visibles',
- false => 'Puces invisibles'
- ];
-
- public static $auto = [
- true => 'Active',
- false => 'Inactive'
- ];
-
- // Largeur
- public static $screenWidth = [
- 640 => '640 pixels',
- 720 => '720 pixels',
- 768 => '768 pixels',
- 800 => '800 pixels',
- 854 => '854 pixels',
- 1024 => '1024 pixels',
- 1280 => '1280 pixels',
- 1400 => '1400 pixels',
- 1600 => '1600 pixels',
- 1920 => '1920 pixels',
- 0 => 'Largeur de l\'écran'
- ];
- public static $selectedMaxwidth = 0;
-
- // Transition
- public static $speed = [
- '500' => '500 ms',
- '1000' => '1 s',
- '1500' => '1.5 s',
- '2000' => '2 s',
- '2500' => '2.5 s',
- '3000' => '3 s',
- '3500' => '3.5 s'
- ];
-
- // Imeout
- public static $timeout = [
- '500' => '500 ms',
- '1000' => '1 s',
- '1500' => '1.5 s',
- '2000' => '2 s',
- '3000' => '3 s',
- '5000' => '5 s',
- '7000' => '7 s',
- '10000' => '10 s'
- ];
-
- //Visibilité de la légende
- public static $visibilite_legende = [
- 'survol' => 'Au survol',
- 'toujours' => 'Toujours visible',
- 'jamais' => 'Jamais visible'
- ];
-
- //Position de la légende
- public static $position_legende = [
- 'haut' => 'En haut',
- 'bas' => 'En bas'
- ];
-
- //Temps d'apparition légende et boutons
- public static $apparition = [
- 'opacity 0.2s ease-in' => '0.2s',
- 'opacity 0.5s ease-in' => '0.5s',
- 'opacity 1s ease-in' => '1s',
- 'opacity 2s ease-in' => '2s'
- ];
-
-
- //Choix du tri
- public static $sort = [
- 'asc' => 'Alphabétique naturel',
- 'dsc' => 'Alphabétique naturel inverse',
- 'rand' => 'Aléatoire',
- 'none' => 'Par défaut, sans tri',
- ];
-
- /**
- * Mise à jour du dossier
- */
- public function update()
- {
- // Soumission du formulaire
- if ($this->isPost()) {
- $this->setData([
- 'module',
- $this->getUrl(0),
- 'directory',
- $this->getInput('galleryUpdateDirectory', helper::FILTER_STRING_SHORT, true)
- ]);
- $this->addOutput([
- 'redirect' => helper::baseUrl() . $this->getUrl(0) . '/config',
- 'notification' => 'Modifications enregistrées',
- 'state' => true
- ]);
- }
- // Valeurs en sortie
- $this->addOutput([
- 'title' => 'Configuration de la galerie',
- 'view' => 'update'
- ]);
- }
-
- /**
- * Configuration
- */
- public function config()
- {
- // Initialise le module
- $this->init();
-
- // Liste des pages active à l'exclusion des barres latérales
- $pagesId = $this->getHierarchy(null, false, null);
- $excludeBar = $this->getHierarchy(null, false, true);
- $pagesId = array_diff_key($pagesId, $excludeBar);
-
- // Construit le tableau pour le select du formulaire
- foreach ($pagesId as $parentKey => $parentValue) {
- self::$pageList[$parentKey] = $this->getData(['page', $parentKey, 'title']);
- foreach ($parentValue as $childKey) {
- self::$pageList[$childKey] = $this->getData(['page', $childKey, 'title']);
- }
- }
- // Aucun choix
- self::$pageList = array_merge([0 => ''], self::$pageList);
-
- // Soumission du formulaire
- if ($this->isPost()) {
-
- $inputs['legends'] = $this->getInput('legends', null);
- $inputs['uri'] = $this->getInput('sliderHref', null);
-
- // Supprime les points devant les extensions des clés à cause du système de BDD
- foreach ($inputs as $keyinputs => $valuesinputs) {
- foreach ($valuesinputs as $keyinput => $valueinput) {
- $datas[$keyinputs][str_replace('.', '', $keyinput)] = $valueinput;
- }
- }
-
- $this->setData([
- 'module',
- $this->getUrl(0),
- [
- 'directory' => $this->getData(['module', $this->getUrl(0), 'directory']),
- 'theme' => $this->getData(['module', $this->getUrl(0), 'theme']),
- 'legends' => $datas['legends'],
- 'uri' => $datas['uri']
- ]
- ]);
- $this->addOutput([
- 'redirect' => helper::baseUrl() . $this->getUrl(0) . '/config',
- 'notification' => 'Modifications enregistrées',
- 'state' => true
- ]);
-
- }
-
- // Met en forme le tableau
- $directory = $this->getData(['module', $this->getUrl(0), 'directory']);
- if ($directory && is_dir($directory)) {
- $iterator = new DirectoryIterator($directory);
- foreach ($iterator as $fileInfos) {
- if ($fileInfos->isDot() === false and $fileInfos->isFile() and @getimagesize($fileInfos->getPathname())) {
- self::$pictures[$fileInfos->getFilename()] = [
- $fileInfos->getFilename(),
- template::text('legends[' . $fileInfos->getFilename() . ']', [
- 'value' => empty($this->getData(['module', $this->getUrl(0), 'legends', str_replace('.', '', $fileInfos->getFilename())]))
- ? ''
- : $this->getData(['module', $this->getUrl(0), 'legends', str_replace('.', '', $fileInfos->getFilename())])
- ]),
- template::select('sliderHref[' . $fileInfos->getFilename() . ']', self::$pageList, [
- 'selected' => empty($this->getData(['module', $this->getUrl(0), 'uri', str_replace('.', '', $fileInfos->getFilename())]))
- ? ''
- : $this->getData(['module', $this->getUrl(0), 'uri', str_replace('.', '', $fileInfos->getFilename())])
- ]),
- ''
- ];
- }
- }
- // Tri des images pour affichage de la liste dans la page d'édition
- switch ($this->getData(['module', $this->getUrl(0), 'theme', 'tri'])) {
- case 'dsc':
- krsort(self::$pictures, SORT_NATURAL | SORT_FLAG_CASE);
- break;
- case 'asc':
- ksort(self::$pictures, SORT_NATURAL | SORT_FLAG_CASE);
- break;
- case 'rand':
- case 'none':
- default:
- break;
- }
- }
-
-
- // Valeurs en sortie
- $this->addOutput([
- 'title' => 'Configuration du module',
- 'view' => 'config'
- ]);
- }
-
- /**
- * Suppression
- */
- public function delete()
- {
- // $url prend l'adresse sans le token
- // La galerie n'existe pas
- if ($this->getData(['module', $this->getUrl(0), $this->getUrl(2)]) === null) {
- // Valeurs en sortie
- $this->addOutput([
- 'access' => false
- ]);
- }
- // Jeton incorrect
- if ($this->getUrl(3) !== $_SESSION['csrf']) {
- // Valeurs en sortie
- $this->addOutput([
- 'redirect' => helper::baseUrl() . $this->getUrl(0) . '/config',
- 'notification' => 'Suppression non autorisée'
- ]);
- }
- // Suppression
- else {
- $this->deleteData(['module', $this->getUrl(0), $this->getUrl(2)]);
- // Valeurs en sortie
- $this->addOutput([
- 'redirect' => helper::baseUrl() . $this->getUrl(0) . '/config',
- 'notification' => 'Galerie supprimée',
- 'state' => true
- ]);
- }
- }
-
- /**
- * Liste des dossiers
- */
- public function dirs()
- {
- // Valeurs en sortie
- $this->addOutput([
- 'display' => self::DISPLAY_JSON,
- 'content' => $this->scanSubDir(self::FILE_DIR . 'source')
- ]);
- }
-
-
- /**
- * Édition
- */
- public function theme()
- {
- // Soumission du formulaire
- if ($this->isPost()) {
-
- // Adapte la largeur à celle de l'écran :
- $maxWidth = $this->getInput('sliderThememaxWidth', helper::FILTER_INT) === 0
- ? intval(trim($this->getData(['theme', 'site', 'width']), 'px')) - 40
- : $this->getInput('sliderThememaxWidth', helper::FILTER_INT);
-
- // Equilibrer les durées
- $speed = $this->getInput('sliderThemespeed', helper::FILTER_INT);
- $timeout = $this->getInput('sliderThemeDiapoTime', helper::FILTER_INT);
- if ($speed >= $timeout) {
- // Valeurs en sortie
- $notification = 'La durée de transition doit inférieure à la durée de l`\'image fixe';
- $state= false;
- } else {
-
- $this->setData([
- 'module',
- $this->getUrl(0),
- [
- 'theme' => [
- 'pager' => $this->getInput('sliderThemePager', helper::FILTER_BOOLEAN),
- 'auto' => $this->getInput('sliderThemeAuto', helper::FILTER_BOOLEAN),
- 'maxWidth' => $maxWidth,
- 'speed' => $speed,
- 'timeout' => $timeout,
- 'namespace' => $this->getInput('sliderThemeNameSpace', helper::FILTER_STRING_SHORT),
- 'sort' => $this->getInput('sliderThemeTri', helper::FILTER_STRING_SHORT),
- ],
- 'directory' => $this->getData(['module', $this->getUrl(0), 'directory']),
- 'legends' => $this->getData(['module', $this->getUrl(0), 'legends']),
- 'uri' => $this->getData(['module', $this->getUrl(0), 'uri']),
- ]
- ]);
- $notification = 'Modifications enregistrées';
- $state = true;
- }
-
- // Valeurs en sortie
- $this->addOutput([
- 'redirect' => helper::baseUrl() . $this->getUrl(0) . '/theme',
- 'notification' => $notification,
- 'state' => $state
- ]);
- }
-
- // Sélection largeur de l'écran
- self::$selectedMaxwidth = array_key_exists($this->getData(['module', $this->getUrl(0), 'theme', 'maxWidth']), self::$screenWidth)
- ? $this->getData(['module', $this->getUrl(0), 'theme', 'maxWidth'])
- : 0;
-
- // Valeurs en sortie
- $this->addOutput([
- 'title' => 'Thème',
- 'view' => 'theme'
- ]);
- }
-
- /**
- * Fonction index() modifiée par rapport au module Gallery
- */
- public function index()
- {
-
- $galleryId = $this->getUrl(0);
- $directory = $this->getData(['module', $galleryId, 'directory']);
-
- // Images de la galerie
- if (is_dir($directory)) {
- $iterator = new DirectoryIterator($directory);
- foreach ($iterator as $fileInfos) {
- if ($fileInfos->isDot() === false and $fileInfos->isFile() and @getimagesize($fileInfos->getPathname())) {
- self::$pictures[$directory . '/' . $fileInfos->getFilename()] = [
- 'legend' => $this->getData(['module', $galleryId, 'legends', str_replace('.', '', $fileInfos->getFilename())]),
- 'uri' => $this->getData(['module', $galleryId, 'uri', str_replace('.', '', $fileInfos->getFilename())]),
- ];
- //self::$pictures['uri'][$directory . '/' . $fileInfos->getFilename()] = ;
- }
- }
-
- // Tri des images par ordre alphabétique, alphabétique inverse, aléatoire ou pas
- switch ($this->getData(['module', $galleryId, 'config', 'tri'])) {
- case 'SORT_DSC':
- krsort(self::$pictures, SORT_NATURAL | SORT_FLAG_CASE);
- break;
- case 'SORT_ASC':
- ksort(self::$pictures, SORT_NATURAL | SORT_FLAG_CASE);
- break;
- case 'RAND':
- break;
- case 'NONE':
- break;
- default:
- break;
- }
- }
-
- // Valeurs en sortie
- $this->addOutput([
- 'showBarEditButton' => true,
- 'showPageContent' => true,
- 'vendor' => [
- 'slider'
- ],
- 'view' => 'index'
- ]);
- }
-
- /**
- * Scan le contenu d'un dossier et de ses sous-dossiers
- * @param string $dir Dossier à scanner
- * @return array
- */
- private function scanSubDir($dir)
- {
- $dirContent = [];
- $iterator = new DirectoryIterator($dir);
- foreach ($iterator as $fileInfos) {
- if ($fileInfos->isDot() === false and $fileInfos->isDir()) {
- $dirContent[] = $dir . '/' . $fileInfos->getBasename();
- $dirContent = array_merge($dirContent, $this->scanSubDir($dir . '/' . $fileInfos->getBasename()));
- }
- }
- return $dirContent;
- }
-
- private function init()
- {
- if (is_null($this->getData(['module', $this->getUrl(0), 'theme']))) {
-
- $this->setData([
- 'module',
- $this->getUrl(0),
- [
- 'theme' => [
- 'pager' => true,
- 'auto' => true,
- 'maxWidth' => '1280',
- 'speed' => 1000,
- 'timeout' => 3000,
- 'namespace' => 'centered-btns',
- 'tri' => 'RAND',
- ],
- 'directory' => null,
- 'legends' => [],
- 'uri' => [],
- ]
- ]);
- }
- }
-
-}
\ No newline at end of file
diff --git a/module/slider/vendor/slider/inc.json b/module/slider/vendor/slider/inc.json
deleted file mode 100644
index 772fb24c..00000000
--- a/module/slider/vendor/slider/inc.json
+++ /dev/null
@@ -1,3 +0,0 @@
-[
- "slider.js"
-]
\ No newline at end of file
diff --git a/module/slider/vendor/slider/slider.js b/module/slider/vendor/slider/slider.js
deleted file mode 100644
index 32ff39f2..00000000
--- a/module/slider/vendor/slider/slider.js
+++ /dev/null
@@ -1,10 +0,0 @@
-/*! http://responsiveslides.com v1.55 by @arielsalminen */
-(function(c,K,C){c.fn.responsiveSlides=function(m){var a=c.extend({auto:!0,speed:500,timeout:4E3,pager:!1,nav:!1,random:!1,pause:!1,pauseControls:!0,prevText:"Previous",nextText:"Next",maxwidth:"",navContainer:"",manualControls:"",namespace:"rslides",before:c.noop,after:c.noop},m);return this.each(function(){C++;var f=c(this),u,t,v,n,q,r,p=0,e=f.children(),D=e.length,h=parseFloat(a.speed),E=parseFloat(a.timeout),w=parseFloat(a.maxwidth),g=a.namespace,d=g+C,F=g+"_nav "+d+"_nav",x=g+"_here",k=d+"_on",
-y=d+"_s",l=c("
"),z={"float":"left",position:"relative",opacity:1,zIndex:2},A={"float":"none",position:"absolute",opacity:0,zIndex:1},G=function(){var b=(document.body||document.documentElement).style,a="transition";if("string"===typeof b[a])return!0;u=["Moz","Webkit","Khtml","O","ms"];var a=a.charAt(0).toUpperCase()+a.substr(1),c;for(c=0;c"+a+""});l.append(H);m.navContainer?c(a.navContainer).append(l):f.after(l)}a.manualControls&&(l=c(a.manualControls),l.addClass(g+"_tabs "+d+"_tabs"));(a.pager||a.manualControls)&&l.find("li").each(function(a){c(this).addClass(y+(a+1))});if(a.pager||a.manualControls)r=
-l.find("a"),t=function(a){r.closest("li").removeClass(x).eq(a).addClass(x)};a.auto&&(v=function(){q=setInterval(function(){e.stop(!0,!0);var b=p+1"+a.prevText+""+a.nextText+"";m.navContainer?c(a.navContainer).append(g):f.after(g);var d=c("."+d+"_nav"),I=d.filter(".prev");d.bind("click",function(b){b.preventDefault();b=c("."+k);if(!b.queue("fx").length){var d=e.index(b);b=d-1;d=d+1w&&f.css("width",w)};J();c(K).bind("resize",function(){J()})}})}})(jQuery,this,0);
-
-
diff --git a/module/slider/view/config/config.css b/module/slider/view/config/config.css
deleted file mode 100644
index ba8ba808..00000000
--- a/module/slider/view/config/config.css
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * This file is part of Zwii.
- *
- * For full copyright and license information, please see the LICENSE
- * file that was distributed with this source code.
- *
- * @author Rémi Jean
- * @copyright Copyright (C) 2008-2018, Rémi Jean
- * @author Frédéric Tempez
- * @copyright Copyright (C) 2018-2023, Frédéric Tempez
- * @license CC Attribution-NonCommercial-NoDerivatives 4.0 International
- * @link http://zwiicms.fr/
- */
-
-/** NE PAS EFFACER
-* admin.css
-*/
-
-.galleryConfigError {
- color: #F3674A;
- font-weight: bold;
-}
diff --git a/module/slider/view/config/config.php b/module/slider/view/config/config.php
deleted file mode 100644
index def93168..00000000
--- a/module/slider/view/config/config.php
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
- 'buttonGrey',
- 'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(0),
- 'value' => template::ico('left')
- ]); ?>
-
-
- helper::baseUrl() . $this->getUrl(0) . '/theme',
- 'value' => template::ico('brush')
- ]); ?>
-
-
- helper::baseUrl() . $this->getUrl(0) . '/update',
- 'value' => template::ico('folder')
- ]); ?>
-
-
-
-
-
-
-
-
-
Galerie
- getData(['module', $this->getUrl(0), 'directory']);
- ?>
-
-
-
-
-
-
-
-Module Slider version n°
-
-
\ No newline at end of file
diff --git a/module/slider/view/index/black.gif b/module/slider/view/index/black.gif
deleted file mode 100644
index 2be4c3ee..00000000
Binary files a/module/slider/view/index/black.gif and /dev/null differ
diff --git a/module/slider/view/index/index.css b/module/slider/view/index/index.css
deleted file mode 100644
index 47748f28..00000000
--- a/module/slider/view/index/index.css
+++ /dev/null
@@ -1,236 +0,0 @@
- /**
- * This file is part of Zwii.
- *
- * For full copyright and license information, please see the LICENSE
- * file that was distributed with this source code.
- *
- * @author Rémi Jean
- * @copyright Copyright (C) 2008-2018, Rémi Jean
- * @author Frédéric Tempez
- * @copyright Copyright (C) 2018-2023, Frédéric Tempez
- * @license CC Attribution-NonCommercial-NoDerivatives 4.0 International
- * @link http://zwiicms.fr/
- */
-
- /*! http://responsiveslides.com v1.55 by @arielsalminen */
-
- .rslides {
- position: relative;
- list-style: none;
- overflow: hidden;
- width: 100%;
- padding: 0;
- margin: 0 auto;
-}
-
-.rslides li {
- -webkit-backface-visibility: hidden;
- position: absolute;
- display: none;
- width: 100%;
- left: 0;
- top: 0;
-}
-
-.rslides li:first-child {
- position: relative;
- display: block;
- float: left;
-}
-
-.rslides img {
- display: block;
- height: auto;
- float: left;
- width: 100%;
- border: 0;
-}
-
- #wrapper {
- margin: 0 auto;
- width: 100%;
- margin-bottom: 50px;
- }
-
- h1 {
- font: 600 28px/36px sans-serif;
- margin: 50px 0;
- }
-
- h3 {
- font: 600 18px/24px sans-serif;
- color: #999;
- margin: 0 0 20px;
- }
-
- a {
- color: #222;
- }
-
- .rslides {
- margin: 0 auto;
- }
-
- .rslides_container {
- margin-bottom: 50px;
- position: relative;
- float: left;
- width: 100%;
- }
-
- .centered-btns_nav {
- z-index: 3;
- position: absolute;
- -webkit-tap-highlight-color: rgba(0,0,0,0);
- top: 50%;
- left: 0;
- opacity: 0.7;
- text-indent: -9999px;
- overflow: hidden;
- text-decoration: none;
- height: 61px;
- width: 38px;
- background: transparent url("module/slider/view/index/black.gif") no-repeat left top;
- margin-top: -45px;
- }
-
- .centered-btns_nav:active {
- opacity: 1.0;
- }
-
- .centered-btns_nav.next {
- left: auto;
- background-position: right top;
- right: 0;
- }
-
- .transparent-btns_nav {
- z-index: 3;
- position: absolute;
- -webkit-tap-highlight-color: rgba(0,0,0,0);
- top: 0;
- left: 0;
- display: block;
- background: #fff; /* Fix for IE6-9 */
- opacity: 0;
- filter: alpha(opacity=1);
- width: 48%;
- text-indent: -9999px;
- overflow: hidden;
- height: 91%;
- }
-
- .transparent-btns_nav.next {
- left: auto;
- right: 0;
- }
-
- .large-btns_nav {
- z-index: 3;
- position: absolute;
- -webkit-tap-highlight-color: rgba(0,0,0,0);
- opacity: 0.6;
- text-indent: -9999px;
- overflow: hidden;
- top: 0;
- bottom: 0;
- left: 0;
- background: #000 url("module/slider/view/index/black.gif") no-repeat left 50%;
- width: 38px;
- }
-
- .large-btns_nav:active {
- opacity: 1.0;
- }
-
- .large-btns_nav.next {
- left: auto;
- background-position: right 50%;
- right: 0;
- }
-
- /**
- Boutons blancs
- */
- .white-btns_nav {
- z-index: 3;
- position: absolute;
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
- opacity: 0.6;
- text-indent: -9999px;
- overflow: hidden;
- top: 0;
- bottom: 0;
- left: 0;
- background: transparent url("module/slider/view/index/white.gif") no-repeat left 50%;
- width: 38px;
-}
-
-.white-btns_nav:active {
- opacity: 1.0;
-}
-
-.white-btns_nav.next {
- left: auto;
- background-position: right 50%;
- right: 0;
-}
-
- /**
- Boutons blancs
- */
- .centered-btns_nav:focus,
- .transparent-btns_nav:focus,
- .large-btns_nav:focus,
- .white-btns_nav:focus {
- outline: none;
- }
-
- .centered-btns_tabs,
- .transparent-btns_tabs,
- .large-btns_tabs,
- .white-btns_tabs {
- margin-top: 10px;
- text-align: center;
- }
-
- .centered-btns_tabs li,
- .transparent-btns_tabs li,
- .large-btns_tabs li,
- .white-btns_tabs li {
- display: inline;
- float: none;
- _float: left;
- *float: left;
- margin-right: 5px;
- }
-
- .centered-btns_tabs a,
- .transparent-btns_tabs a,
- .large-btns_tabs a,
- .white-btns_tabs a {
- text-indent: -9999px;
- overflow: hidden;
- -webkit-border-radius: 15px;
- -moz-border-radius: 15px;
- border-radius: 15px;
- background: #ccc;
- background: rgba(0, 0, 0, .2);
- display: inline-block;
- _display: block;
- *display: block;
- -webkit-box-shadow: inset 0 0 2px 0 rgba(0, 0, 0, .3);
- -moz-box-shadow: inset 0 0 2px 0 rgba(0, 0, 0, .3);
- box-shadow: inset 0 0 2px 0 rgba(0, 0, 0, .3);
- width: 9px;
- height: 9px;
- }
-
- .centered-btns_here a,
- .transparent-btns_here a,
- .large-btns_here a,
- .white-btns_here a {
- background: #222;
- background: rgba(0,0,0, .8);
- }
-
\ No newline at end of file
diff --git a/module/slider/view/index/index.js.php b/module/slider/view/index/index.js.php
deleted file mode 100644
index b255edfc..00000000
--- a/module/slider/view/index/index.js.php
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
- * This file is part of Zwii.
- *
- * For full copyright and license information, please see the LICENSE
- * file that was distributed with this source code.
- *
- * @author Rémi Jean
- * @copyright Copyright (C) 2008-2018, Rémi Jean
- * @author Frédéric Tempez
- * @copyright Copyright (C) 2018-2023, Frédéric Tempez
- * @license CC Attribution-NonCommercial-NoDerivatives 4.0 International
- * @link http://zwiicms.fr/
- */
-
-/**
- *
- auto: true, // Boolean: Animate automatically, true or false
- speed: 500, // Integer: Speed of the transition, in milliseconds
- timeout: 4000, // Integer: Time between slide transitions, in milliseconds
- pager: false, // Boolean: Show pager, true or false
- nav: false, // Boolean: Show navigation, true or false
- random: false, // Boolean: Randomize the order of the slides, true or false
- pause: false, // Boolean: Pause on hover, true or false
- pauseControls: true, // Boolean: Pause when hovering controls, true or false
- prevText: "Previous", // String: Text for the "previous" button
- nextText: "Next", // String: Text for the "next" button
- maxwidth: "", // Integer: Max-width of the slideshow, in pixels
- navContainer: "", // Selector: Where controls should be appended to, default is after the 'ul'
- manualControls: "", // Selector: Declare custom pager navigation
- namespace: "rslides", // String: Change the default namespace used
- before: function(){}, // Function: Before callback
- after: function(){} // Function: After callback
- */
-
-
-$(document).ready(function() {
-
- var maxWidth = "getData(['module', $this->getUrl(0),'theme', 'maxWidth']); ?>";
- var sort = "getData(['module', $this->getUrl(0),'theme', 'sort']); ?>";
- // Réduction de la taille maximale selon la largeur de la section
- var screenSize = $("section").width() - 40;
- maxWidth = maxWidth < screenSize ? maxWidth : screenSize;
- $("#wrapper").css('width', maxWidth);
- $(function() {
- $("#sliders").responsiveSlides({
- pager: "getData(['module', $this->getUrl(0), 'theme', 'pager']); ?>",
- auto: "getData(['module', $this->getUrl(0), 'theme', 'auto']); ?>",
- maxwidth: maxWidth,
- speed: "getData(['module', $this->getUrl(0), 'theme', 'speed']); ?>",
- timeout: "getData(['module', $this->getUrl(0), 'theme', 'timeout']); ?>",
- namespace: "getData(['module', $this->getUrl(0), 'theme', 'namespace']); ?>",
- nav: true,
- random: sort == "random" ? true : false,
- });
- });
-
-
-
-
-
-});
\ No newline at end of file
diff --git a/module/slider/view/index/index.php b/module/slider/view/index/index.php
deleted file mode 100644
index 82eb530f..00000000
--- a/module/slider/view/index/index.php
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/module/slider/view/index/white.gif b/module/slider/view/index/white.gif
deleted file mode 100644
index 716e22a5..00000000
Binary files a/module/slider/view/index/white.gif and /dev/null differ
diff --git a/module/slider/view/theme/theme.css b/module/slider/view/theme/theme.css
deleted file mode 100644
index 869d460f..00000000
--- a/module/slider/view/theme/theme.css
+++ /dev/null
@@ -1,17 +0,0 @@
-/**
- * This file is part of Zwii.
- *
- * For full copyright and license information, please see the LICENSE
- * file that was distributed with this source code.
- *
- * @author Rémi Jean
- * @copyright Copyright (C) 2008-2018, Rémi Jean
- * @author Frédéric Tempez
- * @copyright Copyright (C) 2018-2023, Frédéric Tempez
- * @license CC Attribution-NonCommercial-NoDerivatives 4.0 International
- * @link http://zwiicms.fr/
- */
-
-/** NE PAS EFFACER
-* admin.css
-*/
\ No newline at end of file
diff --git a/module/slider/view/theme/theme.js.php b/module/slider/view/theme/theme.js.php
deleted file mode 100644
index f72a4534..00000000
--- a/module/slider/view/theme/theme.js.php
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * This file is part of Zwii.
- *
- * For full copyright and license information, please see the LICENSE
- * file that was distributed with this source code.
- *
- * @author Rémi Jean
- * @copyright Copyright (C) 2008-2018, Rémi Jean
- * @license GNU General Public License, version 3
- * @link http://zwiicms.com/
- */
-
-/**
- * Liste des dossiers
- */
-var oldResult = [];
-var directoryDOM = $("#galleryEditDirectory");
-var directoryOldDOM = $("#galleryEditDirectoryOld");
-function dirs() {
- $.ajax({
- type: "POST",
- url: "getUrl(0); ?>/dirs",
- success: function(result) {
- if($(result).not(oldResult).length !== 0 || $(oldResult).not(result).length !== 0) {
- directoryDOM.empty();
- for(var i = 0; i < result.length; i++) {
- directoryDOM.append(function(i) {
- var option = $("