1.6.02 new path
This commit is contained in:
parent
36604a1ee4
commit
fd5aabd910
@ -692,7 +692,8 @@ class user extends common
|
|||||||
'rename' => $this->getInput('profilEditFolderRename', helper::FILTER_BOOLEAN),
|
'rename' => $this->getInput('profilEditFolderRename', helper::FILTER_BOOLEAN),
|
||||||
'copycut' => $this->getInput('profilEditFolderCopycut', helper::FILTER_BOOLEAN),
|
'copycut' => $this->getInput('profilEditFolderCopycut', helper::FILTER_BOOLEAN),
|
||||||
'chmod' => $this->getInput('profilEditFolderChmod', helper::FILTER_BOOLEAN),
|
'chmod' => $this->getInput('profilEditFolderChmod', helper::FILTER_BOOLEAN),
|
||||||
'path' => preg_replace('/^\\./', '', $this->getInput('profilEditPath')), // Supprime le point pour préserver le chemin
|
'coursePath' => preg_replace('/^\\./', '', $this->getInput('profilEditCoursePath')), // Supprime le point pour préserver le chemin
|
||||||
|
'homePath' => preg_replace('/^\\./', '', $this->getInput('profilEditHomePath')), // Supprime le point pour préserver le chemin
|
||||||
],
|
],
|
||||||
'page' => [
|
'page' => [
|
||||||
'add' => $this->getInput('profilEditPageAdd', helper::FILTER_BOOLEAN),
|
'add' => $this->getInput('profilEditPageAdd', helper::FILTER_BOOLEAN),
|
||||||
@ -858,7 +859,8 @@ class user extends common
|
|||||||
'rename' => $this->getInput('profilAddFolderRename', helper::FILTER_BOOLEAN),
|
'rename' => $this->getInput('profilAddFolderRename', helper::FILTER_BOOLEAN),
|
||||||
'copycut' => $this->getInput('profilAddFolderCopycut', helper::FILTER_BOOLEAN),
|
'copycut' => $this->getInput('profilAddFolderCopycut', helper::FILTER_BOOLEAN),
|
||||||
'chmod' => $this->getInput('profilAddFolderChmod', helper::FILTER_BOOLEAN),
|
'chmod' => $this->getInput('profilAddFolderChmod', helper::FILTER_BOOLEAN),
|
||||||
'path' => preg_replace('/^\\./', '', $this->getInput('profilEditPath')), // Supprime le point pour préserver le chemin,
|
'coursePath' => preg_replace('/^\\./', '', $this->getInput('profilAddCoursePath')), // Supprime le point pour préserver le chemin
|
||||||
|
'homePath' => preg_replace('/^\\./', '', $this->getInput('profilAddHomePath')), // Supprime le point pour préserver le chemin
|
||||||
],
|
],
|
||||||
'page' => [
|
'page' => [
|
||||||
'add' => $this->getInput('profilAddPageAdd', helper::FILTER_BOOLEAN),
|
'add' => $this->getInput('profilAddPageAdd', helper::FILTER_BOOLEAN),
|
||||||
|
@ -68,11 +68,16 @@
|
|||||||
<div class="col3">
|
<div class="col3">
|
||||||
<?php echo template::checkbox('profilAddFileManager', true, 'Autorisé'); ?>
|
<?php echo template::checkbox('profilAddFileManager', true, 'Autorisé'); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col6">
|
<div class="col5">
|
||||||
<?php echo template::select('profilAddPath', $module::$sharePath, [
|
<?php echo template::select('profilAddCoursePath', $module::$sharePath, [
|
||||||
'label' => 'Dossier',
|
'label' => 'Dossier depuis un espace',
|
||||||
|
'class' => 'filemanager',
|
||||||
|
]); ?>
|
||||||
|
</div>
|
||||||
|
<div class="col5">
|
||||||
|
<?php echo template::select('profilAddHomePath', $module::$sharePath, [
|
||||||
|
'label' => 'Dossier depuis l\'accueil',
|
||||||
'class' => 'filemanager',
|
'class' => 'filemanager',
|
||||||
'help' => 'Chaque espace dispose d\'un dossier spécifique, le choix "Dossier de l\'espace actif" le sélectionne automatiquement.'
|
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -87,17 +87,23 @@
|
|||||||
<?php echo helper::translate('Gestionnaire de fichiers'); ?>
|
<?php echo helper::translate('Gestionnaire de fichiers'); ?>
|
||||||
</h4>
|
</h4>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col3">
|
<div class="col2">
|
||||||
<?php echo template::checkbox('profilEditFileManager', true, 'Autorisé', [
|
<?php echo template::checkbox('profilEditFileManager', true, 'Autorisé', [
|
||||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'filemanager'])
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'filemanager'])
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col6">
|
<div class="col5">
|
||||||
<?php echo template::select('profilEditPath', $module::$sharePath, [
|
<?php echo template::select('profilEditCoursePath', $module::$sharePath, [
|
||||||
'label' => 'Dossier',
|
'label' => 'Dossier depuis un espace',
|
||||||
'class' => 'filemanager',
|
'class' => 'filemanager',
|
||||||
'selected' => '.' . $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'path']),
|
'selected' => '.' . $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'coursePath']),
|
||||||
'help' => 'Chaque espace dispose d\'un dossier spécifique, le choix \'Dossier de l\'espace actif\' le sélectionne automatiquement.'
|
]); ?>
|
||||||
|
</div>
|
||||||
|
<div class="col5">
|
||||||
|
<?php echo template::select('profilEditHomePath', $module::$sharePath, [
|
||||||
|
'label' => 'Dossier depuis l\'accueil',
|
||||||
|
'class' => 'filemanager',
|
||||||
|
'selected' => '.' . $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'homePath']),
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user