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

40 lines
1.2 KiB
PHP
Raw Normal View History

2021-03-06 18:16:52 +01: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>
<div class="col2">
<?php echo template::button('addonIndexHelp', [
'class' => 'helpDisplayButton',
'ico' => 'help',
'value' => 'Aide'
]); ?>
</div>
<div class="col3 offset2">
2021-03-26 16:47:50 +01:00
<?php echo template::button('configStoreUpload', [
'href' => helper::baseUrl() . 'addon/upload',
'value' => 'Téléverser un module'
]); ?>
</div>
<div class="col3">
2021-03-06 18:16:52 +01:00
<?php echo template::button('configModulesStore', [
'href' => helper::baseUrl() . 'addon/store',
2021-03-26 16:47:50 +01:00
'value' => 'Catalogue en ligne'
2021-03-06 18:16:52 +01: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; ?>