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

31 lines
903 B
PHP
Raw Normal View History

2018-04-02 08:29:19 +02:00
<?php echo template::formOpen('themeAdvancedForm'); ?>
2022-09-29 08:45:59 +02:00
<div class="row">
<div class="col1">
<?php echo template::button('themeAdvancedBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl() . 'theme',
'value' => template::ico('left')
]); ?>
</div>
<div class="col1 offset8">
<?php echo template::button('themeAdvancedReset', [
'href' => helper::baseUrl() . 'theme/reset/custom' . '&csrf=' . $_SESSION['csrf'],
'class' => 'buttonRed',
'value' => template::ico('cancel'),
'help' => 'Réinitialiser la feuille de style'
2022-09-29 08:45:59 +02:00
]); ?>
</div>
<div class="col2">
<?php echo template::submit('themeAdvancedSubmit'); ?>
2018-04-02 08:29:19 +02:00
</div>
2022-09-29 08:45:59 +02:00
</div>
<div class="row">
<div class="col12">
<?php echo template::textarea('themeAdvancedCss', [
'value' => file_get_contents(self::DATA_DIR . 'custom.css'),
'class' => 'editor'
]); ?>
2018-04-02 08:29:19 +02:00
</div>
2022-09-29 08:45:59 +02:00
</div>
2018-04-02 08:29:19 +02:00
<?php echo template::formClose(); ?>