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

77 lines
2.3 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">
<div class="col2 offset1">
2018-04-02 08:29:19 +02:00
<?php echo template::button('themeBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl(false),
'ico' => 'home',
'value' => 'Accueil'
]); ?>
</div>
<div class="col2">
<?php echo template::button('themeAdvanced', [
'ico' => 'code',
'href' => helper::baseUrl() . $this->getUrl(0) . '/advanced',
'value' => 'Éditeur CSS'
]); ?>
</div>
2019-01-02 22:45:05 +01:00
<div class="col2">
2018-12-25 16:24:20 +01:00
<?php echo template::button('themeManage', [
2019-05-03 10:39:43 +02:00
'ico' => 'upload',
2018-12-25 16:24:20 +01:00
'href' => helper::baseUrl() . $this->getUrl(0) . '/manage',
'value' => 'Importer'
2018-12-25 16:24:20 +01:00
]); ?>
</div>
2019-01-02 22:45:05 +01:00
<div class="col2">
<?php echo template::button('themeAdmin', [
'ico' => 'pencil',
'href' => helper::baseUrl() . $this->getUrl(0) . '/admin',
'value' => 'Administration'
2018-04-02 08:29:19 +02:00
]); ?>
</div>
2019-01-02 22:45:05 +01:00
<div class="col2">
2018-04-02 08:29:19 +02:00
<?php echo template::button('themeShowAll', [
'ico' => 'eye',
'value' => 'Zones cachées'
]); ?>
</div>
</div>
<?php else: ?>
<?php echo template::speech('Cliquez sur une zone afin d\'accéder à ses options de personnalisation.'); ?>
<div class="row">
<div class="col2 offset2">
2018-04-02 08:29:19 +02:00
<?php echo template::button('themeBack', [
'class' => 'buttonGrey',
'href' => helper::baseUrl(false),
'ico' => 'home',
'value' => 'Accueil'
]); ?>
</div>
<div class="col2">
<?php echo template::button('themeAdmin', [
'ico' => 'pencil',
'href' => helper::baseUrl() . $this->getUrl(0) . '/admin',
'value' => 'Administration'
]); ?>
</div>
2019-01-02 22:45:05 +01:00
<div class="col2">
2018-12-25 16:24:20 +01:00
<?php echo template::button('themeManage', [
'href' => helper::baseUrl() . $this->getUrl(0) . '/manage',
2019-05-03 10:39:43 +02:00
'ico' => 'upload',
'value' => 'Importer'
2018-12-25 16:24:20 +01:00
]); ?>
</div>
2019-01-02 22:45:05 +01:00
<div class="col2">
2018-04-02 08:29:19 +02:00
<?php echo template::button('themeAdvanced', [
'href' => helper::baseUrl() . $this->getUrl(0) . '/advanced',
2019-01-22 14:36:13 +01:00
'value' => 'Éditeur CSS',
2018-04-02 08:29:19 +02:00
'ico' => 'code'
]); ?>
</div>
</div>
<?php endif; ?>