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

99 lines
2.8 KiB
PHP
Raw Normal View History

2022-09-29 08:45:59 +02:00
<?php if (
2018-04-02 08:29:19 +02:00
$this->getData(['theme', 'header', 'position']) === 'hide'
2022-09-29 08:45:59 +02:00
or $this->getData(['theme', 'menu', 'position']) === 'hide'
or $this->getData(['theme', 'footer', 'position']) === 'hide'
): ?>
2018-04-02 08:29:19 +02:00
<?php echo template::speech('Cliquez sur une zone afin d\'accéder à ses options de personnalisation. Vous pouvez également afficher les zones cachées à l\'aide du bouton ci-dessous.'); ?>
<div class="row">
<div class="col4 offset4">
2018-04-02 08:29:19 +02:00
<?php echo template::button('themeBack', [
'href' => helper::baseUrl(false),
'ico' => 'home',
'value' => 'Accueil'
]); ?>
</div>
2020-09-27 12:41:13 +02:00
</div>
<div class="row">
<div class="col2 offset4">
2022-02-11 14:18:47 +01:00
<?php echo template::button('themeFonts', [
2022-02-11 14:33:05 +01:00
'ico' => 'font',
2023-04-04 18:56:41 +02:00
'href' => helper::baseUrl() . $this->getUrl(0) . '/font',
2022-02-11 14:18:47 +01:00
'value' => 'Fontes'
]); ?>
</div>
<div class="col2">
<?php echo template::button('themeAdvanced', [
'ico' => 'code',
'href' => helper::baseUrl() . $this->getUrl(0) . '/advanced',
'value' => 'Éditeur CSS'
2018-12-25 16:24:20 +01:00
]); ?>
</div>
</div>
<div class="row">
<div class="col2 offset4">
2022-09-29 08:45:59 +02:00
<?php echo template::button('themeAdmin', [
2021-11-10 09:58:11 +01:00
'ico' => 'brush',
'href' => helper::baseUrl() . $this->getUrl(0) . '/admin',
'value' => 'Administration'
]); ?>
</div>
<div class="col2">
<?php echo template::button('themeManage', [
'ico' => 'sliders',
'href' => helper::baseUrl() . $this->getUrl(0) . '/manage',
'value' => 'Gestion'
]); ?>
</div>
</div>
<div class="row">
<div class="col4 offset4">
<?php echo template::button('themeShowAll', [
'ico' => 'eye',
'value' => 'Zones cachées'
]); ?>
</div>
</div>
<?php else: ?>
2018-04-02 08:29:19 +02:00
<?php echo template::speech('Cliquez sur une zone afin d\'accéder à ses options de personnalisation.'); ?>
<div class="row">
<div class="col4 offset4">
2018-04-02 08:29:19 +02:00
<?php echo template::button('themeBack', [
'href' => helper::baseUrl(false),
'ico' => 'home',
'value' => 'Accueil'
]); ?>
</div>
2020-09-27 12:41:13 +02:00
</div>
<div class="row">
<div class="col2 offset4">
2022-02-11 14:18:47 +01:00
<?php echo template::button('themeFonts', [
2022-02-11 14:33:05 +01:00
'ico' => 'font',
2023-04-04 18:56:41 +02:00
'href' => helper::baseUrl() . $this->getUrl(0) . '/font',
2022-02-11 14:18:47 +01:00
'value' => 'Fontes'
]); ?>
</div>
<div class="col2">
<?php echo template::button('themeAdvanced', [
'ico' => 'code',
'href' => helper::baseUrl() . $this->getUrl(0) . '/advanced',
'value' => 'Éditeur CSS'
2018-12-25 16:24:20 +01:00
]); ?>
</div>
</div>
<div class="row">
<div class="col2 offset4">
2022-09-29 08:45:59 +02:00
<?php echo template::button('themeAdmin', [
2021-11-10 09:58:11 +01:00
'ico' => 'brush',
'href' => helper::baseUrl() . $this->getUrl(0) . '/admin',
'value' => 'Administration'
2018-04-02 08:29:19 +02:00
]); ?>
</div>
2021-11-10 09:58:11 +01:00
<div class="col2">
<?php echo template::button('themeManage', [
'ico' => 'sliders',
'href' => helper::baseUrl() . $this->getUrl(0) . '/manage',
'value' => 'Gestion'
2021-11-10 08:03:31 +01:00
]); ?>
</div>
</div>
2022-09-29 08:45:59 +02:00
<?php endif; ?>