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

38 lines
1.3 KiB
PHP
Raw Normal View History

2021-06-05 16:40:16 +02:00
<div class="row">
2022-01-20 13:28:33 +01:00
<div class="col1">
2021-06-05 16:40:16 +02:00
<?php echo template::button('configModulesBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl(),
2022-01-20 13:28:33 +01:00
'value' => template::ico('left')
2021-06-05 16:40:16 +02:00
]); ?>
2021-02-16 18:46:58 +01:00
</div>
2022-01-20 13:28:33 +01:00
<div class="col1">
2021-11-04 19:12:27 +01:00
<?php echo template::button('configModulesHelp', [
2022-01-20 13:28:33 +01:00
'href' => 'https://doc.zwiicms.fr/modules-utilisation-generique',
2021-11-04 19:12:27 +01:00
'target' => '_blank',
2022-01-20 13:28:33 +01:00
'value' => template::ico('help'),
2022-01-20 15:40:56 +01:00
'class' => 'buttonHelp',
'help' => 'Consulter l\'aide en ligne'
2021-06-05 16:40:16 +02:00
]); ?>
</div>
2022-01-20 15:40:56 +01:00
<div class="col1 offset8">
2022-01-14 15:27:19 +01:00
<?php echo template::button('configModulesStore', [
'href' => helper::baseUrl() . 'addon/store',
2022-01-21 14:31:36 +01:00
'value' => template::ico('shopping-basket'),
2022-01-20 15:40:56 +01:00
"help" => 'Lister le catalogue en ligne'
2022-01-14 15:27:19 +01:00
]); ?>
</div>
2022-01-20 15:40:56 +01:00
<div class="col1">
2021-06-05 16:40:16 +02:00
<?php echo template::button('configStoreUpload', [
'href' => helper::baseUrl() . 'addon/upload',
2022-01-20 15:40:56 +01:00
'value' => template::ico('plus'),
"help" => 'Ajouter à partir d\'une archive ZIP'
2021-06-05 16:40:16 +02:00
]); ?>
</div>
</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; ?>