defaultdata de la v11

This commit is contained in:
fredtempez 2021-04-05 09:00:29 +02:00
parent c2c67b55ff
commit 9630f093cd
1 changed files with 83 additions and 37 deletions

View File

@ -21,7 +21,6 @@ class init extends common {
'githubId' => '' 'githubId' => ''
], ],
'timezone' => 'Europe/Paris', 'timezone' => 'Europe/Paris',
'itemsperPage' => 10,
'proxyUrl' => '', 'proxyUrl' => '',
'proxyPort' => '', 'proxyPort' => '',
'proxyType' => 'tcp://', 'proxyType' => 'tcp://',
@ -34,9 +33,23 @@ class init extends common {
'log' => false, 'log' => false,
'captcha' => true 'captcha' => true
], ],
'translate' => [
'scriptGoogle' => false,
'showCredits' => false,
'autoDetect' => false,
'admin' => false,
'fr' => true,
'de' => true,
'en' => true,
'es' => false,
'it' => false,
'nl' => false,
'pt' => false
],
], ],
'core' => [ 'core' => [
'dataVersion' => 10400, 'dataVersion' => 11000,
'lastBackup' => 0, 'lastBackup' => 0,
'lastClearTmp' => 0, 'lastClearTmp' => 0,
'lastAutoUpdate' => 0, 'lastAutoUpdate' => 0,
@ -84,6 +97,19 @@ class init extends common {
], ],
'module' => [], 'module' => [],
'user' => [], 'user' => [],
'translate' => [
'scriptGoogle' => false,
'showCredits' => false,
'autoDetect' => false,
'admin' => false,
'fr' => 'none',
'de' => 'none',
'en' => 'none',
'es' => 'none',
'it' => 'none',
'nl' => 'none',
'pt' => 'none'
],
'theme' => [ 'theme' => [
'body' => [ 'body' => [
'backgroundColor' => 'rgba(236, 239, 241, 1)', 'backgroundColor' => 'rgba(236, 239, 241, 1)',
@ -724,44 +750,64 @@ class init extends common {
], ],
], ],
'galeries' => [ 'galeries' => [
'beaux-paysages' => [ 'content' => [
'config' => [ 'beaux-paysages' => [
'name' => 'Beaux paysages', 'config' => [
'directory' => self::FILE_DIR.'source/galerie/landscape', 'name' => 'Beaux paysages',
'homePicture' => 'iceberg.jpg', 'directory' => self::FILE_DIR.'source/galerie/landscape',
'sort' => 'SORT_ASC', 'homePicture' => 'iceberg.jpg',
'position' => 1 'sort' => 'SORT_ASC',
'position' => 1
],
'legend' => [
'desertjpg' => 'Un désert',
'icebergjpg' => 'Un iceberg',
'meadowjpg' => 'Une prairie'
],
'positions' => [
'desertjpg' => 3,
'icebergjpg' => 1,
'meadowjpg' => 2
]
], ],
'legend' => [ 'espace' => [
'desertjpg' => 'Un désert', 'config' => [
'icebergjpg' => 'Un iceberg', 'name' => 'Espace',
'meadowjpg' => 'Une prairie' 'directory' => self::FILE_DIR.'source/galerie/space',
'homePicture' => 'nebula.jpg',
'sort' => 'SORT_ASC',
'position' => 2
],
'legend' => [
'earthjpg' => 'La Terre et la Lune',
'cosmosjpg' => 'Le cosmos',
'nebulajpg' => 'Une nébuleuse'
],
'positions' => [
'earthjpg' => 1,
'cosmosjpg' => 3,
'nebulajpg' => 2
]
], ],
'positions' => [
'desertjpg' => 3,
'icebergjpg' => 1,
'meadowjpg' => 2
]
], ],
'espace' => [ 'config' => [
'config' => [ 'thumbAlign' => 'center',
'name' => 'Espace', 'thumbWidth' => '18em',
'directory' => self::FILE_DIR.'source/galerie/space', 'thumbHeight' => '15em',
'homePicture' => 'nebula.jpg', 'thumbMargin' => '.5em',
'sort' => 'SORT_ASC', 'thumbBorder' => '.1em',
'position' => 2 'thumbOpacity' => '.7',
], 'thumbBorderColor' => 'rgba(221, 221, 221, 1)',
'legend' => [ 'thumbRadius' => '.3em',
'earthjpg' => 'La Terre et la Lune', 'thumbShadows' => '1px 1px 10px',
'cosmosjpg' => 'Le cosmos', 'thumbShadowsColor'=> 'rgba(125, 125, 125, 1)',
'nebulajpg' => 'Une nébuleuse' 'legendHeight' => '.375em',
], 'legendAlign' => 'center',
'positions' => [ 'legendTextColor' => 'rgba(255, 255, 255, 1)',
'earthjpg' => 1, 'legendBgColor' => 'rgba(0, 0, 0, .6)',
'cosmosjpg' => 3, 'versionData' => '3.0',
'nebulajpg' => 2 'style' => 'site/data/modules/gallery/galeries.css'
] ],
]
], ],
'site-de-zwii' => [ 'site-de-zwii' => [
'url' => 'https://zwiicms.fr/', 'url' => 'https://zwiicms.fr/',