Droits du profil associés à l'export
This commit is contained in:
parent
1cb4b191bf
commit
79e0ac2a38
@ -14,7 +14,8 @@
|
|||||||
'class' => 'courseDelete buttonRed',
|
'class' => 'courseDelete buttonRed',
|
||||||
'href' => helper::baseUrl() . 'course/delete/' . $this->getUrl(2),
|
'href' => helper::baseUrl() . 'course/delete/' . $this->getUrl(2),
|
||||||
'value' => 'Supprimer',
|
'value' => 'Supprimer',
|
||||||
'ico' => 'trash'
|
'ico' => 'trash',
|
||||||
|
'help' => 'Supprime l\'espace et les historiques des participants',
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
@ -24,7 +25,8 @@
|
|||||||
'class' => 'courseReset buttonRed',
|
'class' => 'courseReset buttonRed',
|
||||||
'href' => helper::baseUrl() . 'course/reset/' . $this->getUrl(2),
|
'href' => helper::baseUrl() . 'course/reset/' . $this->getUrl(2),
|
||||||
'value' => 'Réinitaliser',
|
'value' => 'Réinitaliser',
|
||||||
'ico' => 'cancel'
|
'ico' => 'cancel',
|
||||||
|
'help' => 'Désinscrit les participants et supprime les historiques',
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
@ -33,7 +35,8 @@
|
|||||||
<?php echo template::button('courseManageDownload' . $this->getUrl(2), [
|
<?php echo template::button('courseManageDownload' . $this->getUrl(2), [
|
||||||
'href' => helper::baseUrl() . 'course/backup/' . $this->getUrl(2),
|
'href' => helper::baseUrl() . 'course/backup/' . $this->getUrl(2),
|
||||||
'value' => 'Sauvegarder',
|
'value' => 'Sauvegarder',
|
||||||
'ico' => 'download-cloud'
|
'ico' => 'download-cloud',
|
||||||
|
'help' => 'Génère une copie de sauvegarde de l\'espace',
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
@ -42,7 +45,8 @@
|
|||||||
<?php echo template::button('courseManageDuplicate' . $this->getUrl(2), [
|
<?php echo template::button('courseManageDuplicate' . $this->getUrl(2), [
|
||||||
'href' => helper::baseUrl() . 'course/clone/' . $this->getUrl(2),
|
'href' => helper::baseUrl() . 'course/clone/' . $this->getUrl(2),
|
||||||
'value' => 'Cloner',
|
'value' => 'Cloner',
|
||||||
'ico' => 'clone'
|
'ico' => 'clone',
|
||||||
|
'help' => 'Copie l\'espace et son contenu sans les participants et leurs historiques',
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
@ -51,7 +55,8 @@
|
|||||||
<?php echo template::button('courseManageEdit' . $this->getUrl(2), [
|
<?php echo template::button('courseManageEdit' . $this->getUrl(2), [
|
||||||
'href' => helper::baseUrl() . 'course/edit/' . $this->getUrl(2),
|
'href' => helper::baseUrl() . 'course/edit/' . $this->getUrl(2),
|
||||||
'value' => 'Éditer',
|
'value' => 'Éditer',
|
||||||
'ico' => 'pencil'
|
'ico' => 'pencil',
|
||||||
|
'help' => 'Modifie les paramètres de l\'espace',
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
@ -59,8 +64,9 @@
|
|||||||
<div class="col2">
|
<div class="col2">
|
||||||
<?php echo template::button('courseManageExport' . $this->getUrl(2), [
|
<?php echo template::button('courseManageExport' . $this->getUrl(2), [
|
||||||
'href' => helper::baseUrl() . 'course/export/' . $this->getUrl(2),
|
'href' => helper::baseUrl() . 'course/export/' . $this->getUrl(2),
|
||||||
'value' => 'Exporter',
|
'value' => 'Exporter HTML',
|
||||||
'ico' => 'upload'
|
'ico' => 'upload',
|
||||||
|
'help' => 'Le contenu de l\'espace est exporté dans une page web autonome',
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
@ -870,6 +870,7 @@ class user extends common
|
|||||||
'index' => $this->getInput('profilEditCourseUsers', helper::FILTER_BOOLEAN)
|
'index' => $this->getInput('profilEditCourseUsers', helper::FILTER_BOOLEAN)
|
||||||
|| $this->getInput('profilEditCourseUserHistory', helper::FILTER_BOOLEAN)
|
|| $this->getInput('profilEditCourseUserHistory', helper::FILTER_BOOLEAN)
|
||||||
|| $this->getInput('profilEditCourseUserExport', helper::FILTER_BOOLEAN)
|
|| $this->getInput('profilEditCourseUserExport', helper::FILTER_BOOLEAN)
|
||||||
|
|| $this->getInput('profilEditCoursExport', helper::FILTER_BOOLEAN)
|
||||||
|| $this->getInput('profilEditCourseUserAdd', helper::FILTER_BOOLEAN)
|
|| $this->getInput('profilEditCourseUserAdd', helper::FILTER_BOOLEAN)
|
||||||
|| $this->getInput('profilEditCourseUsersAdd', helper::FILTER_BOOLEAN)
|
|| $this->getInput('profilEditCourseUsersAdd', helper::FILTER_BOOLEAN)
|
||||||
|| $this->getInput('profilEditCourseUserDelete', helper::FILTER_BOOLEAN)
|
|| $this->getInput('profilEditCourseUserDelete', helper::FILTER_BOOLEAN)
|
||||||
@ -881,6 +882,7 @@ class user extends common
|
|||||||
'manage' => $this->getInput('profilEditCourseUsers', helper::FILTER_BOOLEAN)
|
'manage' => $this->getInput('profilEditCourseUsers', helper::FILTER_BOOLEAN)
|
||||||
|| $this->getInput('profilEditCourseUserHistory', helper::FILTER_BOOLEAN)
|
|| $this->getInput('profilEditCourseUserHistory', helper::FILTER_BOOLEAN)
|
||||||
|| $this->getInput('profilEditCourseUserExport', helper::FILTER_BOOLEAN)
|
|| $this->getInput('profilEditCourseUserExport', helper::FILTER_BOOLEAN)
|
||||||
|
|| $this->getInput('profilEditCoursExport', helper::FILTER_BOOLEAN)
|
||||||
|| $this->getInput('profilEditCourseUserAdd', helper::FILTER_BOOLEAN)
|
|| $this->getInput('profilEditCourseUserAdd', helper::FILTER_BOOLEAN)
|
||||||
|| $this->getInput('profilEditCourseUsersAdd', helper::FILTER_BOOLEAN)
|
|| $this->getInput('profilEditCourseUsersAdd', helper::FILTER_BOOLEAN)
|
||||||
|| $this->getInput('profilEditCourseUserDelete', helper::FILTER_BOOLEAN)
|
|| $this->getInput('profilEditCourseUserDelete', helper::FILTER_BOOLEAN)
|
||||||
@ -893,6 +895,7 @@ class user extends common
|
|||||||
'users' => $this->getInput('profilEditCourseUsers', helper::FILTER_BOOLEAN),
|
'users' => $this->getInput('profilEditCourseUsers', helper::FILTER_BOOLEAN),
|
||||||
'userHistory' => $this->getInput('profilEditCourseUserHistory', helper::FILTER_BOOLEAN),
|
'userHistory' => $this->getInput('profilEditCourseUserHistory', helper::FILTER_BOOLEAN),
|
||||||
'userHistoryExport' => $this->getInput('profilEditCourseUserHistoryExport', helper::FILTER_BOOLEAN),
|
'userHistoryExport' => $this->getInput('profilEditCourseUserHistoryExport', helper::FILTER_BOOLEAN),
|
||||||
|
'export' => $this->getInput('profilEditCourseExport', helper::FILTER_BOOLEAN),
|
||||||
'userAdd' => $this->getInput('profilEditCourseUserAdd', helper::FILTER_BOOLEAN),
|
'userAdd' => $this->getInput('profilEditCourseUserAdd', helper::FILTER_BOOLEAN),
|
||||||
'usersAdd' => $this->getInput('profilEditCourseUsersAdd', helper::FILTER_BOOLEAN),
|
'usersAdd' => $this->getInput('profilEditCourseUsersAdd', helper::FILTER_BOOLEAN),
|
||||||
'userDelete' => $this->getInput('profilEditCourseUserDelete', helper::FILTER_BOOLEAN),
|
'userDelete' => $this->getInput('profilEditCourseUserDelete', helper::FILTER_BOOLEAN),
|
||||||
@ -1065,6 +1068,7 @@ class user extends common
|
|||||||
'index' => $this->getInput('profilAddCourseUsers', helper::FILTER_BOOLEAN)
|
'index' => $this->getInput('profilAddCourseUsers', helper::FILTER_BOOLEAN)
|
||||||
|| $this->getInput('profilAddCourseUserHistory', helper::FILTER_BOOLEAN)
|
|| $this->getInput('profilAddCourseUserHistory', helper::FILTER_BOOLEAN)
|
||||||
|| $this->getInput('profilAddCourseUserExport', helper::FILTER_BOOLEAN)
|
|| $this->getInput('profilAddCourseUserExport', helper::FILTER_BOOLEAN)
|
||||||
|
|| $this->getInput('profilAddCoursExport', helper::FILTER_BOOLEAN)
|
||||||
|| $this->getInput('profilAddCourseUserAdd', helper::FILTER_BOOLEAN)
|
|| $this->getInput('profilAddCourseUserAdd', helper::FILTER_BOOLEAN)
|
||||||
|| $this->getInput('profilAddCourseUsersAdd', helper::FILTER_BOOLEAN)
|
|| $this->getInput('profilAddCourseUsersAdd', helper::FILTER_BOOLEAN)
|
||||||
|| $this->getInput('profilAddCourseUserDelete', helper::FILTER_BOOLEAN)
|
|| $this->getInput('profilAddCourseUserDelete', helper::FILTER_BOOLEAN)
|
||||||
@ -1072,10 +1076,10 @@ class user extends common
|
|||||||
|| $this->getInput('profilAddCourseEdit', helper::FILTER_BOOLEAN)
|
|| $this->getInput('profilAddCourseEdit', helper::FILTER_BOOLEAN)
|
||||||
|| $this->getInput('profilAddCourseBackup', helper::FILTER_BOOLEAN)
|
|| $this->getInput('profilAddCourseBackup', helper::FILTER_BOOLEAN)
|
||||||
|| $this->getInput('profilAddCourseRestore', helper::FILTER_BOOLEAN),
|
|| $this->getInput('profilAddCourseRestore', helper::FILTER_BOOLEAN),
|
||||||
|
|
||||||
'manage' => $this->getInput('profilAddCourseUsers', helper::FILTER_BOOLEAN)
|
'manage' => $this->getInput('profilAddCourseUsers', helper::FILTER_BOOLEAN)
|
||||||
|| $this->getInput('profilAddCourseUserHistory', helper::FILTER_BOOLEAN)
|
|| $this->getInput('profilAddCourseUserHistory', helper::FILTER_BOOLEAN)
|
||||||
|| $this->getInput('profilAddCourseUserExport', helper::FILTER_BOOLEAN)
|
|| $this->getInput('profilAddCourseUserExport', helper::FILTER_BOOLEAN)
|
||||||
|
|| $this->getInput('profilAddCoursExport', helper::FILTER_BOOLEAN)
|
||||||
|| $this->getInput('profilAddCourseUserAdd', helper::FILTER_BOOLEAN)
|
|| $this->getInput('profilAddCourseUserAdd', helper::FILTER_BOOLEAN)
|
||||||
|| $this->getInput('profilAddCourseUsersAdd', helper::FILTER_BOOLEAN)
|
|| $this->getInput('profilAddCourseUsersAdd', helper::FILTER_BOOLEAN)
|
||||||
|| $this->getInput('profilAddCourseUserDelete', helper::FILTER_BOOLEAN)
|
|| $this->getInput('profilAddCourseUserDelete', helper::FILTER_BOOLEAN)
|
||||||
@ -1088,6 +1092,7 @@ class user extends common
|
|||||||
'users' => $this->getInput('profilAddCourseUsers', helper::FILTER_BOOLEAN),
|
'users' => $this->getInput('profilAddCourseUsers', helper::FILTER_BOOLEAN),
|
||||||
'userHistory' => $this->getInput('profilAddCourseUserHistory', helper::FILTER_BOOLEAN),
|
'userHistory' => $this->getInput('profilAddCourseUserHistory', helper::FILTER_BOOLEAN),
|
||||||
'userHistoryExport' => $this->getInput('profilAddCourseUserHistoryExport', helper::FILTER_BOOLEAN),
|
'userHistoryExport' => $this->getInput('profilAddCourseUserHistoryExport', helper::FILTER_BOOLEAN),
|
||||||
|
'export' => $this->getInput('profilAddCourseExport', helper::FILTER_BOOLEAN),
|
||||||
'userAdd' => $this->getInput('profilAddCourseUserAdd', helper::FILTER_BOOLEAN),
|
'userAdd' => $this->getInput('profilAddCourseUserAdd', helper::FILTER_BOOLEAN),
|
||||||
'usersAdd' => $this->getInput('profilAddCourseUsersAdd', helper::FILTER_BOOLEAN),
|
'usersAdd' => $this->getInput('profilAddCourseUsersAdd', helper::FILTER_BOOLEAN),
|
||||||
'userDelete' => $this->getInput('profilAddCourseUserDelete', helper::FILTER_BOOLEAN),
|
'userDelete' => $this->getInput('profilAddCourseUserDelete', helper::FILTER_BOOLEAN),
|
||||||
|
@ -180,11 +180,15 @@
|
|||||||
<div class="col3">
|
<div class="col3">
|
||||||
<?php echo template::checkbox('profilAddCourseRestore', true, 'Restaurer un espace'); ?>
|
<?php echo template::checkbox('profilAddCourseRestore', true, 'Restaurer un espace'); ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col6">
|
<div class="col3">
|
||||||
<?php echo template::checkbox('profilAddCourseUsers', true, 'Gérer les participants'); ?>
|
<?php echo template::checkbox('profilAddCourseUsers', true, 'Gérer les participants'); ?>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col3">
|
||||||
|
<?php echo template::checkbox('profilAddCourseExport', true, 'Exporter un espace en html'); ?>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="courseContainer">
|
<div id="courseContainer">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
@ -97,9 +97,9 @@
|
|||||||
'label' => 'Dossier depuis un espace',
|
'label' => 'Dossier depuis un espace',
|
||||||
'class' => 'filemanager',
|
'class' => 'filemanager',
|
||||||
/*
|
/*
|
||||||
* 'none' interdit l'accès au gestionnaire de fichier
|
* 'none' interdit l'accès au gestionnaire de fichier
|
||||||
* Ce n'est pas un chemin donc on n'ajoute pas le .
|
* Ce n'est pas un chemin donc on n'ajoute pas le .
|
||||||
*/
|
*/
|
||||||
'selected' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'coursePath'])
|
'selected' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'coursePath'])
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
@ -272,11 +272,16 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col6">
|
<div class="col3">
|
||||||
<?php echo template::checkbox('profilEditCourseUsers', true, 'Gérer les participants', [
|
<?php echo template::checkbox('profilEditCourseUsers', true, 'Gérer les participants', [
|
||||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'course', 'users']),
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'course', 'users']),
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col3">
|
||||||
|
<?php echo template::checkbox('profilEditCourseExport', true, 'Exporter un espace en html', [
|
||||||
|
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'course', 'export']),
|
||||||
|
]); ?>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="courseContainer">
|
<div id="courseContainer">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
Loading…
Reference in New Issue
Block a user