ZwiiCMS/core/module/theme/view/fonts/fonts.php

29 lines
925 B
PHP
Raw Normal View History

2022-02-08 17:00:08 +01:00
<div class="row">
2022-02-11 16:08:49 +01:00
<div class="col1">
2022-02-08 17:00:08 +01:00
<?php echo template::button('themeFontBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl() . 'theme',
2022-02-11 16:08:49 +01:00
'value' => template::ico('left')
2022-02-08 17:00:08 +01:00
]); ?>
</div>
2022-02-26 14:26:51 +01:00
<div class="col1">
2022-02-25 14:45:12 +01:00
<?php echo template::button('pageEditHelp', [
'href' => 'https://doc.zwiicms.fr/fontes',
'target' => '_blank',
2022-02-26 14:26:51 +01:00
'value' => template::ico('help'),
2022-02-25 14:45:12 +01:00
'class' => 'buttonHelp'
]); ?>
</div>
<div class="col2 offset8">
2022-02-08 17:00:08 +01:00
<?php echo template::button('themeFontAdd', [
'href' => helper::baseUrl() . $this->getUrl(0) . '/fontAdd',
2022-02-11 16:08:49 +01:00
'value' => template::ico('plus'),
'help' => 'Ajouter une fonte'
2022-02-08 17:00:08 +01:00
]); ?>
</div>
</div>
2022-03-11 09:59:59 +01:00
<?php if($module::$fontsDetail): ?>
2022-03-11 16:09:43 +01:00
<?php echo template::table([2, 2, 3, 2, 1, 1, 1], $module::$fontsDetail, ['FontId', 'Nom', 'Famille', 'Affectation', 'Origine', '', '']); ?>
<?php else: ?>
2022-02-08 17:00:08 +01:00
<?php echo template::speech('Aucune fonte !'); ?>
<?php endif; ?>