ZwiiCMS/core/module/addon/view/index/index.php

35 lines
1.1 KiB
PHP
Raw Normal View History

2021-06-05 16:40:16 +02:00
<div class="row">
<div class="col2">
<?php echo template::button('configModulesBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl(),
'ico' => 'left',
'value' => 'Retour'
]); ?>
2021-02-16 18:46:58 +01:00
</div>
2021-06-05 16:40:16 +02:00
<div class="col2">
2021-11-04 19:12:27 +01:00
<?php echo template::button('configModulesHelp', [
'href' => 'https://doc.zwiicms.fr/les-modules',
'target' => '_blank',
2021-06-05 16:40:16 +02:00
'ico' => 'help',
2021-11-04 19:12:27 +01:00
'value' => 'Aide',
'class' => 'buttonHelp'
2021-06-05 16:40:16 +02:00
]); ?>
</div>
2021-08-20 07:03:08 +02:00
<div class="col2 offset6">
2021-06-05 16:40:16 +02:00
<?php echo template::button('configStoreUpload', [
'href' => helper::baseUrl() . 'addon/upload',
2021-08-20 07:03:08 +02:00
'value' => 'Installer un module'
2021-06-05 16:40:16 +02:00
]); ?>
</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>
2021-02-15 14:42:34 +01:00
<?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']); ?>
2021-02-15 14:42:34 +01:00
<?php else: ?>
<?php echo template::speech('Aucun module installé.'); ?>
<?php endif; ?>