149 lines
4.0 KiB
PHP
149 lines
4.0 KiB
PHP
<?php
|
|
// Lexique
|
|
$text = [];
|
|
$val = $this->getData(['config', 'i18n', 'langAdmin']);
|
|
switch ($val) {
|
|
case 'fr' :
|
|
$text[0] = '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.';
|
|
$text[1] = 'Accueil';
|
|
$text[2] = 'Aide';
|
|
$text[3] = 'Zones cachées';
|
|
$text[4] = 'Gestion';
|
|
$text[5] = 'Administration';
|
|
$text[6] = 'Éditeur CSS';
|
|
$text[7] = 'Polices';
|
|
$text[8] = 'Cliquez sur une zone afin d\'accéder à ses options de personnalisation.';
|
|
break;
|
|
case 'en' :
|
|
$text[0] = 'Click on an area to access its customisation options. You can also display hidden areas using the button below';
|
|
$text[1] = 'Home';
|
|
$text[2] = 'Help';
|
|
$text[3] = 'Hidden areas';
|
|
$text[4] = 'Management';
|
|
$text[5] = 'Administration';
|
|
$text[6] = 'CSS Editor';
|
|
$text[7] = 'Fonts';
|
|
$text[8] = 'Click on a zone to access its customisation options';
|
|
break;
|
|
}
|
|
?>
|
|
<?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($text[0]); ?>
|
|
<div class="row">
|
|
<div class="col2 offset3">
|
|
<?php echo template::button('themeBack', [
|
|
'class' => 'buttonGrey',
|
|
'href' => helper::baseUrl(false),
|
|
'ico' => 'home',
|
|
'value' => $text[1]
|
|
]); ?>
|
|
</div>
|
|
<div class="col2">
|
|
<?php echo template::button('themeHelp', [
|
|
'href' => 'https://doc.deltacms.fr/theme-2',
|
|
'target' => '_blank',
|
|
'ico' => 'help',
|
|
'value' => $text[2],
|
|
'class' => 'buttonHelp'
|
|
]); ?>
|
|
</div>
|
|
<div class="col2">
|
|
<?php echo template::button('themeShowAll', [
|
|
'ico' => 'eye',
|
|
'value' => $text[3]
|
|
]); ?>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col2 offset3">
|
|
<?php echo template::button('themeManage', [
|
|
'ico' => 'cogs',
|
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/manage',
|
|
'value' => $text[4]
|
|
]); ?>
|
|
</div>
|
|
<div class="col2">
|
|
<?php echo template::button('themeAdmin', [
|
|
'ico' => 'brush',
|
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/admin',
|
|
'value' => $text[5]
|
|
]); ?>
|
|
|
|
</div>
|
|
<div class="col2">
|
|
<?php echo template::button('themeAdvanced', [
|
|
'ico' => 'code',
|
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/advanced',
|
|
'value' => $text[6]
|
|
]); ?>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col2 offset5">
|
|
<?php echo template::button('themeFonts', [
|
|
'ico' => 'pencil',
|
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/fonts',
|
|
'value' => $text[7]
|
|
]); ?>
|
|
</div>
|
|
</div>
|
|
<?php else: ?>
|
|
<?php echo template::speech($text[8]); ?>
|
|
<div class="row">
|
|
<div class="col2 offset4">
|
|
<?php echo template::button('themeBack', [
|
|
'class' => 'buttonGrey',
|
|
'href' => helper::baseUrl(false),
|
|
'ico' => 'home',
|
|
'value' => $text[1]
|
|
]); ?>
|
|
</div>
|
|
<div class="col2">
|
|
<?php echo template::button('themeHelp', [
|
|
'href' => 'https://doc.deltacms.fr/theme-2',
|
|
'target' => '_blank',
|
|
'ico' => 'help',
|
|
'value' => $text[2],
|
|
'class' => 'buttonHelp'
|
|
]); ?>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col2 offset3">
|
|
<?php echo template::button('themeManage', [
|
|
'ico' => 'cogs',
|
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/manage',
|
|
'value' => $text[4]
|
|
]); ?>
|
|
</div>
|
|
<div class="col2">
|
|
<?php echo template::button('themeAdmin', [
|
|
'ico' => 'brush',
|
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/admin',
|
|
'value' => $text[5]
|
|
]); ?>
|
|
|
|
</div>
|
|
<div class="col2">
|
|
<?php echo template::button('themeAdvanced', [
|
|
'ico' => 'code',
|
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/advanced',
|
|
'value' => $text[6]
|
|
]); ?>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col2 offset5">
|
|
<?php echo template::button('themeFonts', [
|
|
'ico' => 'pencil',
|
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/fonts',
|
|
'value' => $text[7]
|
|
]); ?>
|
|
</div>
|
|
</div>
|
|
<?php endif; ?>
|