91 lines
2.7 KiB
PHP
91 lines
2.7 KiB
PHP
|
<?php echo template::formOpen('themeManageForm'); ?>
|
||
|
<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',
|
||
|
'value' => template::ico('cancel'),
|
||
|
'help' => 'Réinitialiser avec le thème par défaut'
|
||
|
]); ?>
|
||
|
</div>
|
||
|
<div class="col2">
|
||
|
<?php echo template::submit('themeImportSubmit', [
|
||
|
'value' => 'Appliquer'
|
||
|
]); ?>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row">
|
||
|
<div class="col12">
|
||
|
<div class="block">
|
||
|
<h4><?php echo helper::translate('Installer un thème archivé (site ou administration)'); ?>
|
||
|
</h4>
|
||
|
<div class="row">
|
||
|
<div class="col6 offset3">
|
||
|
<?php echo template::file('themeManageImport', [
|
||
|
'language' => $this->getData(['user', $this->getUser('id'), 'language']),
|
||
|
'label' => 'Archive ZIP :',
|
||
|
'type' => 2
|
||
|
]); ?>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="row">
|
||
|
<div class="col6">
|
||
|
<div class="block">
|
||
|
<h4><?php echo helper::translate('Sauvegarde du thème dans le'); ?>
|
||
|
<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');?>&lang=<?php echo $this->getData(['user', $this->getUser('id'), 'language']);?>" data-lity>
|
||
|
<?php echo helper::translate('gestionnaire de fichiers'); ?>
|
||
|
</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'
|
||
|
]); ?>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="col6">
|
||
|
<div class="block">
|
||
|
<h4><?php echo helper::translate('Télécharger le thème'); ?>
|
||
|
</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'
|
||
|
]); ?>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<?php echo template::formClose(); ?>
|