forked from ZwiiCMS-Team/ZwiiCMS
fic url bouton + libellé et options de page par défaut
This commit is contained in:
parent
ad275ec629
commit
f26ca90a91
@ -11,7 +11,7 @@ class init extends common {
|
|||||||
'faviconDark' => 'faviconDark.ico',
|
'faviconDark' => 'faviconDark.ico',
|
||||||
'homePageId' => 'accueil',
|
'homePageId' => 'accueil',
|
||||||
'page302' => 'erreur302',
|
'page302' => 'erreur302',
|
||||||
'page403' => 'erreur403',
|
'page403' => 'erreur403',
|
||||||
'page404' => 'erreur404',
|
'page404' => 'erreur404',
|
||||||
'maintenance' => false,
|
'maintenance' => false,
|
||||||
'social' => [
|
'social' => [
|
||||||
@ -549,25 +549,27 @@ class init extends common {
|
|||||||
'typeMenu' => 'text',
|
'typeMenu' => 'text',
|
||||||
'iconUrl' => '',
|
'iconUrl' => '',
|
||||||
'disable' => false,
|
'disable' => false,
|
||||||
'content' => '<h1 id=\"sectionTitle\">Maintenance en cours...<\/h1>\r\n<p>Notre site est actuellement en maintenance. Nous sommes désolés pour la gêne occasionnée et faisons notre possible pour être rapidement de retour.<\/p>\r\n<div class=\"row\">\r\n<div class=\"col4 offset8 textAlignCenter\"><a href=\"\/10.300\/user\/login\" id=\"maintenanceLogin\" name=\"maintenanceLogin\" class=\"button \"><span class=\"zwiico-lock zwiico-margin-right\" style=\"font-size: 1em;\"><\/span>Administration<\/a><\/div>\r\n<\/div>\r\n<p><\/p>',
|
'content' => '<p>Notre site est actuellement en maintenance. Nous sommes désolés pour la gêne occasionnée et faisons notre possible pour être rapidement de retour.</p>
|
||||||
|
<div class="row"><div class="col4 offset8 textAlignCenter"><a href="/?user/login" id="maintenanceLogin" name="maintenanceLogin" class="button"><span class="zwiico-lock zwiico-margin-right" style="font-size => 1em;"></span>Administration</a></div></div>',
|
||||||
'hideTitle' => false,
|
'hideTitle' => false,
|
||||||
'breadCrumb' => false,
|
'breadCrumb' => false,
|
||||||
'metaDescription' => '',
|
'metaDescription' => '',
|
||||||
'metaTitle' => '',
|
'metaTitle' => '',
|
||||||
'moduleId' => '',
|
'moduleId' => '',
|
||||||
'modulePosition' => 'bottom',
|
'modulePosition' => '',
|
||||||
'parentPageId' => '',
|
'parentPageId' => '',
|
||||||
'position' => 0,
|
'position' => 0,
|
||||||
'group' => self::GROUP_VISITOR,
|
'group' => self::GROUP_VISITOR,
|
||||||
'targetBlank' => false,
|
'targetBlank' => false,
|
||||||
'title' => 'Erreur 302',
|
'title' => 'Maintenance en cours',
|
||||||
'block' => '12',
|
'block' => '12',
|
||||||
'barLeft' => '',
|
'barLeft' => '',
|
||||||
'barRight' => '',
|
'barRight' => '',
|
||||||
'displayMenu' => 'none',
|
'displayMenu' => 'none',
|
||||||
'hideMenuSide' => false,
|
'hideMenuSide' => true,
|
||||||
'hideMenuChildren' =>false
|
'hideMenuHead' => true,
|
||||||
],
|
'hideMenuChildren' => true
|
||||||
|
],
|
||||||
'erreur403' => [
|
'erreur403' => [
|
||||||
'typeMenu' => 'text',
|
'typeMenu' => 'text',
|
||||||
'iconUrl' => '',
|
'iconUrl' => '',
|
||||||
@ -589,7 +591,7 @@ class init extends common {
|
|||||||
'barRight' => '',
|
'barRight' => '',
|
||||||
'displayMenu' => 'none',
|
'displayMenu' => 'none',
|
||||||
'hideMenuSide' => false,
|
'hideMenuSide' => false,
|
||||||
'hideMenuChildren' =>false
|
'hideMenuChildren' => false
|
||||||
],
|
],
|
||||||
'erreur404' => [
|
'erreur404' => [
|
||||||
'typeMenu' => 'text',
|
'typeMenu' => 'text',
|
||||||
@ -635,7 +637,7 @@ class init extends common {
|
|||||||
'barRight' => '',
|
'barRight' => '',
|
||||||
'displayMenu' => 'none',
|
'displayMenu' => 'none',
|
||||||
'hideMenuSide' => false,
|
'hideMenuSide' => false,
|
||||||
'hideMenuChildren' =>false
|
'hideMenuChildren' => false
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'module' => [
|
'module' => [
|
||||||
|
@ -28,7 +28,7 @@ class maintenance extends common {
|
|||||||
$this->addOutput([
|
$this->addOutput([
|
||||||
'display' => self::DISPLAY_LAYOUT_LIGHT,
|
'display' => self::DISPLAY_LAYOUT_LIGHT,
|
||||||
'title' => $this->getData(['page',$this->getData(['config','page302']),'title']),
|
'title' => $this->getData(['page',$this->getData(['config','page302']),'title']),
|
||||||
'content' => $this->getdata(['page',$this->getData(['config','page302']),'content']) . '<div class="col4 offset8 textAlignCenter"><a href="http://localhost/ZwiiCMS/?user/login" id="maintenanceLogin" name="maintenanceLogin" class="button"><span class="zwiico-lock zwiico-margin-right" style="font-size:1em"><!----></span>Connexion</a></div>',
|
'content' => $this->getdata(['page',$this->getData(['config','page302']),'content']),
|
||||||
'view' => 'index'
|
'view' => 'index'
|
||||||
]);
|
]);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user