2022-01-31 09:10:49 +01:00
< ? php
class init extends common {
public static $defaultData = [
'config' => [
'analyticsId' => '' ,
'autoBackup' => true ,
'autoUpdate' => true ,
'autoUpdateHtaccess' => false ,
'favicon' => 'favicon.ico' ,
'faviconDark' => 'faviconDark.ico' ,
'maintenance' => false ,
'cookieConsent' => true ,
'social' => [
'facebookId' => '' ,
'instagramId' => '' ,
'pinterestId' => '' ,
'twitterId' => '' ,
'youtubeId' => '' ,
'youtubeUserId' => '' ,
'githubId' => ''
],
'timezone' => 'Europe/Paris' ,
'proxyUrl' => '' ,
'proxyPort' => '' ,
'proxyType' => 'tcp://' ,
'smtp' => [
'enable' => false ,
],
2022-03-18 07:50:13 +01:00
'statislite' => [
'enable' => false ,
],
2022-01-31 09:10:49 +01:00
'seo' => [
'robots' => true
],
'connect' => [
'timeout' => 600 ,
'attempt' => 3 ,
'log' => false ,
'anonymousIp' => 2 ,
'captcha' => true ,
2022-11-05 09:31:32 +01:00
'captchaBot' => true
2022-01-31 09:10:49 +01:00
],
'i18n' => [
'enable' => true ,
'scriptGoogle' => false ,
'showCredits' => false ,
'autoDetect' => false ,
'admin' => false ,
2022-03-06 13:35:21 +01:00
'langAdmin' => 'fr' ,
'langBase' => 'fr' ,
2022-03-21 08:32:27 +01:00
'otherLangBase' => '' ,
2022-01-31 09:10:49 +01:00
'fr' => 'none' ,
'de' => 'none' ,
'en' => 'none' ,
'es' => 'none' ,
'it' => 'none' ,
'nl' => 'none' ,
2022-03-21 08:32:27 +01:00
'pt' => 'none' ,
'el' => 'none' ,
'da' => 'none' ,
'ga' => 'none' ,
'fi' => 'none' ,
2022-04-20 09:25:59 +02:00
'sv' => 'none' ,
'eu' => 'none' ,
'br' => 'none' ,
'ca' => 'none' ,
'co' => 'none'
2022-01-31 09:10:49 +01:00
]
],
'core' => [
2022-11-07 16:37:05 +01:00
'dataVersion' => 4401 ,
2022-01-31 09:10:49 +01:00
'lastBackup' => 0 ,
'lastClearTmp' => 0 ,
'lastAutoUpdate' => 0 ,
'updateAvailable' => false ,
'baseUrl' => ''
],
'locale' => [
'homePageId' => 'accueil' ,
'page302' => 'none' ,
'page403' => 'none' ,
'page404' => 'none' ,
'legalPageId' => 'none' ,
'searchPageId' => 'none' ,
'searchPageLabel' => 'Rechercher' ,
'sitemapPageLabel' => 'Plan du site' ,
'legalPageLabel' => 'Mentions légales' ,
'metaDescription' => 'DeltaCMS est un CMS sans base de données qui permet de créer et gérer facilement un site web sans aucune connaissance en programmation.' ,
2022-03-06 13:35:21 +01:00
'title' => 'DeltaCMS' ,
2022-11-05 09:31:32 +01:00
'captchaSimpleText' => 'Je ne suis pas un robot' ,
'captchaSimpleHelp' => 'Cochez cette case pour prouver que vous êtes humain' ,
2022-01-31 09:10:49 +01:00
'cookies' => [
'cookiesDeltaText' => 'Ce site utilise des cookies nécessaires à son fonctionnement, ils permettent de fluidifier son fonctionnement par exemple en mémorisant les données de connexion, la langue que vous avez choisie ou la validation de ce message.' ,
'cookiesExtText' => '' ,
'cookiesTitleText' => 'Gérer les cookies' ,
'cookiesLinkMlText' => 'Consulter les mentions légales' ,
'cookiesCheckboxExtText' => '' ,
'cookiesFooterText' => 'Cookies' ,
'cookiesButtonText' => 'J\'ai compris'
]
],
'page' => [
'accueil' => [
'typeMenu' => 'text' ,
'iconUrl' => '' ,
'disable' => false ,
'content' => 'accueil.html' ,
2022-03-06 13:35:21 +01:00
'hideTitle' => true ,
2022-01-31 09:10:49 +01:00
'homePageId' => true ,
'breadCrumb' => false ,
'metaDescription' => '' ,
'metaTitle' => '' ,
'moduleId' => '' ,
'modulePosition' => 'bottom' ,
'parentPageId' => '' ,
'position' => 1 ,
'group' => self :: GROUP_VISITOR ,
2022-11-15 18:20:17 +01:00
'groupEdit' => self :: GROUP_EDITOR ,
2022-01-31 09:10:49 +01:00
'targetBlank' => false ,
'title' => 'Accueil' ,
'shortTitle' => 'Accueil' ,
'block' => '12' ,
'barLeft' => '' ,
'barRight' => '' ,
'displayMenu' => 'none' ,
'hideMenuSide' => false ,
'hideMenuChildren' => false
]
],
'module' => [],
2022-02-15 07:42:37 +01:00
'fonts' => [
'liberation-sans' => [
'name' => 'Liberation Sans' ,
'type' => 'file' ,
'file' => 'liberationsans-rg.woff' ,
'link' => '' ,
'license' => 'SIL Open Font License'
],
'roboto' => [
'name' => 'Roboto' ,
'type' => 'file' ,
'file' => 'roboto-regular.woff' ,
'link' => '' ,
'license' => 'Apache 2.0'
],
'cooper-hewitt' => [
'name' => 'Cooper Hewitt' ,
'type' => 'file' ,
'file' => 'cooperhewitt-book.woff' ,
'link' => '' ,
'license' => 'SIL Open Font License'
],
'linux-biolinum' => [
'name' => 'Linux Biolinum' ,
'type' => 'file' ,
'file' => 'linbiolinum.woff' ,
'link' => '' ,
'license' => 'SIL Open Font License'
],
'now-regular' => [
'name' => 'Now Regular' ,
'type' => 'file' ,
'file' => 'now-regular.woff' ,
'link' => '' ,
'license' => 'SIL Open Font License'
],
'cousine' => [
'name' => 'Cousine' ,
'type' => 'file' ,
'file' => 'cousine-regular.woff' ,
'link' => '' ,
'license' => 'SIL Open Font License'
],
'montserrat' => [
'name' => 'Montserrat' ,
'type' => 'file' ,
'file' => 'montserrat-regular.woff' ,
'link' => '' ,
'license' => 'SIL Open Font License'
],
'trabajo' => [
'name' => 'Trabajo' ,
'type' => 'file' ,
'file' => 'trabajo.woff' ,
'link' => '' ,
'license' => 'SIL Open Font License'
],
'noto-serif-medium' => [
'name' => 'Noto Serif Medium' ,
'type' => 'file' ,
'file' => 'notoserif-medium.woff' ,
'link' => '' ,
'license' => 'SIL Open Font License'
],
'averia' => [
'name' => 'Averia' ,
'type' => 'file' ,
'file' => 'averia.woff' ,
'link' => '' ,
'license' => 'SIL Open Font License'
],
'space-text' => [
'name' => 'Space Text' ,
'type' => 'file' ,
'file' => 'spacetext-regular.woff' ,
'link' => '' ,
'license' => 'SIL Open Font License'
],
'avrile' => [
'name' => 'Avrile' ,
'type' => 'file' ,
'file' => 'avrilesansui-regular.woff' ,
'link' => '' ,
'license' => 'SIL Open Font License'
],
'comic-neue' => [
'name' => 'Comic Neue' ,
'type' => 'file' ,
'file' => 'comicneue-regular.woff' ,
'link' => '' ,
'license' => 'Open Font License'
],
'seanslab' => [
'name' => 'SeansLab' ,
'type' => 'file' ,
'file' => 'seanslab-wideregular.woff' ,
'link' => '' ,
'license' => ''
],
'lemon' => [
'name' => 'Lemon' ,
'type' => 'file' ,
'file' => 'lemon.woff' ,
'link' => '' ,
'license' => 'Open Font License'
],
'funtype' => [
'name' => 'Funtype' ,
'type' => 'file' ,
'file' => 'funtype.woff' ,
'link' => '' ,
'license' => 'OFL'
],
'remindsans' => [
'name' => 'RemindSans' ,
'type' => 'file' ,
'file' => 'remindsans-medium.woff' ,
'link' => '' ,
'license' => ''
],
'clayborn' => [
'name' => 'Clayborn' ,
'type' => 'file' ,
'file' => 'clayborn.woff' ,
'link' => '' ,
'license' => 'OFL'
],
'simply-sans-book' => [
'name' => 'Simply Sans Book' ,
'type' => 'file' ,
'file' => 'simplysans-book.woff' ,
'link' => '' ,
'license' => 'Open File License'
],
'heraclito' => [
'name' => 'Heraclito' ,
'type' => 'file' ,
'file' => 'heraclito-regular.woff' ,
'link' => '' ,
'license' => 'Open Font License'
],
'open-sauce-sans' => [
'name' => 'Open Sauce Sans' ,
'type' => 'file' ,
'file' => 'opensaucesans-regular.woff' ,
'link' => '' ,
'license' => 'Open Font Style'
]
],
2022-01-31 09:10:49 +01:00
'user' => [],
'theme' => [
'body' => [
'backgroundColor' => 'rgba(103, 127, 163, 1)' ,
'image' => '' ,
'imageAttachment' => 'scroll' ,
'imageRepeat' => 'no-repeat' ,
'imagePosition' => 'top center' ,
'imageSize' => 'auto' ,
'toTopbackgroundColor' => 'rgba(33, 34, 35, .8)' ,
'toTopColor' => 'rgba(255, 255, 255, 1)'
],
'footer' => [
'backgroundColor' => 'rgba(255, 255, 255, 1)' ,
2022-02-17 17:14:01 +01:00
'font' => 'roboto' ,
2022-02-15 07:42:37 +01:00
'fontSize' => '1em' ,
2022-01-31 09:10:49 +01:00
'fontWeight' => 'normal' ,
'height' => '5px' ,
'loginLink' => true ,
'margin' => true ,
'position' => 'site' ,
'textColor' => 'rgba(33, 34, 35, 1)' ,
'copyrightPosition' => 'right' ,
'copyrightAlign' => 'right' ,
'text' => '<p>Pied de page personnalisé</p>' ,
'textPosition' => 'left' ,
'textAlign' => 'left' ,
'textTransform' => 'none' ,
'socialsPosition' => 'center' ,
'socialsAlign' => 'center' ,
'displayVersion' => true ,
'displaySiteMap' => true ,
'displayCopyright' => false ,
2022-02-15 07:42:37 +01:00
'displayCookie' => true ,
2022-01-31 09:10:49 +01:00
'displayLegal' => false ,
'displaySearch' => false ,
'displayMemberBar' => false ,
'template' => '3'
],
'header' => [
'backgroundColor' => 'rgba(32, 59, 82, 1)' ,
2022-02-17 17:14:01 +01:00
'font' => 'liberation-sans' ,
2022-01-31 09:10:49 +01:00
'fontSize' => '2em' ,
'fontWeight' => 'normal' ,
'height' => '200px' ,
2022-10-10 09:10:39 +02:00
'heightSelect' => '200px' ,
2022-01-31 09:10:49 +01:00
'image' => 'theme/defaut/banniere_1500x200.jpg' ,
'imagePosition' => 'center center' ,
'imageRepeat' => 'no-repeat' ,
'margin' => false ,
'position' => 'site' ,
'textAlign' => 'center' ,
'textColor' => 'rgba(255, 255, 255, 1)' ,
'textHide' => false ,
'textTransform' => 'none' ,
'linkHomePage' => true ,
'imageContainer' => 'auto' ,
'tinyHidden' => true ,
'feature' => 'wallpaper' ,
'featureContent' => '<p>Bannière vide</p>' ,
2022-10-10 09:10:39 +02:00
'width' => 'container' ,
'homePageOnly' => false
2022-01-31 09:10:49 +01:00
],
'menu' => [
'backgroundColor' => 'rgba(32, 59, 82, 0.85)' ,
'backgroundColorSub' => 'rgba(32, 59, 82, 1)' ,
2022-02-17 17:14:01 +01:00
'font' => 'roboto' ,
2022-02-15 07:42:37 +01:00
'fontSize' => '1.1em' ,
2022-01-31 09:10:49 +01:00
'fontWeight' => 'normal' ,
'height' => '15px 10px' ,
'loginLink' => false ,
'margin' => false ,
'position' => 'top' ,
'textAlign' => 'left' ,
'textColor' => 'rgba(255, 255, 255, 1)' ,
'textTransform' => 'none' ,
'fixed' => true ,
'activeColorAuto' => true ,
'activeColor' => 'rgba(255, 255, 255, 1)' ,
'activeTextColor' => 'rgba(255, 255, 255, 1)' ,
'radius' => '0px' ,
'memberBar' => true ,
'burgerLogo' => '' ,
'burgerContent' => 'title' ,
2022-05-18 07:43:01 +02:00
'width' => 'container' ,
'burgerFontSize' => '1.5em' ,
2022-11-25 17:22:00 +01:00
'burgerTextColor' => '#DDD' ,
'minWidthTab' => '100px' ,
'minWidthParentOrAll' => false
2022-01-31 09:10:49 +01:00
],
'site' => [
'backgroundColor' => 'rgba(255, 255, 255, 1)' ,
'radius' => '0px' ,
'shadow' => '0px 0px 0px' ,
'width' => '100%'
],
'block' => [
'backgroundTitleColor' => 'rgba(230, 230, 230, 1)' ,
'backgroundColor' => 'rgba(241, 241, 241, 1)' ,
'borderColor' => 'rgba(230, 230, 230, 1)' ,
'blockBorderRadius' => '5px' ,
'blockBorderShadow' => '3px 3px 6px' ,
],
'text' => [
2022-02-17 17:14:01 +01:00
'font' => 'roboto' ,
2022-02-15 07:42:37 +01:00
'fontSize' => '15px' ,
2022-01-31 09:10:49 +01:00
'textColor' => 'rgba(33, 34, 35, 1)' ,
'linkColor' => 'rgba(74, 105, 189, 1)'
],
'title' => [
2022-02-17 17:14:01 +01:00
'font' => 'liberation-sans' ,
2022-01-31 09:10:49 +01:00
'fontWeight' => 'normal' ,
'textColor' => 'rgba(74, 105, 189, 1)' ,
'textTransform' => 'none'
],
'button' => [
'backgroundColor' => 'rgba(32, 59, 82, 1)'
],
2022-11-25 17:22:00 +01:00
'version' => 0 ,
'update' => false
2022-01-31 09:10:49 +01:00
],
'admin' => [
'backgroundColor' => 'rgba(255, 255, 255, 1)' ,
2022-02-17 17:14:01 +01:00
'fontText' => 'roboto' ,
2022-01-31 09:10:49 +01:00
'fontSize' => '13px' ,
2022-02-17 17:14:01 +01:00
'fontTitle' => 'liberation-sans' ,
2022-01-31 09:10:49 +01:00
'colorText' => 'rgba(33, 34, 35, 1)' ,
'colorTitle' => 'rgba(74, 105, 189, 1)' ,
'backgroundColorButton' => 'rgba(74, 105, 189, 1)' ,
'backgroundColorButtonGrey' => 'rgba(170, 180, 188, 1)' ,
'backgroundColorButtonRed' => 'rgba(217, 95, 78, 1)' ,
'backgroundColorButtonGreen' => 'rgba(162, 223, 57, 1)' ,
'backgroundColorButtonHelp' => 'rgba(255, 153, 0, 1)' ,
'backgroundBlockColor' => 'rgba(236, 239, 241, 1)' ,
2022-02-15 07:42:37 +01:00
'borderBlockColor' => 'rgba(190, 202, 209, 1)' ,
'maj' => true
2022-01-31 09:10:49 +01:00
],
'blacklist' => []
];
2022-06-04 07:02:41 +02:00
public static $siteData = [];
2022-01-31 09:10:49 +01:00
2022-06-04 07:02:41 +02:00
public static $siteContent = [];
2022-01-31 09:10:49 +01:00
}