ZwiiCMS/core/module/theme/view/advanced/advanced.php
2021-02-06 20:01:10 +01:00

31 lines
900 B
PHP
Executable File

<?php echo template::formOpen('themeAdvancedForm'); ?>
<div class="row">
<div class="col2">
<?php echo template::button('themeAdvancedBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl() . 'theme',
'ico' => 'left',
'value' => 'Retour'
]); ?>
</div>
<div class="col2 offset6">
<?php echo template::button('themeAdvancedReset', [
'href' => helper::baseUrl() . 'theme/reset/custom' . '&csrf=' . $_SESSION['csrf'],
'class' => 'buttonRed',
'ico' => 'cancel',
'value' => 'Réinitialiser'
]); ?>
</div>
<div class="col2">
<?php echo template::submit('themeAdvancedSubmit'); ?>
</div>
</div>
<div class="row">
<div class="col12">
<?php echo template::textarea('themeAdvancedCss', [
'value' => file_get_contents(self::DATA_DIR.'custom.css'),
'class' => 'editor'
]); ?>
</div>
</div>
<?php echo template::formClose(); ?>