2018-12-27 20:06:03 +01:00
|
|
|
<?php echo template::formOpen('themeManageForm'); ?>
|
|
|
|
<div class="row">
|
2022-02-08 13:23:34 +01:00
|
|
|
<div class="col1">
|
2018-12-27 20:06:03 +01:00
|
|
|
<?php echo template::button('themeManageBack', [
|
|
|
|
'class' => 'buttonGrey',
|
|
|
|
'href' => helper::baseUrl() . 'theme',
|
2022-02-08 13:23:34 +01:00
|
|
|
'value' => template::ico('left')
|
2018-12-27 20:06:03 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
2022-02-08 13:23:34 +01:00
|
|
|
<div class="col1 offset8">
|
2020-11-07 17:48:10 +01:00
|
|
|
<?php echo template::button('configManageReset', [
|
|
|
|
'class' => 'buttonRed',
|
2021-02-06 20:01:10 +01:00
|
|
|
'href' => helper::baseUrl() . 'theme/reset/manage' . '&csrf=' . $_SESSION['csrf'],
|
2022-02-08 13:23:34 +01:00
|
|
|
'value' => template::ico('cancel'),
|
|
|
|
'help' => 'Réinitialiser avec le thème par défaut'
|
2020-11-07 17:48:10 +01:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col2">
|
|
|
|
<?php echo template::submit('themeImportSubmit', [
|
|
|
|
'value' => 'Appliquer'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
2018-12-27 12:45:00 +01:00
|
|
|
</div>
|
2018-12-25 16:24:20 +01:00
|
|
|
<div class="row">
|
2020-11-07 17:48:10 +01:00
|
|
|
<div class="col12">
|
2018-12-27 12:45:00 +01:00
|
|
|
<div class="block">
|
2022-09-14 22:54:46 +02:00
|
|
|
<h4>
|
2022-09-14 22:59:01 +02:00
|
|
|
<?php template::topic('Installer un thème archivé (site ou administration)'); ?>
|
2022-09-14 22:54:46 +02:00
|
|
|
</h4>
|
2020-05-18 18:26:21 +02:00
|
|
|
<div class="row">
|
2020-11-07 17:48:10 +01:00
|
|
|
<div class="col6 offset3">
|
2020-05-18 18:26:21 +02:00
|
|
|
<?php echo template::file('themeManageImport', [
|
|
|
|
'label' => 'Archive ZIP :',
|
|
|
|
'type' => 2
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-12-27 12:45:00 +01:00
|
|
|
</div>
|
2018-12-25 16:24:20 +01:00
|
|
|
</div>
|
2020-11-07 17:48:10 +01:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
2018-12-27 12:45:00 +01:00
|
|
|
<div class="col6">
|
|
|
|
<div class="block">
|
2022-09-14 22:54:46 +02:00
|
|
|
<h4>
|
2022-09-14 22:59:01 +02:00
|
|
|
<?php template::topic('Sauvegarde du thème dans le'); ?>
|
2022-09-14 22:54:46 +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>
|
2022-09-14 22:59:01 +02:00
|
|
|
<?php template::topic('gestionnaire de fichiers'); ?>
|
2022-09-14 22:54:46 +02:00
|
|
|
</a>
|
|
|
|
</h4>
|
2020-05-18 18:26:21 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::button('themeSave', [
|
|
|
|
'href' => helper::baseUrl() . 'theme/save/theme',
|
|
|
|
'ico' => 'download-cloud',
|
2020-11-07 17:48:10 +01:00
|
|
|
'value' => 'Thème du site'
|
2020-05-18 18:26:21 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::button('themeSaveAdmin', [
|
|
|
|
'href' => helper::baseUrl() . 'theme/save/admin',
|
|
|
|
'ico' => 'download-cloud',
|
2020-11-07 17:48:10 +01:00
|
|
|
'value' => 'Thème de l\'administration'
|
2020-05-18 18:26:21 +02:00
|
|
|
]); ?>
|
|
|
|
</div>
|
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>
|
|
|
|
|
|
|
|
<div class="col6">
|
2020-05-18 18:26:21 +02:00
|
|
|
<div class="block">
|
2022-09-14 22:54:46 +02:00
|
|
|
<h4>
|
2022-09-14 22:59:01 +02:00
|
|
|
<?php template::topic('Télécharger le thème'); ?>
|
2022-09-14 22:54:46 +02:00
|
|
|
</h4>
|
2020-05-18 18:26:21 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::button('themeExport', [
|
|
|
|
'href' => helper::baseUrl() . 'theme/export/theme',
|
|
|
|
'ico' => 'download',
|
2020-11-07 17:48:10 +01:00
|
|
|
'value' => 'Thème du site'
|
2020-05-18 18:26:21 +02:00
|
|
|
]); ?>
|
2020-08-08 17:06:06 +02:00
|
|
|
</div>
|
2020-05-18 18:26:21 +02:00
|
|
|
<div class="col6">
|
|
|
|
<?php echo template::button('themeExport', [
|
|
|
|
'href' => helper::baseUrl() . 'theme/export/admin',
|
|
|
|
'ico' => 'download',
|
2020-11-07 17:48:10 +01:00
|
|
|
'value' => 'Thème de l\'administration'
|
2020-05-18 18:26:21 +02:00
|
|
|
]); ?>
|
2020-08-08 17:06:06 +02:00
|
|
|
</div>
|
2020-05-18 18:26:21 +02:00
|
|
|
</div>
|
2018-12-27 12:45:00 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-08-08 17:06:06 +02:00
|
|
|
</div>
|
2018-12-27 20:06:03 +01:00
|
|
|
<?php echo template::formClose(); ?>
|