tableau des fontes

This commit is contained in:
fredtempez 2022-02-10 10:44:35 +01:00
parent 155166ea8f
commit 0128e3620d
2 changed files with 2 additions and 2 deletions

View File

@ -576,7 +576,7 @@ class theme extends common {
$fontName,
$fontId,
$fontUsed[$fontId],
array_key_exists($fontId, $fonts['imported']) ? 'Importée' : '',
//array_key_exists($fontId, $fonts['imported']) ? 'Importée' : '',
array_key_exists($fontId, $fonts['files']) ? $fonts['files'][$fontId] : 'CDN Fonts',
array_key_exists($fontId, $fonts['imported']) || array_key_exists($fontId, $fonts['files'])
? template::button('themeFontDelete' . $fontId, [

View File

@ -16,7 +16,7 @@
</div>
</div>
<?php if($module::$fontsList): ?>
<?php echo template::table([2, 2, 3, 2, 2, 1], $module::$fontsList, ['Family Name', 'Font Id', 'Usage', '', 'Accès', 'Effacer']); ?>
<?php echo template::table([3, 3, 3, 3, 1], $module::$fontsList, ['Family Name', 'Font Id', 'Affectation', 'Ressource', 'Effacer']); ?>
<?php else: ?>
<?php echo template::speech('Aucune fonte !'); ?>
<?php endif; ?>