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

90 lines
2.6 KiB
PHP
Raw Normal View History

2018-12-27 20:06:03 +01:00
<?php echo template::formOpen('themeManageForm'); ?>
2022-09-29 08:45:59 +02:00
<div class="row">
<div class="col1">
<?php echo template::button('themeManageBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl() . 'theme',
'value' => template::ico('left')
]); ?>
</div>
<div class="col1 offset8">
<?php echo template::button('configManageReset', [
'class' => 'buttonRed',
'href' => helper::baseUrl() . 'theme/reset/manage' . '&csrf=' . $_SESSION['csrf'],
'value' => template::ico('cancel'),
'help' => 'Réinitialiser avec le thème par défaut'
]); ?>
</div>
2022-09-29 08:45:59 +02:00
<div class="col2">
<?php echo template::submit('themeImportSubmit', [
'value' => 'Appliquer'
]); ?>
</div>
</div>
<div class="row">
<div class="col12">
<div class="block">
2022-10-03 18:37:25 +02:00
<h4><?php echo helper::translate('Installer un thème archivé (site ou administration)'); ?>
2022-09-29 08:45:59 +02:00
</h4>
<div class="row">
<div class="col6 offset3">
<?php echo template::file('themeManageImport', [
'label' => 'Archive ZIP :',
'type' => 2
]); ?>
2020-05-18 18:26:21 +02:00
</div>
</div>
2018-12-25 16:24:20 +01:00
</div>
2020-11-07 17:48:10 +01:00
</div>
2022-09-29 08:45:59 +02:00
</div>
<div class="row">
<div class="col6">
<div class="block">
2022-10-03 18:37:25 +02:00
<h4><?php echo helper::translate('Sauvegarde du thème dans le'); ?>
2022-09-29 08:45:59 +02:00
<a href="<?php echo helper::baseUrl(false); ?>core/vendor/filemanager/dialog.php?fldr=theme&type=0&akey=<?php echo md5_file(self::DATA_DIR . 'core.json'); ?>" data-lity>
<?php echo helper::translate('gestionnaire de fichiers'); ?>
2022-09-29 08:45:59 +02:00
</a>
</h4>
<div class="row">
<div class="col6">
<?php echo template::button('themeSave', [
'href' => helper::baseUrl() . 'theme/save/theme',
'ico' => 'download-cloud',
'value' => 'Thème du site'
]); ?>
</div>
<div class="col6">
<?php echo template::button('themeSaveAdmin', [
'href' => helper::baseUrl() . 'theme/save/admin',
'ico' => 'download-cloud',
'value' => 'Thème de l\'administration'
]); ?>
2018-12-28 16:52:58 +01:00
</div>
2019-12-10 14:26:16 +01:00
</div>
2020-11-07 17:48:10 +01:00
</div>
2022-09-29 08:45:59 +02:00
</div>
2020-11-07 17:48:10 +01:00
2022-09-29 08:45:59 +02:00
<div class="col6">
<div class="block">
2022-10-03 18:37:25 +02:00
<h4><?php echo helper::translate('Télécharger le thème'); ?>
2022-09-29 08:45:59 +02:00
</h4>
<div class="row">
<div class="col6">
<?php echo template::button('themeExport', [
'href' => helper::baseUrl() . 'theme/export/theme',
'ico' => 'download',
'value' => 'Thème du site'
]); ?>
</div>
<div class="col6">
<?php echo template::button('themeExport', [
'href' => helper::baseUrl() . 'theme/export/admin',
'ico' => 'download',
'value' => 'Thème de l\'administration'
]); ?>
2020-05-18 18:26:21 +02:00
</div>
</div>
</div>
</div>
2022-09-29 08:45:59 +02:00
</div>
<?php echo template::formClose(); ?>