diff --git a/module/folder/changes.md b/module/folder/changes.md index e6c67f3e..8e92a09a 100644 --- a/module/folder/changes.md +++ b/module/folder/changes.md @@ -1,3 +1,5 @@ +1.04 += Option pour masquer ou afficher les boutons de contrôle 1.03 - Boutons pour replier ou déplier les dossiers 1.02 diff --git a/module/folder/folder.php b/module/folder/folder.php index 0e349ba3..535f9bb3 100644 --- a/module/folder/folder.php +++ b/module/folder/folder.php @@ -17,7 +17,7 @@ class folder extends common { - const VERSION = '1.03'; + const VERSION = '1.04'; const REALNAME = 'Partage de dossier'; const DATADIRECTORY = ''; // Contenu localisé inclus par défaut (page.json et module.json) @@ -86,6 +86,7 @@ class folder extends common 'folder' => $this->getInput('folderConfigFolder', helper::FILTER_BOOLEAN), 'details' => $this->getInput('folderConfigDetails', helper::FILTER_BOOLEAN), 'folderstate' => $this->getInput('folderConfigFolderState', helper::FILTER_BOOLEAN), + 'expandcontrol' => $this->getInput('folderConfigExpandControl', helper::FILTER_BOOLEAN), 'iconpack' => $this->getInput('folderConfigiconPack'), 'iconsize' => $this->getInput('folderConfigIconSize'), 'target' => $this->getInput('folderConfigTarget'), diff --git a/module/folder/view/config/config.php b/module/folder/view/config/config.php index bad3fd22..949bd6d2 100644 --- a/module/folder/view/config/config.php +++ b/module/folder/view/config/config.php @@ -34,19 +34,19 @@
-
+
'Thème des icônes', 'selected' => $this->getData(['module', $this->getUrl(0), 'iconpack']) ]); ?>
-
+
'Tailledes icones', + 'label' => 'Taille des icones', 'selected' => $this->getData(['module', $this->getUrl(0), 'iconsize']) ]); ?>
-
+
'Cible des liens', 'selected' => $this->getData(['module', $this->getUrl(0), 'target']) @@ -55,27 +55,32 @@
- $this->getData(['module', $this->getUrl(0), 'sort']) ]); ?>
- $this->getData(['module', $this->getUrl(0), 'subfolder']) ]); ?>
-
- + $this->getData(['module', $this->getUrl(0), 'details']) ]); ?>
-
- + $this->getData(['module', $this->getUrl(0), 'folderstate']) ]); ?>
+
+ $this->getData(['module', $this->getUrl(0), 'expandcontrol']) + ]); ?> +
diff --git a/module/folder/view/index/index.php b/module/folder/view/index/index.php index 61c239b6..ce43f89e 100644 --- a/module/folder/view/index/index.php +++ b/module/folder/view/index/index.php @@ -1,14 +1,26 @@
-
-
-

getData(['module', $this->getUrl(0), 'title']);?>

+ getData(['module', $this->getUrl(0), 'expandcontrol']) === true): ?> +
+
+

+ getData(['module', $this->getUrl(0), 'title']); ?> +

+
+
+ + 'all']) ?> + + + 'all']) ?> + +
-
- 'all'])?> - 'all'])?> -
-
+ +

+ getData(['module', $this->getUrl(0), 'title']); ?> +

+
-
+
\ No newline at end of file