ZwiiCMS/core/module/addon/view/index/index.php
2022-02-07 13:59:18 +01:00

42 lines
1.5 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/modules-utilisation-generique',
'target' => '_blank',
'value' => template::ico('help'),
'class' => 'buttonHelp',
'help' => 'Consulter l\'aide en ligne'
]); ?>
</div>
<div class="col1 offset8">
<?php echo template::button('configModulesStore', [
'href' => helper::baseUrl() . 'addon/store',
'value' => template::ico('plus') . template::ico('plus'),
"help" => 'Lister le catalogue en ligne'
]); ?>
</div>
<div class="col1">
<?php echo template::button('configStoreUpload', [
'href' => helper::baseUrl() . 'addon/upload',
'value' => template::ico('plus'),
"help" => 'Ajouter à partir d\'une archive ZIP'
]); ?>
</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>
<?php if($module::$modInstal): ?>
<?php echo template::table([2, 2, 2, 2, 1, 1, 1], $module::$modInstal, ['Module installé', 'Alias', 'Version', 'Page(s)', 'Supprimer', 'Exporter', 'Importer']); ?>
<?php else: ?>
<?php echo template::speech('Aucun module installé.'); ?>
<?php endif; ?>