2021-05-20 21:52:09 +02:00
|
|
|
<?php echo template::formOpen('configModulesGestion'); ?>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::button('configModulesBack', [
|
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl(),
|
|
|
|
'ico' => 'left',
|
|
|
|
'value' => 'Retour'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::button('addonIndexHelp', [
|
|
|
|
'class' => 'buttonHelp',
|
|
|
|
'ico' => 'help',
|
|
|
|
'value' => 'Aide'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2 offset6">
|
|
|
|
<?php echo template::submit('configModulesSubmit',[
|
|
|
|
'value' => 'Valider',
|
|
|
|
'ico' => 'check'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Aide à propos de la gestion des modules, view index -->
|
|
|
|
<div class="helpDisplayContent">
|
|
|
|
<?php echo file_get_contents( 'core/module/addon/view/index/index.help.html') ;?>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<div class="block">
|
|
|
|
<h4>Installer ou mettre à jour un module </h4>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6 offset3">
|
|
|
|
<?php echo template::file('configModulesInstallation', [
|
|
|
|
'label' => 'Archive ZIP :',
|
|
|
|
'type' => 2
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::checkbox('configModulesCheck', true, 'Mise à jour forcée', [
|
|
|
|
'checked' => false,
|
|
|
|
'help' => 'Permet de forcer une mise à jour même si la version du module est inférieure ou égale à celle du module installé.',
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-02-16 18:46:58 +01:00
|
|
|
</div>
|
2021-05-20 21:52:09 +02:00
|
|
|
<?php echo template::formClose(); ?>
|
2021-02-15 14:42:34 +01:00
|
|
|
<?php if($module::$modInstal): ?>
|
2021-05-08 11:18:54 +02:00
|
|
|
<?php echo template::table([2, 2, 2, 2, 1, 1, 1], $module::$modInstal, ['Module installé', 'Alias', 'Version', 'Page(s)', 'Supprimer', 'Exporter', 'Importer']); ?>
|
2021-02-15 14:42:34 +01:00
|
|
|
<?php else: ?>
|
|
|
|
<?php echo template::speech('Aucun module installé.'); ?>
|
|
|
|
<?php endif; ?>
|