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

21 lines
699 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-11 16:08:49 +01:00
<div class="col1 offset10">
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>
<?php if($module::$fontsList): ?>
2022-02-10 10:44:35 +01:00
<?php echo template::table([3, 3, 3, 3, 1], $module::$fontsList, ['Family Name', 'Font Id', 'Affectation', 'Ressource', 'Effacer']); ?>
<?php else: ?>
2022-02-08 17:00:08 +01:00
<?php echo template::speech('Aucune fonte !'); ?>
<?php endif; ?>