2022-03-06 13:35:21 +01:00
< ? 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 ;
}
?>
2022-01-31 09:10:49 +01:00
< ? php if (
$this -> getData ([ 'theme' , 'header' , 'position' ]) === 'hide'
OR $this -> getData ([ 'theme' , 'menu' , 'position' ]) === 'hide'
OR $this -> getData ([ 'theme' , 'footer' , 'position' ]) === 'hide'
) : ?>
2022-03-06 13:35:21 +01:00
< ? php echo template :: speech ( $text [ 0 ]); ?>
2022-01-31 09:10:49 +01:00
< div class = " row " >
< div class = " col2 offset3 " >
< ? php echo template :: button ( 'themeBack' , [
'class' => 'buttonGrey' ,
'href' => helper :: baseUrl ( false ),
'ico' => 'home' ,
2022-03-06 13:35:21 +01:00
'value' => $text [ 1 ]
2022-01-31 09:10:49 +01:00
]); ?>
</ div >
< div class = " col2 " >
< ? php echo template :: button ( 'themeHelp' , [
'href' => 'https://doc.deltacms.fr/theme-2' ,
'target' => '_blank' ,
'ico' => 'help' ,
2022-03-06 13:35:21 +01:00
'value' => $text [ 2 ],
2022-01-31 09:10:49 +01:00
'class' => 'buttonHelp'
]); ?>
</ div >
< div class = " col2 " >
< ? php echo template :: button ( 'themeShowAll' , [
'ico' => 'eye' ,
2022-03-06 13:35:21 +01:00
'value' => $text [ 3 ]
2022-01-31 09:10:49 +01:00
]); ?>
</ div >
</ div >
< div class = " row " >
< div class = " col2 offset3 " >
< ? php echo template :: button ( 'themeManage' , [
'ico' => 'cogs' ,
'href' => helper :: baseUrl () . $this -> getUrl ( 0 ) . '/manage' ,
2022-03-06 13:35:21 +01:00
'value' => $text [ 4 ]
2022-01-31 09:10:49 +01:00
]); ?>
</ div >
< div class = " col2 " >
< ? php echo template :: button ( 'themeAdmin' , [
'ico' => 'brush' ,
'href' => helper :: baseUrl () . $this -> getUrl ( 0 ) . '/admin' ,
2022-03-06 13:35:21 +01:00
'value' => $text [ 5 ]
2022-01-31 09:10:49 +01:00
]); ?>
</ div >
< div class = " col2 " >
< ? php echo template :: button ( 'themeAdvanced' , [
'ico' => 'code' ,
'href' => helper :: baseUrl () . $this -> getUrl ( 0 ) . '/advanced' ,
2022-03-06 13:35:21 +01:00
'value' => $text [ 6 ]
2022-01-31 09:10:49 +01:00
]); ?>
</ div >
</ div >
2022-02-15 07:42:37 +01:00
< div class = " row " >
< div class = " col2 offset5 " >
< ? php echo template :: button ( 'themeFonts' , [
'ico' => 'pencil' ,
'href' => helper :: baseUrl () . $this -> getUrl ( 0 ) . '/fonts' ,
2022-03-06 13:35:21 +01:00
'value' => $text [ 7 ]
2022-02-15 07:42:37 +01:00
]); ?>
</ div >
</ div >
2022-01-31 09:10:49 +01:00
< ? php else : ?>
2022-03-06 13:35:21 +01:00
< ? php echo template :: speech ( $text [ 8 ]); ?>
2022-01-31 09:10:49 +01:00
< div class = " row " >
< div class = " col2 offset4 " >
< ? php echo template :: button ( 'themeBack' , [
'class' => 'buttonGrey' ,
'href' => helper :: baseUrl ( false ),
'ico' => 'home' ,
2022-03-06 13:35:21 +01:00
'value' => $text [ 1 ]
2022-01-31 09:10:49 +01:00
]); ?>
</ div >
< div class = " col2 " >
< ? php echo template :: button ( 'themeHelp' , [
'href' => 'https://doc.deltacms.fr/theme-2' ,
'target' => '_blank' ,
'ico' => 'help' ,
2022-03-06 13:35:21 +01:00
'value' => $text [ 2 ],
2022-01-31 09:10:49 +01:00
'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' ,
2022-03-06 13:35:21 +01:00
'value' => $text [ 4 ]
2022-01-31 09:10:49 +01:00
]); ?>
</ div >
< div class = " col2 " >
< ? php echo template :: button ( 'themeAdmin' , [
'ico' => 'brush' ,
'href' => helper :: baseUrl () . $this -> getUrl ( 0 ) . '/admin' ,
2022-03-06 13:35:21 +01:00
'value' => $text [ 5 ]
2022-01-31 09:10:49 +01:00
]); ?>
</ div >
< div class = " col2 " >
< ? php echo template :: button ( 'themeAdvanced' , [
'ico' => 'code' ,
'href' => helper :: baseUrl () . $this -> getUrl ( 0 ) . '/advanced' ,
2022-03-06 13:35:21 +01:00
'value' => $text [ 6 ]
2022-01-31 09:10:49 +01:00
]); ?>
</ div >
</ div >
2022-02-15 07:42:37 +01:00
< div class = " row " >
< div class = " col2 offset5 " >
< ? php echo template :: button ( 'themeFonts' , [
'ico' => 'pencil' ,
'href' => helper :: baseUrl () . $this -> getUrl ( 0 ) . '/fonts' ,
2022-03-06 13:35:21 +01:00
'value' => $text [ 7 ]
2022-02-15 07:42:37 +01:00
]); ?>
</ div >
</ div >
2022-01-31 09:10:49 +01:00
< ? php endif ; ?>