Intégration dans les profils à tester
This commit is contained in:
parent
4d9fff0991
commit
54d1b3be8b
@ -17,8 +17,7 @@
|
||||
class calendar extends common
|
||||
{
|
||||
|
||||
|
||||
const VERSION = '0.3';
|
||||
const VERSION = '1.0';
|
||||
const REALNAME = 'Calendrier';
|
||||
const DATA_DIRECTORY = self::DATA_DIR . 'calendar/';
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
|
||||
# Version 1.00
|
||||
- Activer dans la gestion du profil
|
||||
# Version 0.4
|
||||
- Problème de contraste de couleurs de texte dans les popups
|
||||
# Version 0.3
|
||||
- Bug jour de début de semaine
|
||||
- Le calendrier s'affiche en l'absence d'événement
|
||||
|
@ -1 +1 @@
|
||||
{"name":"calendar","realName":"Calendrier","version":"0.3","update":"0.0","delete":true,"dataDirectory":""}
|
||||
{"name":"calendar","realName":"Calendrier","version":"0.4","update":"0.0","delete":true,"dataDirectory":""}
|
@ -1,12 +1,8 @@
|
||||
<?php $moduleData['gallery'] = [
|
||||
'add' => $this->getInput('profilAddGalleryAdd', helper::FILTER_BOOLEAN),
|
||||
'edit' => $this->getInput('profilAddGalleryEdit', helper::FILTER_BOOLEAN),
|
||||
'delete' => $this->getInput('profilAddGalleryDelete', helper::FILTER_BOOLEAN),
|
||||
'option' => $this->getInput('profilAddGalleryOption', helper::FILTER_BOOLEAN),
|
||||
'theme' => $this->getInput('profilAddGalleryTheme', helper::FILTER_BOOLEAN),
|
||||
'config' => $this->getInput('profilAddGalleryAdd', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilAddGalleryEdit', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilAddGalleryDelete', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilAddGalleryOption', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilAddGalleryTheme', helper::FILTER_BOOLEAN)
|
||||
<?php $moduleData['calendar'] = [
|
||||
'add' => $this->getInput('profilAddCalendarAdd', helper::FILTER_BOOLEAN),
|
||||
'edit' => $this->getInput('profilAddCalendarEdit', helper::FILTER_BOOLEAN),
|
||||
'delete' => $this->getInput('profilAddCalendarDelete', helper::FILTER_BOOLEAN),
|
||||
'config' => $this->getInput('profilAddCalendarAdd', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilAddCalendarEdit', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilAddCalendarTheme', helper::FILTER_BOOLEAN)
|
||||
];
|
@ -1,12 +1,8 @@
|
||||
<?php $moduleData['gallery'] = [
|
||||
'add' => $this->getInput('profilEditGalleryAdd', helper::FILTER_BOOLEAN),
|
||||
'edit' => $this->getInput('profilEditGalleryEdit', helper::FILTER_BOOLEAN),
|
||||
'delete' => $this->getInput('profilEditGalleryDelete', helper::FILTER_BOOLEAN),
|
||||
'option' => $this->getInput('profilEditGalleryOption', helper::FILTER_BOOLEAN),
|
||||
'theme' => $this->getInput('profilEditGalleryTheme', helper::FILTER_BOOLEAN),
|
||||
'config' => $this->getInput('profilEditGalleryAdd', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilEditGalleryEdit', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilEditGalleryDelete', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilEditGalleryOption', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilEditGalleryTheme', helper::FILTER_BOOLEAN)
|
||||
<?php $moduleData['calendar'] = [
|
||||
'add' => $this->getInput('profilEditCalendarAdd', helper::FILTER_BOOLEAN),
|
||||
'edit' => $this->getInput('profilEditCalendarEdit', helper::FILTER_BOOLEAN),
|
||||
'delete' => $this->getInput('profilEditCalendarDelete', helper::FILTER_BOOLEAN),
|
||||
'config' => $this->getInput('profilEditCalendarAdd', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilEditCalendarEdit', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilEditCalendarTheme', helper::FILTER_BOOLEAN)
|
||||
];
|
@ -2,25 +2,17 @@
|
||||
<div class="col12">
|
||||
<div class="block">
|
||||
<h4>
|
||||
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Galerie')); ?>
|
||||
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Calendrier')); ?>
|
||||
</h4>
|
||||
<div class="row">
|
||||
<div class="col4">
|
||||
<?php echo template::checkbox('profilAddGalleryAdd', true, 'Ajouter une galerie'); ?>
|
||||
<?php echo template::checkbox('profilAddCalendarAdd', true, 'Ajouter un calendrier'); ?>
|
||||
</div>
|
||||
<div class="col4">
|
||||
<?php echo template::checkbox('profilAddGalleryEdit', true, 'Éditer une galerie'); ?>
|
||||
<?php echo template::checkbox('profilAddCalendarEdit', true, 'Éditer un calendrier'); ?>
|
||||
</div>
|
||||
<div class="col4">
|
||||
<?php echo template::checkbox('profilAddGalleryDelete', true, 'Effacer une galerie'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col6">
|
||||
<?php echo template::checkbox('profilAddGalleryOption', true, 'Options des galeries'); ?>
|
||||
</div>
|
||||
<div class="col6">
|
||||
<?php echo template::checkbox('profilAddGalleryTheme', true, 'Thème des galeries'); ?>
|
||||
<?php echo template::checkbox('profilAddCalendarDelete', true, 'Effacer un calendrier'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -2,34 +2,22 @@
|
||||
<div class="col12">
|
||||
<div class="block">
|
||||
<h4>
|
||||
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Galerie')); ?>
|
||||
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Calendrier')); ?>
|
||||
</h4>
|
||||
<div class="row">
|
||||
<div class="col4">
|
||||
<?php echo template::checkbox('profilEditGalleryAdd', true, 'Ajouter une galerie', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'add'])
|
||||
<?php echo template::checkbox('profilEditCalendarAdd', true, 'Ajouter un calendrier', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'calendar', 'add'])
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col4">
|
||||
<?php echo template::checkbox('profilEditGalleryEdit', true, 'Éditer une galerie', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'edit'])
|
||||
<?php echo template::checkbox('profilEditCalendarEdit', true, 'Éditer un calendrier', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'calendar', 'edit'])
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col4">
|
||||
<?php echo template::checkbox('profilEditGalleryDelete', true, 'Effacer une galerie', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'delete'])
|
||||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col6">
|
||||
<?php echo template::checkbox('profilEditGalleryOption', true, 'Options des galeries', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'option'])
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col6">
|
||||
<?php echo template::checkbox('profilEditGalleryTheme', true, 'Thème des galeries', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'theme'])
|
||||
<?php echo template::checkbox('profilEditCalendarDelete', true, 'Effacer un calendrier', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'calendar', 'delete'])
|
||||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -5,7 +5,7 @@
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
/*background-color: rgba(0, 0, 0, 0.5);*/
|
||||
z-index: 9999;
|
||||
font-family: 'Inter', sans-serif; /* Utilisation de la police Inter */
|
||||
font-size: 18px; /* Taille de police de 24px */
|
||||
@ -17,13 +17,19 @@
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
background-color: white;
|
||||
color: #38385C;
|
||||
padding: 20px;
|
||||
border-radius: 5px;
|
||||
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
|
||||
width: 300px;
|
||||
width: 400px;
|
||||
text-align: center;
|
||||
font-family: 'Inter', sans-serif; /* Assurer la police Inter dans la popup */
|
||||
}
|
||||
|
||||
div .gc-event {
|
||||
color: #38385C;
|
||||
}
|
||||
|
||||
.popup-content {
|
||||
text-align: center;
|
||||
}
|
||||
|
@ -1,17 +1,19 @@
|
||||
1.07
|
||||
# Version 2.00
|
||||
- Activer dans la gestion du profil
|
||||
# Version 1.07
|
||||
- Supprime les couleurs des liens et des liens visités
|
||||
- Flexbox gère la présentation, les largeurs fixes sont supprimées
|
||||
1.06
|
||||
# Version 1.06
|
||||
- Supprime le placeholder du titre
|
||||
1.05
|
||||
# Version 1.05
|
||||
- Méthode d'alignement des icônes de contrôle dans la feuille de style
|
||||
1.04
|
||||
# Version 1.04
|
||||
= Option pour masquer ou afficher les boutons de contrôle
|
||||
1.03
|
||||
# Version 1.03
|
||||
- Boutons pour replier ou déplier les dossiers
|
||||
1.02
|
||||
# Version 1.02
|
||||
- Options d'ouverture des fichiers : download ; lightbox ; _blank
|
||||
1.01
|
||||
# Version 1.01
|
||||
- Affiche uniquement les images dans Lity, force le téléchargement des autres ressources. Une option est à prévoir dans la configuration.
|
||||
1.0
|
||||
# Version 1.0
|
||||
- Version initiale publiée
|
@ -17,7 +17,7 @@
|
||||
class folder extends common
|
||||
{
|
||||
|
||||
const VERSION = '1.07';
|
||||
const VERSION = '2.00';
|
||||
const REALNAME = 'Partage de ressources';
|
||||
const DATADIRECTORY = ''; // Contenu localisé inclus par défaut (page.json et module.json)
|
||||
|
||||
|
3
folder/profil/main/add.inc.php
Normal file
3
folder/profil/main/add.inc.php
Normal file
@ -0,0 +1,3 @@
|
||||
<?php $moduleData['folder'] = [
|
||||
'config' => $this->getInput('profilAddFolderConfig', helper::FILTER_BOOLEAN)
|
||||
];
|
3
folder/profil/main/edit.inc.php
Normal file
3
folder/profil/main/edit.inc.php
Normal file
@ -0,0 +1,3 @@
|
||||
<?php $moduleData['folder'] = [
|
||||
'config' => $this->getInput('profilEditFolderConfig', helper::FILTER_BOOLEAN)
|
||||
];
|
14
folder/profil/view/add.inc.php
Normal file
14
folder/profil/view/add.inc.php
Normal file
@ -0,0 +1,14 @@
|
||||
<div class="row">
|
||||
<div class="col12">
|
||||
<div class="block">
|
||||
<h4>
|
||||
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Partage de ressources')); ?>
|
||||
</h4>
|
||||
<div class="row">
|
||||
<div class="col4">
|
||||
<?php echo template::checkbox('profilAddFolderConfig', true, 'Ajouter un partage'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
16
folder/profil/view/edit.inc.php
Normal file
16
folder/profil/view/edit.inc.php
Normal file
@ -0,0 +1,16 @@
|
||||
<div class="row">
|
||||
<div class="col12">
|
||||
<div class="block">
|
||||
<h4>
|
||||
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Partage de ressources')); ?>
|
||||
</h4>
|
||||
<div class="row">
|
||||
<div class="col4">
|
||||
<?php echo template::checkbox('profilEditFolderConfig', true, 'Configurer un partage', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'folder', 'config'])
|
||||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -1,3 +1,5 @@
|
||||
# Version 1.0
|
||||
- Activer dans la gestion du profil
|
||||
# Version 0.10
|
||||
- Corrige un affichage incorrect lorsque l'étiquette est vide (null dans la popup)
|
||||
- Corrige la mauvaise position des marqueurs à l'ouest de Greenwich
|
||||
|
@ -17,7 +17,7 @@
|
||||
class geogallery extends common
|
||||
{
|
||||
|
||||
const VERSION = '0.10';
|
||||
const VERSION = '1.0';
|
||||
const REALNAME = 'GéoGalerie';
|
||||
const DATADIRECTORY = self::DATA_DIR . 'geogallery/';
|
||||
|
||||
|
@ -1,12 +1,10 @@
|
||||
<?php $moduleData['gallery'] = [
|
||||
'add' => $this->getInput('profilAddGalleryAdd', helper::FILTER_BOOLEAN),
|
||||
'edit' => $this->getInput('profilAddGalleryEdit', helper::FILTER_BOOLEAN),
|
||||
'delete' => $this->getInput('profilAddGalleryDelete', helper::FILTER_BOOLEAN),
|
||||
'option' => $this->getInput('profilAddGalleryOption', helper::FILTER_BOOLEAN),
|
||||
'theme' => $this->getInput('profilAddGalleryTheme', helper::FILTER_BOOLEAN),
|
||||
'config' => $this->getInput('profilAddGalleryAdd', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilAddGalleryEdit', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilAddGalleryDelete', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilAddGalleryOption', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilAddGalleryTheme', helper::FILTER_BOOLEAN)
|
||||
<?php $moduleData['geogallery'] = [
|
||||
'add' => $this->getInput('profilAddGeogalleryAdd', helper::FILTER_BOOLEAN),
|
||||
'edit' => $this->getInput('profilAddGeogalleryEdit', helper::FILTER_BOOLEAN),
|
||||
'delete' => $this->getInput('profilAddGeogalleryDelete', helper::FILTER_BOOLEAN),
|
||||
'theme' => $this->getInput('profilAddGeogalleryTheme', helper::FILTER_BOOLEAN),
|
||||
'config' => $this->getInput('profilAddGeogalleryAdd', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilAddGeogalleryEdit', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilAddGeogalleryDelete', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilAddGeogalleryTheme', helper::FILTER_BOOLEAN)
|
||||
];
|
@ -1,12 +1,10 @@
|
||||
<?php $moduleData['gallery'] = [
|
||||
'add' => $this->getInput('profilEditGalleryAdd', helper::FILTER_BOOLEAN),
|
||||
'edit' => $this->getInput('profilEditGalleryEdit', helper::FILTER_BOOLEAN),
|
||||
'delete' => $this->getInput('profilEditGalleryDelete', helper::FILTER_BOOLEAN),
|
||||
'option' => $this->getInput('profilEditGalleryOption', helper::FILTER_BOOLEAN),
|
||||
'theme' => $this->getInput('profilEditGalleryTheme', helper::FILTER_BOOLEAN),
|
||||
'config' => $this->getInput('profilEditGalleryAdd', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilEditGalleryEdit', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilEditGalleryDelete', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilEditGalleryOption', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilEditGalleryTheme', helper::FILTER_BOOLEAN)
|
||||
<?php $moduleData['geogallery'] = [
|
||||
'add' => $this->getInput('profilEditGeogalleryAdd', helper::FILTER_BOOLEAN),
|
||||
'edit' => $this->getInput('profilEditGeogalleryEdit', helper::FILTER_BOOLEAN),
|
||||
'delete' => $this->getInput('profilEditGeogalleryDelete', helper::FILTER_BOOLEAN),
|
||||
'theme' => $this->getInput('profilEditGeogalleryTheme', helper::FILTER_BOOLEAN),
|
||||
'config' => $this->getInput('profilEditGeogalleryAdd', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilEditGeogalleryEdit', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilEditGeogalleryDelete', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilEditGeogalleryTheme', helper::FILTER_BOOLEAN)
|
||||
];
|
@ -2,25 +2,21 @@
|
||||
<div class="col12">
|
||||
<div class="block">
|
||||
<h4>
|
||||
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Galerie')); ?>
|
||||
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Geogalerie')); ?>
|
||||
</h4>
|
||||
<div class="row">
|
||||
<div class="col4">
|
||||
<?php echo template::checkbox('profilAddGalleryAdd', true, 'Ajouter une galerie'); ?>
|
||||
<?php echo template::checkbox('profilAddGeogalleryAdd', true, 'Ajouter une galerie'); ?>
|
||||
</div>
|
||||
<div class="col4">
|
||||
<?php echo template::checkbox('profilAddGalleryEdit', true, 'Éditer une galerie'); ?>
|
||||
<?php echo template::checkbox('profilAddGeogalleryEdit', true, 'Éditer une galerie'); ?>
|
||||
</div>
|
||||
<div class="col4">
|
||||
<?php echo template::checkbox('profilAddGalleryDelete', true, 'Effacer une galerie'); ?>
|
||||
<?php echo template::checkbox('profilAddGeogalleryDelete', true, 'Effacer une galerie'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col6">
|
||||
<?php echo template::checkbox('profilAddGalleryOption', true, 'Options des galeries'); ?>
|
||||
</div>
|
||||
<div class="col6">
|
||||
<?php echo template::checkbox('profilAddGalleryTheme', true, 'Thème des galeries'); ?>
|
||||
<?php echo template::checkbox('profilAddGeogalleryTheme', true, 'Thème des galeries'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -2,34 +2,29 @@
|
||||
<div class="col12">
|
||||
<div class="block">
|
||||
<h4>
|
||||
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Galerie')); ?>
|
||||
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Geogalerie')); ?>
|
||||
</h4>
|
||||
<div class="row">
|
||||
<div class="col4">
|
||||
<?php echo template::checkbox('profilEditGalleryAdd', true, 'Ajouter une galerie', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'add'])
|
||||
<?php echo template::checkbox('profilEditGeogalleryAdd', true, 'Ajouter une galerie', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'geogallery', 'add'])
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col4">
|
||||
<?php echo template::checkbox('profilEditGalleryEdit', true, 'Éditer une galerie', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'edit'])
|
||||
<?php echo template::checkbox('profilEditGeogalleryEdit', true, 'Éditer une galerie', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'geogallery', 'edit'])
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col4">
|
||||
<?php echo template::checkbox('profilEditGalleryDelete', true, 'Effacer une galerie', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'delete'])
|
||||
<?php echo template::checkbox('profilEditGeogalleryDelete', true, 'Effacer une galerie', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'geogallery', 'delete'])
|
||||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col6">
|
||||
<?php echo template::checkbox('profilEditGalleryOption', true, 'Options des galeries', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'option'])
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col6">
|
||||
<?php echo template::checkbox('profilEditGalleryTheme', true, 'Thème des galeries', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'theme'])
|
||||
<?php echo template::checkbox('profilEditGeogalleryTheme', true, 'Thème des galeries', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'geogallery', 'theme'])
|
||||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,2 +1,4 @@
|
||||
# Version 1.0
|
||||
- Activer dans la gestion du profil
|
||||
# Version 0.1
|
||||
- GeoGallery est basé sur le module gallery 4.1
|
@ -18,7 +18,7 @@ class geolocation extends common
|
||||
{
|
||||
|
||||
|
||||
const VERSION = '0.8';
|
||||
const VERSION = '1.0';
|
||||
const REALNAME = 'Géolocalisation';
|
||||
const DATADIRECTORY = self::DATA_DIR . 'geolocation/';
|
||||
|
||||
|
@ -1,12 +1,8 @@
|
||||
<?php $moduleData['gallery'] = [
|
||||
'add' => $this->getInput('profilAddGalleryAdd', helper::FILTER_BOOLEAN),
|
||||
'edit' => $this->getInput('profilAddGalleryEdit', helper::FILTER_BOOLEAN),
|
||||
'delete' => $this->getInput('profilAddGalleryDelete', helper::FILTER_BOOLEAN),
|
||||
'option' => $this->getInput('profilAddGalleryOption', helper::FILTER_BOOLEAN),
|
||||
'theme' => $this->getInput('profilAddGalleryTheme', helper::FILTER_BOOLEAN),
|
||||
'config' => $this->getInput('profilAddGalleryAdd', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilAddGalleryEdit', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilAddGalleryDelete', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilAddGalleryOption', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilAddGalleryTheme', helper::FILTER_BOOLEAN)
|
||||
<?php $moduleData['geolocation'] = [
|
||||
'add' => $this->getInput('profilAddGeolocationAdd', helper::FILTER_BOOLEAN),
|
||||
'edit' => $this->getInput('profilAddGeolocationEdit', helper::FILTER_BOOLEAN),
|
||||
'delete' => $this->getInput('profilAddGeolocationDelete', helper::FILTER_BOOLEAN),
|
||||
'config' => $this->getInput('profilAddGeolocationAdd', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilAddGeolocationEdit', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilAddGeolocationDelete', helper::FILTER_BOOLEAN)
|
||||
];
|
@ -1,12 +1,9 @@
|
||||
<?php $moduleData['gallery'] = [
|
||||
'add' => $this->getInput('profilEditGalleryAdd', helper::FILTER_BOOLEAN),
|
||||
'edit' => $this->getInput('profilEditGalleryEdit', helper::FILTER_BOOLEAN),
|
||||
'delete' => $this->getInput('profilEditGalleryDelete', helper::FILTER_BOOLEAN),
|
||||
'option' => $this->getInput('profilEditGalleryOption', helper::FILTER_BOOLEAN),
|
||||
'theme' => $this->getInput('profilEditGalleryTheme', helper::FILTER_BOOLEAN),
|
||||
'config' => $this->getInput('profilEditGalleryAdd', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilEditGalleryEdit', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilEditGalleryDelete', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilEditGalleryOption', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilEditGalleryTheme', helper::FILTER_BOOLEAN)
|
||||
<?php $moduleData['geolocation'] = [
|
||||
'add' => $this->getInput('profilEditGeolocationAdd', helper::FILTER_BOOLEAN),
|
||||
'edit' => $this->getInput('profilEditGeolocationEdit', helper::FILTER_BOOLEAN),
|
||||
'delete' => $this->getInput('profilEditGeolocationDelete', helper::FILTER_BOOLEAN),
|
||||
'config' => $this->getInput('profilEditGeolocationAdd', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilEditGeolocationEdit', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilEditGeolocationDelete', helper::FILTER_BOOLEAN) ||
|
||||
$this->getInput('profilEditGeolocationOption', helper::FILTER_BOOLEAN)
|
||||
];
|
@ -2,25 +2,17 @@
|
||||
<div class="col12">
|
||||
<div class="block">
|
||||
<h4>
|
||||
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Galerie')); ?>
|
||||
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Geolocation')); ?>
|
||||
</h4>
|
||||
<div class="row">
|
||||
<div class="col4">
|
||||
<?php echo template::checkbox('profilAddGalleryAdd', true, 'Ajouter une galerie'); ?>
|
||||
<?php echo template::checkbox('profilAddGeolocationAdd', true, 'Ajouter un point'); ?>
|
||||
</div>
|
||||
<div class="col4">
|
||||
<?php echo template::checkbox('profilAddGalleryEdit', true, 'Éditer une galerie'); ?>
|
||||
<?php echo template::checkbox('profilAddGeolocationEdit', true, 'Éditer un point'); ?>
|
||||
</div>
|
||||
<div class="col4">
|
||||
<?php echo template::checkbox('profilAddGalleryDelete', true, 'Effacer une galerie'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col6">
|
||||
<?php echo template::checkbox('profilAddGalleryOption', true, 'Options des galeries'); ?>
|
||||
</div>
|
||||
<div class="col6">
|
||||
<?php echo template::checkbox('profilAddGalleryTheme', true, 'Thème des galeries'); ?>
|
||||
<?php echo template::checkbox('profilAddGeolocationDelete', true, 'Effacer un point'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -2,34 +2,22 @@
|
||||
<div class="col12">
|
||||
<div class="block">
|
||||
<h4>
|
||||
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Galerie')); ?>
|
||||
<?php echo sprintf('%s %s', helper::translate('Permissions'), helper::translate('Geolocation')); ?>
|
||||
</h4>
|
||||
<div class="row">
|
||||
<div class="col4">
|
||||
<?php echo template::checkbox('profilEditGalleryAdd', true, 'Ajouter une galerie', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'add'])
|
||||
<?php echo template::checkbox('profilEditGeolocationAdd', true, 'Ajouter un point', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'geolocation', 'add'])
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col4">
|
||||
<?php echo template::checkbox('profilEditGalleryEdit', true, 'Éditer une galerie', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'edit'])
|
||||
<?php echo template::checkbox('profilEditGeolocationEdit', true, 'Éditer un point', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'geolocation', 'edit'])
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col4">
|
||||
<?php echo template::checkbox('profilEditGalleryDelete', true, 'Effacer une galerie', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'delete'])
|
||||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col6">
|
||||
<?php echo template::checkbox('profilEditGalleryOption', true, 'Options des galeries', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'option'])
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col6">
|
||||
<?php echo template::checkbox('profilEditGalleryTheme', true, 'Thème des galeries', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'gallery', 'theme'])
|
||||
<?php echo template::checkbox('profilEditGeolocationDelete', true, 'Effacer un point', [
|
||||
'checked' => $this->getData(['profil', $this->getUrl(2), $this->getUrl(3), 'geolocation', 'delete'])
|
||||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user