51 lines
1.8 KiB
PHP
51 lines
1.8 KiB
PHP
<div class="row">
|
|
<div class="col1">
|
|
<?php echo template::button('configModulesBack', [
|
|
'class' => 'buttonGrey',
|
|
'href' => helper::baseUrl(),
|
|
'value' => template::ico('left')
|
|
]); ?>
|
|
</div>
|
|
<div class="col1">
|
|
<?php echo template::button('configModulesHelp', [
|
|
'href' => 'https://doc.zwiicms.fr/gestion-des-modules',
|
|
'target' => '_blank',
|
|
'value' => template::ico('help'),
|
|
'class' => 'buttonHelp',
|
|
'help' => 'Consulter l\'aide en ligne'
|
|
]); ?>
|
|
</div>
|
|
<div class="col1 offset9">
|
|
<?php echo template::button('configModulesStore', [
|
|
'href' => helper::baseUrl() . 'plugin/store',
|
|
'value' => template::ico('shopping-basket'),
|
|
"help" => 'Catalogue de modules en ligne'
|
|
]); ?>
|
|
</div>
|
|
</div>
|
|
<?php if($module::$modulesOrphan): ?>
|
|
<h3>Suppression des modules orphelins</h3>
|
|
<?php echo template::table([2, 2, 1, 6, 1], $module::$modulesOrphan, [ 'Module', 'moduleId', 'Version', '', '']); ?>
|
|
<?php endif; ?>
|
|
<?php if($module::$modulesInstalled): ?>
|
|
<h3>Sauvegarde des modules</h3>
|
|
<?php echo template::table([2, 2, 1, 5, 1, 1], $module::$modulesInstalled, [ 'Module', 'moduleId', 'Version', '', '', '']); ?>
|
|
<?php endif; ?>
|
|
<?php if($module::$modulesData): ?>
|
|
<div class="row">
|
|
<div class="col11">
|
|
<h3>Sauvegarde des données des modules installés</h3>
|
|
</div>
|
|
<div class="col1">
|
|
<?php echo template::button('configModuledataImport', [
|
|
'href' => helper::baseUrl() . 'dataImport',
|
|
'value' => template::ico('upload'),
|
|
"help" => 'Importer des données de module'
|
|
]); ?>
|
|
</div>
|
|
</div>
|
|
<?php echo template::table([2, 2, 1, 1, 5, 1], $module::$modulesData, [ 'Module', 'moduleId', 'Version', 'Langue', 'Page (id)', '']); ?>
|
|
<?php else: ?>
|
|
<?php echo template::speech('Aucun module installé.'); ?>
|
|
<?php endif; ?>
|