Agenda revue de la fonction add

This commit is contained in:
Fred Tempez 2024-08-29 18:45:19 +02:00
parent 4a2e7adcb1
commit 89122bd9f0
2 changed files with 688 additions and 641 deletions

File diff suppressed because it is too large Load Diff

View File

@ -8,10 +8,10 @@
'value' => 'Retour'
]); ?>
</div>
<?php if( $this->getUser('group') >= $this->getData(['module', $this->getUrl(0), 'config', 'droit_creation']) ){
echo '<script src="'. helper::baseUrl(false).'/core/vendor/tinymce/tinymce.min.js"></script>';
echo '<script src="'. helper::baseUrl(false).'/core/vendor/tinymce/jquery.tinymce.min.js"></script>';
if( $this->getUser('group') >= 2){
<?php if( $this->getUser('group') >= $this->getData(['module', $this->getUrl(0), 'config', 'droit_creation'])): ?>
<script src="'. helper::baseUrl(false).'/core/vendor/tinymce/tinymce.min.js"></script>'
<script src="'. helper::baseUrl(false).'/core/vendor/tinymce/jquery.tinymce.min.js"></script>'
<?php if( $this->getUser('group') >= 2){
echo '<script src="'. helper::baseUrl(false).'/module/agenda/vendor/js/init23.js"></script>';
}
else{
@ -125,18 +125,7 @@
</div>
</div>
<?php }
else{?>
<!--Fermeture de la <div class="row"> si test false-->
</div>
<div class="block">
<h4>Vous n'avez pas accès à la création d'évènements, connectez-vous.</h4>
</div>
<?php ;} ?>
<?php endif; ?>
<?php echo template::formClose(); ?>
<div class="moduleVersion">Version