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

31 lines
933 B
PHP
Raw Normal View History

2018-04-02 08:29:19 +02:00
<?php echo template::formOpen('themeAdvancedForm'); ?>
<div class="row">
<div class="col1">
2018-04-02 08:29:19 +02:00
<?php echo template::button('themeAdvancedBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl() . 'theme',
'value' => template::ico('left')
2018-04-02 08:29:19 +02:00
]); ?>
</div>
<div class="col1 offset8">
2018-04-02 08:29:19 +02:00
<?php echo template::button('themeAdvancedReset', [
'href' => helper::baseUrl() . 'theme/reset/custom' . '&csrf=' . $_SESSION['csrf'],
2018-04-02 08:29:19 +02:00
'class' => 'buttonRed',
'value' => template::ico('cancel'),
'help' => 'Réinitialiser la feuille de style'
2018-04-02 08:29:19 +02:00
]); ?>
</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'
2018-04-02 08:29:19 +02:00
]); ?>
</div>
</div>
<?php echo template::formClose(); ?>