2022-03-04 10:15:24 +01:00
|
|
|
<?php echo template::formOpen('pageCssEditorForm'); ?>
|
2022-09-29 08:45:59 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col1">
|
|
|
|
<?php echo template::button('pageCssEditorBack', [
|
|
|
|
'class' => 'buttonGrey',
|
2024-04-23 17:42:00 +02:00
|
|
|
'href' => helper::baseUrl() . 'page/edit/' . $this->getUrl(2) . '/' . self::$siteContent,
|
2022-09-29 08:45:59 +02:00
|
|
|
'value' => template::ico('left')
|
|
|
|
]); ?>
|
2022-03-04 10:15:24 +01:00
|
|
|
</div>
|
2022-09-29 08:45:59 +02:00
|
|
|
<div class="col2 offset9">
|
|
|
|
<?php echo template::submit('pageCssEditorSubmit'); ?>
|
2022-03-04 10:15:24 +01:00
|
|
|
</div>
|
2022-09-29 08:45:59 +02:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col12">
|
|
|
|
<?php echo template::textarea('pageCssEditorContent', [
|
2023-01-11 18:01:35 +01:00
|
|
|
'value' => is_null($this->getData(['page', $this->getUrl(2), 'css'])) ? '' : $this->getData(['page', $this->getUrl(2), 'css']),
|
2022-09-29 08:45:59 +02:00
|
|
|
'class' => 'editor'
|
|
|
|
]); ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-04 10:15:24 +01:00
|
|
|
<?php echo template::formClose(); ?>
|