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

102 lines
2.8 KiB
PHP
Raw Normal View History

2018-04-02 08:29:19 +02:00
<?php if(
$this->getData(['theme', 'header', 'position']) === 'hide'
OR $this->getData(['theme', 'menu', 'position']) === 'hide'
OR $this->getData(['theme', 'footer', 'position']) === 'hide'
): ?>
<?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">
2021-11-10 09:58:11 +01:00
<div class="col2 offset3">
2018-04-02 08:29:19 +02:00
<?php echo template::button('themeBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl(false),
'ico' => 'home',
'value' => 'Accueil'
]); ?>
</div>
2021-11-10 09:58:11 +01:00
<div class="col2">
<?php echo template::button('themeHelp', [
'href' => 'https://doc.zwiicms.fr/theme-2',
'target' => '_blank',
'ico' => 'help',
'value' => 'Aide',
'class' => 'buttonHelp'
]); ?>
</div>
<div class="col2">
<?php echo template::button('themeShowAll', [
'ico' => 'eye',
'value' => 'Zones cachées'
]); ?>
</div>
2020-09-27 12:41:13 +02:00
</div>
<div class="row">
2021-11-10 09:58:11 +01:00
<div class="col2 offset3">
<?php echo template::button('themeManage', [
2022-01-21 14:31:36 +01:00
'ico' => 'sliders',
2018-12-25 16:24:20 +01:00
'href' => helper::baseUrl() . $this->getUrl(0) . '/manage',
2020-06-02 12:03:45 +02:00
'value' => 'Gestion'
2018-12-25 16:24:20 +01:00
]); ?>
</div>
2021-11-10 09:58:11 +01:00
<div class="col2">
<?php echo template::button('themeAdmin', [
'ico' => 'brush',
'href' => helper::baseUrl() . $this->getUrl(0) . '/admin',
'value' => 'Administration'
]); ?>
</div>
<div class="col2">
<?php echo template::button('themeAdvanced', [
'ico' => 'code',
'href' => helper::baseUrl() . $this->getUrl(0) . '/advanced',
'value' => 'Éditeur CSS'
]); ?>
</div>
</div>
2018-04-02 08:29:19 +02:00
<?php else: ?>
<?php echo template::speech('Cliquez sur une zone afin d\'accéder à ses options de personnalisation.'); ?>
<div class="row">
2021-11-10 09:58:11 +01:00
<div class="col2 offset4">
2018-04-02 08:29:19 +02:00
<?php echo template::button('themeBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl(false),
'ico' => 'home',
'value' => 'Accueil'
]); ?>
</div>
2021-11-10 09:58:11 +01:00
<div class="col2">
<?php echo template::button('themeHelp', [
'href' => 'https://doc.zwiicms.fr/theme-2',
'target' => '_blank',
'ico' => 'help',
'value' => 'Aide',
'class' => 'buttonHelp'
]); ?>
</div>
2020-09-27 12:41:13 +02:00
</div>
<div class="row">
2021-11-10 09:58:11 +01:00
<div class="col2 offset3">
<?php echo template::button('themeManage', [
2022-01-21 14:31:36 +01:00
'ico' => 'sliders',
2021-11-10 09:58:11 +01:00
'href' => helper::baseUrl() . $this->getUrl(0) . '/manage',
2020-06-02 12:03:45 +02:00
'value' => 'Gestion'
2018-12-25 16:24:20 +01:00
]); ?>
</div>
2021-11-10 09:58:11 +01:00
<div class="col2">
<?php echo template::button('themeAdmin', [
'ico' => 'brush',
'href' => helper::baseUrl() . $this->getUrl(0) . '/admin',
'value' => 'Administration'
2018-04-02 08:29:19 +02:00
]); ?>
2021-11-10 09:58:11 +01:00
2018-04-02 08:29:19 +02:00
</div>
2021-11-10 09:58:11 +01:00
<div class="col2">
<?php echo template::button('themeAdvanced', [
'ico' => 'code',
'href' => helper::baseUrl() . $this->getUrl(0) . '/advanced',
'value' => 'Éditeur CSS'
2021-11-10 08:03:31 +01:00
]); ?>
</div>
</div>
<?php endif; ?>