diff --git a/.htaccess b/.htaccess index 2ce745a5..7849ef3a 100755 --- a/.htaccess +++ b/.htaccess @@ -4,4 +4,25 @@ SetEnv SESSION_USE_TRANS_SID 0 # Bloque l'accès à la liste des fichiers Options -Indexes -# Attention, surtout ne rien modifier ci-dessous ! \ No newline at end of file +# Attention, surtout ne rien modifier ci-dessous ! + + RewriteEngine on + RewriteBase /ZwiiCMS-dev/ + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + RewriteRule ^(.*)$ index.php?$1 [L] + + + RewriteEngine on + RewriteBase /ZwiiCMS-dev/ + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + RewriteRule ^(.*)$ index.php?$1 [L] + + + RewriteEngine on + RewriteBase /ZwiiCMS-dev/ + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME} !-d + RewriteRule ^(.*)$ index.php?$1 [L] + \ No newline at end of file diff --git a/CHANGES.MD b/CHANGES.MD index e777eda2..dca812df 100644 --- a/CHANGES.MD +++ b/CHANGES.MD @@ -5,7 +5,7 @@ * Modifications : - Footer dans 3 blocs contenant dans l'ordre : Texte, Réseaux sociaux, Copyright - Pagination variable du nombres d'articles par page (news, blog et form) - - Position du module Galerie dans une page ; haut ; bas ou libre avec les doubles crochets insérés dans l'article [] (PeterRabbit) + - Position des modules Galerie et Form dans une page ; haut ; bas ou libre avec les doubles crochets insérés dans l'article [] (PeterRabbit) - Prise en compte des balises OpenGraph title , description et type * Correction : - Accès aux pages désactivées par le sitemap diff --git a/core/core.php b/core/core.php index 80e7e7d2..060fdc70 100644 --- a/core/core.php +++ b/core/core.php @@ -1984,12 +1984,19 @@ class layout extends common { } /** - * Affiche le type + * Affiche le meta type */ public function showMetaType() { echo ''; } + /** + * Affiche la meta image (site screenshot) + */ + public function showMetaImage() { + echo ''; + } + /** * Affiche la notification diff --git a/core/layout/blank.php b/core/layout/blank.php index 8ad4b2e0..63bfd4e1 100755 --- a/core/layout/blank.php +++ b/core/layout/blank.php @@ -7,6 +7,7 @@ showMetaTitle(); ?> showMetaDescription(); ?> showMetaType(); ?> + showMetaImage(); ?> showFavicon(); ?> showVendor(); ?> diff --git a/core/layout/light.php b/core/layout/light.php index 6bf5a3c6..b4ce9a88 100755 --- a/core/layout/light.php +++ b/core/layout/light.php @@ -7,6 +7,7 @@ showMetaTitle(); ?> showMetaDescription(); ?> showMetaType(); ?> + showMetaImage(); ?> showFavicon(); ?> showVendor(); ?> diff --git a/core/layout/main.php b/core/layout/main.php index 24bd914b..fd3cd7dc 100755 --- a/core/layout/main.php +++ b/core/layout/main.php @@ -6,7 +6,8 @@ showMetaTitle(); ?> showMetaDescription(); ?> - showMetaType(); ?> + showMetaType(); ?> + showMetaImage(); ?> showFavicon(); ?> showVendor(); ?> diff --git a/core/module/config/config.php b/core/module/config/config.php index bfa9afa8..b122e486 100755 --- a/core/module/config/config.php +++ b/core/module/config/config.php @@ -146,6 +146,7 @@ class config extends common { * Sauvegarde des données */ public function backup() { + // Creation du ZIP $fileName = date('Y-m-d-h-i-s', time()) . '.zip'; $zip = new ZipArchive(); @@ -166,6 +167,31 @@ class config extends common { ]); } + /** + * Réalise une copie d'écran + * https://www.codexworld.com/capture-screenshot-website-url-php-google-api/ + */ + public function metaimage() { + // fonction désactivée pour un site local + if ( strpos(helper::baseUrl(false),'localhost') === 0 OR strpos(helper::baseUrl(false),'127.0.0.1') === 0) + { + $googlePagespeedData = file_get_contents('https://www.googleapis.com/pagespeedonline/v2/runPagespeed?url='. helper::baseUrl(false) .'&screenshot=true&key=AIzaSyA_JOJidlWFgEiyxTlSGi2_fORgYsCZFtA'); + $googlePagespeedData = json_decode($googlePagespeedData, true); + $screenshot = $googlePagespeedData['screenshot']['data']; + $screenshot = str_replace(array('_','-'),array('/','+'),$screenshot); + $data = 'data:image/jpeg;base64,'.$screenshot; + $data = base64_decode(preg_replace('#^data:image/\w+;base64,#i', '', $data)); + file_put_contents( helper::baseUrl(false) . '/site/file/source/screenshot.png',$data); + + // Valeurs en sortie + $this->addOutput([ + 'notification' => 'Image tag réinitialisée', + 'redirect' => helper::baseUrl() . 'config', + 'state' => true + ]); + } + } + /** * Configuration */ diff --git a/core/module/config/view/index/index.php b/core/module/config/view/index/index.php index f3e11778..a292993b 100755 --- a/core/module/config/view/index/index.php +++ b/core/module/config/view/index/index.php @@ -16,6 +16,12 @@

Informations générales

+ + getData(['page']), 'title', 'SORT_ASC'), [ + 'label' => 'Page d\'accueil', + 'selected' => $this->getData(['config', 'homePageId']) + ]); ?> + 'Titre du site', 'value' => $this->getData(['config', 'title']) @@ -24,10 +30,19 @@ 'label' => 'Description du site', 'value' => $this->getData(['config', 'metaDescription']) ]); ?> - getData(['page']), 'title', 'SORT_ASC'), [ - 'label' => 'Page d\'accueil', - 'selected' => $this->getData(['config', 'homePageId']) - ]); ?> +
+
+ helper::baseUrl() . 'config/metaimage', + 'value' => 'Rafraîchir la capture
d\'écran du site' + ]); ?> +
+
+

' /> +

+
+ +

Options avancées

diff --git a/site/data/data.json b/site/data/data.json index 9016b045..86d8806e 100644 --- a/site/data/data.json +++ b/site/data/data.json @@ -1 +1 @@ -{"config":{"analyticsId":"","autoBackup":true,"maintenance":false,"cookieConsent":true,"favicon":"favicon.ico","homePageId":"accueil","metaDescription":"Zwii est un CMS sans base de donn\u00e9es qui permet \u00e0 ses utilisateurs de cr\u00e9er et g\u00e9rer facilement un site web sans aucune connaissance en programmation.","social":{"facebookId":"","googleplusId":"","instagramId":"","pinterestId":"","twitterId":"","youtubeId":""},"timezone":"Europe\/Paris","title":"Zwii, votre site en quelques clics !","ItemsperPage":"5"},"core":{"dataVersion":8314,"lastBackup":1540159200,"lastClearTmp":1540159200},"page":{"accueil":{"typeMenu":"text","iconUrl":"","disable":false,"content":"

Bienvenue sur votre nouveau site Zwii !<\/h3>\r\n

Un email contenant le r\u00e9capitulatif de votre installation vient de vous \u00eatre envoy\u00e9.<\/strong><\/p>\r\n

Connectez-vous d\u00e8s maintenant \u00e0 votre espace membre afin de cr\u00e9er un site \u00e0 votre image ! Vous allez pouvoir personnaliser le th\u00e8me, cr\u00e9er des pages, ajouter des utilisateurs et bien plus encore !<\/p>\r\n

Si vous avez besoin d'aide ou si vous cherchez des informations sur Zwii, n'h\u00e9sitez pas \u00e0 jeter un \u0153il \u00e0 notre forum<\/a>.<\/p>","hideTitle":false,"metaDescription":"","metaTitle":"","moduleId":"","parentPageId":"","position":1,"group":0,"targetBlank":false,"title":"Accueil"},"enfant":{"typeMenu":"text","iconUrl":"","disable":true,"content":"

Vous pouvez assigner des parents à vos pages afin de mieux organiser votre menu !<\/p>\r\n

\r\n
\r\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam interdum, neque non vulputate hendrerit, arcu turpis dapibus nisl, id scelerisque metus lectus vitae nisi. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Donec feugiat dolor et turpis finibus condimentum. Cras sit amet ligula sagittis justo.<\/p>\r\n<\/div>\r\n

\r\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam interdum, neque non vulputate hendrerit, arcu turpis dapibus nisl, id scelerisque metus lectus vitae nisi. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Donec feugiat dolor et turpis finibus condimentum. Cras sit amet ligula sagittis justo.<\/p>\r\n<\/div>\r\n

\r\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam interdum, neque non vulputate hendrerit, arcu turpis dapibus nisl, id scelerisque metus lectus vitae nisi. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Donec feugiat dolor et turpis finibus condimentum. Cras sit amet ligula sagittis justo.<\/p>\r\n<\/div>\r\n<\/div>","hideTitle":false,"metaDescription":"","metaTitle":"","moduleId":"","modulePosition":"","parentPageId":"accueil","position":1,"group":0,"targetBlank":false,"title":"Enfant"},"cachee":{"typeMenu":"text","iconUrl":"","disable":true,"content":"

Cette page n'est visible que par les membres de votre site !<\/p>\r\n

\r\n
\r\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam interdum, neque non vulputate hendrerit, arcu turpis dapibus nisl, id scelerisque metus lectus vitae nisi. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Donec feugiat dolor et turpis finibus condimentum. Cras sit amet ligula sagittis justo.<\/p>\r\n<\/div>\r\n

\r\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam interdum, neque non vulputate hendrerit, arcu turpis dapibus nisl, id scelerisque metus lectus vitae nisi. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Donec feugiat dolor et turpis finibus condimentum. Cras sit amet ligula sagittis justo.<\/p>\r\n<\/div>\r\nr<\/div>","hideTitle":false,"metaDescription":"","metaTitle":"","moduleId":"","modulePosition":"","parentPageId":"","position":2,"group":1,"targetBlank":false,"title":"Cach\u00e9e"},"blog":{"typeMenu":"text","iconUrl":"","disable":false,"content":"

Cette page contient une instance du module de blog. Cliquez sur un article afin de le lire et de poster des commentaires.<\/p>","hideTitle":false,"metaDescription":"","metaTitle":"","moduleId":"blog","modulePosition":"","parentPageId":"","position":3,"group":0,"targetBlank":false,"title":"Blog"},"galeries":{"typeMenu":"text","iconUrl":"","disable":true,"content":"

Cette page contient une instance du module de galeries photos. [] Cliquez sur la galerie ci-dessous afin de voir les photos qu'elle contient.<\/p>","hideTitle":false,"metaDescription":"","metaTitle":"","moduleId":"gallery","modulePosition":"bottom","parentPageId":"","position":4,"group":0,"targetBlank":false,"title":"Galeries"},"site-de-zwii":{"typeMenu":"text","iconUrl":"","disable":false,"content":"","hideTitle":false,"metaDescription":"","metaTitle":"","moduleId":"redirection","parentPageId":"","position":5,"group":0,"targetBlank":true,"title":"Site de Zwii"},"contact":{"typeMenu":"text","iconUrl":"","disable":false,"content":"

Cette page contient un exemple de formulaire con\u00e7u \u00e0 partir du module de g\u00e9n\u00e9ration de formulaires. Il est configur\u00e9 pour envoyer les donn\u00e9es saisies par mail aux administrateurs du site.<\/p>","hideTitle":false,"metaDescription":"","metaTitle":"","moduleId":"form","parentPageId":"","position":6,"group":0,"targetBlank":false,"title":"Contact"},"nouvelle-page":{"typeMenu":"text","iconUrl":"","disable":false,"content":"Contenu de votre nouvelle page.","hideTitle":false,"metaDescription":"","metaTitle":"","moduleId":"","parentPageId":"","modulePosition":"bottom","position":0,"group":0,"targetBlank":false,"title":"Nouvelle page"},"nouvelle-page-3":{"typeMenu":"text","iconUrl":"","disable":false,"content":"

Contenu de votre nouvelle page.<\/p>","hideTitle":false,"metaDescription":"","metaTitle":"","moduleId":"news","modulePosition":"","parentPageId":"","position":0,"group":0,"targetBlank":false,"title":"Nouvelle page"},"nouvelle-page-2":{"typeMenu":"text","iconUrl":"","disable":false,"content":"Contenu de votre nouvelle page.","hideTitle":false,"metaDescription":"","metaTitle":"","moduleId":"","parentPageId":"","modulePosition":"bottom","position":0,"group":0,"targetBlank":false,"title":"Nouvelle page"}},"module":{"galeries":{"beaux-paysages":{"config":{"name":"Beaux paysages","directory":"site\/file\/source\/galerie\/landscape"},"legend":{"desert.jpg":"Un d\u00e9sert","iceberg.jpg":"Un iceberg","meadow.jpg":"Une prairie"}},"espace":{"config":{"name":"Espace","directory":"site\/file\/source\/galerie\/space"},"legend":{"earth.jpg":"La Terre et la Lune","cosmos.jpg":"Le cosmos","nebula.jpg":"Une n\u00e9buleuse"}}},"site-de-zwii":{"url":"http:\/\/zwiicms.com\/","count":1},"contact":{"config":{"button":"","capcha":true,"group":3,"pageId":"","subject":""},"data":[],"input":[{"name":"Adresse mail","position":1,"required":true,"type":"mail","values":""},{"name":"Sujet","position":2,"required":true,"type":"text","values":""},{"name":"Message","position":3,"required":true,"type":"textarea","values":""}]},"blog":{"sdfsdf":{"closeComment":false,"comment":[],"content":"

sdfsdfsd<\/p>","picture":"banniere_ticnet.png","publishedOn":1540235984,"state":true,"title":"sdfsdf","userId":"test"}}},"user":{"test":{"firstname":"test","forgot":0,"group":3,"lastname":"test","mail":"test@gmail.com","password":"$2y$10$nQaKLRbc.9wntPJA2uFs5.UmUe4FZftN4yX\/W36KqgyzCepd3RUEi"}},"theme":{"body":{"backgroundColor":"rgba(236, 239, 241, 1)","image":"","imageAttachment":"scroll","imageRepeat":"no-repeat","imagePosition":"top center","imageSize":"auto"},"button":{"backgroundColor":"rgba(74, 105, 189, 1)"},"footer":{"backgroundColor":"rgba(255, 255, 255, 1)","copyrightAlign":"center","height":"10px","loginLink":"1","margin":false,"position":"site","socialsAlign":"center","text":"","textAlign":"center","textColor":"rgba(33, 34, 35, 1)","copyrightPosition":"center","textPosition":"hide","socialsPosition":"hide"},"header":{"backgroundColor":"rgba(255, 255, 255, 1)","font":"Oswald","fontSize":"2em","fontWeight":"normal","height":"150px","image":"","imagePosition":"center center","imageRepeat":"no-repeat","margin":false,"position":"site","textAlign":"center","textColor":"rgba(33, 34, 35, 1)","textHide":false,"textTransform":"none","linkHome":false,"imageContainer":"auto"},"link":{"textColor":"rgba(74, 105, 189, 1)"},"menu":{"backgroundColor":"rgba(74, 105, 189, 1)","fontSize":"1em","fontWeight":"normal","height":"15px 10px","loginLink":true,"margin":false,"position":"site-second","textAlign":"left","textColor":"rgba(255, 255, 255, 1)","textTransform":"none"},"site":{"backgroundColor":"rgba(255, 255, 255, 1)","radius":"0","shadow":"0","width":"1170px"},"text":{"font":"Open+Sans","fontSize":"14px","textColor":"rgba(33, 34, 35, 1)"},"title":{"font":"Oswald","fontWeight":"normal","textColor":"rgba(74, 105, 189, 1)","textTransform":"none"}}} \ No newline at end of file +{"config":{"analyticsId":"","autoBackup":true,"maintenance":false,"cookieConsent":true,"favicon":"favicon.ico","homePageId":"accueil","metaDescription":"Zwii est un CMS sans base de donn\u00e9es qui permet \u00e0 ses utilisateurs de cr\u00e9er et g\u00e9rer facilement un site web sans aucune connaissance en programmation.","social":{"facebookId":"","googleplusId":"","instagramId":"","pinterestId":"","twitterId":"","youtubeId":""},"timezone":"Europe\/Paris","title":"Zwii, votre site en quelques clics !","ItemsperPage":"5"},"core":{"dataVersion":8314,"lastBackup":1540332000,"lastClearTmp":1540332000},"page":{"accueil":{"typeMenu":"text","iconUrl":"","disable":false,"content":"

Bienvenue sur votre nouveau site Zwii !<\/h3>\r\n

Un email contenant le r\u00e9capitulatif de votre installation vient de vous \u00eatre envoy\u00e9.<\/strong><\/p>\r\n

Connectez-vous d\u00e8s maintenant \u00e0 votre espace membre afin de cr\u00e9er un site \u00e0 votre image ! Vous allez pouvoir personnaliser le th\u00e8me, cr\u00e9er des pages, ajouter des utilisateurs et bien plus encore !<\/p>\r\n

Si vous avez besoin d'aide ou si vous cherchez des informations sur Zwii, n'h\u00e9sitez pas \u00e0 jeter un \u0153il \u00e0 notre forum<\/a>.<\/p>","hideTitle":false,"metaDescription":"","metaTitle":"","moduleId":"","parentPageId":"","position":1,"group":0,"targetBlank":false,"title":"Accueil"},"enfant":{"typeMenu":"text","iconUrl":"","disable":true,"content":"

Vous pouvez assigner des parents à vos pages afin de mieux organiser votre menu !<\/p>\r\n

\r\n
\r\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam interdum, neque non vulputate hendrerit, arcu turpis dapibus nisl, id scelerisque metus lectus vitae nisi. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Donec feugiat dolor et turpis finibus condimentum. Cras sit amet ligula sagittis justo.<\/p>\r\n<\/div>\r\n

\r\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam interdum, neque non vulputate hendrerit, arcu turpis dapibus nisl, id scelerisque metus lectus vitae nisi. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Donec feugiat dolor et turpis finibus condimentum. Cras sit amet ligula sagittis justo.<\/p>\r\n<\/div>\r\n

\r\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam interdum, neque non vulputate hendrerit, arcu turpis dapibus nisl, id scelerisque metus lectus vitae nisi. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Donec feugiat dolor et turpis finibus condimentum. Cras sit amet ligula sagittis justo.<\/p>\r\n<\/div>\r\n<\/div>","hideTitle":false,"metaDescription":"","metaTitle":"","moduleId":"","modulePosition":"","parentPageId":"accueil","position":1,"group":0,"targetBlank":false,"title":"Enfant"},"cachee":{"typeMenu":"text","iconUrl":"","disable":true,"content":"

Cette page n'est visible que par les membres de votre site !<\/p>\r\n

\r\n
\r\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam interdum, neque non vulputate hendrerit, arcu turpis dapibus nisl, id scelerisque metus lectus vitae nisi. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Donec feugiat dolor et turpis finibus condimentum. Cras sit amet ligula sagittis justo.<\/p>\r\n<\/div>\r\n

\r\n

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam interdum, neque non vulputate hendrerit, arcu turpis dapibus nisl, id scelerisque metus lectus vitae nisi. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Donec feugiat dolor et turpis finibus condimentum. Cras sit amet ligula sagittis justo.<\/p>\r\n<\/div>\r\nr<\/div>","hideTitle":false,"metaDescription":"","metaTitle":"","moduleId":"","modulePosition":"","parentPageId":"","position":2,"group":1,"targetBlank":false,"title":"Cach\u00e9e"},"blog":{"typeMenu":"text","iconUrl":"","disable":false,"content":"

Cette page contient une instance du module de blog. Cliquez sur un article afin de le lire et de poster des commentaires.<\/p>","hideTitle":false,"metaDescription":"","metaTitle":"","moduleId":"blog","modulePosition":"","parentPageId":"","position":3,"group":0,"targetBlank":false,"title":"Blog"},"galeries":{"typeMenu":"text","iconUrl":"","disable":true,"content":"

Cette page contient une instance du module de galeries photos. [] Cliquez sur la galerie ci-dessous afin de voir les photos qu'elle contient.<\/p>","hideTitle":false,"metaDescription":"","metaTitle":"","moduleId":"gallery","modulePosition":"bottom","parentPageId":"","position":4,"group":0,"targetBlank":false,"title":"Galeries"},"site-de-zwii":{"typeMenu":"text","iconUrl":"","disable":false,"content":"","hideTitle":false,"metaDescription":"","metaTitle":"","moduleId":"redirection","parentPageId":"","position":5,"group":0,"targetBlank":true,"title":"Site de Zwii"},"contact":{"typeMenu":"text","iconUrl":"","disable":false,"content":"

Cette page contient un exemple de formulaire con\u00e7u \u00e0 partir du module de g\u00e9n\u00e9ration de formulaires. Il est configur\u00e9 pour envoyer les donn\u00e9es saisies par mail aux administrateurs du site.<\/p>","hideTitle":false,"metaDescription":"","metaTitle":"","moduleId":"form","parentPageId":"","position":6,"group":0,"targetBlank":false,"title":"Contact"},"nouvelle-page":{"typeMenu":"text","iconUrl":"","disable":false,"content":"Contenu de votre nouvelle page.","hideTitle":false,"metaDescription":"","metaTitle":"","moduleId":"","parentPageId":"","modulePosition":"bottom","position":0,"group":0,"targetBlank":false,"title":"Nouvelle page"},"nouvelle-page-3":{"typeMenu":"text","iconUrl":"","disable":false,"content":"

Contenu de votre nouvelle page.<\/p>","hideTitle":false,"metaDescription":"","metaTitle":"","moduleId":"news","modulePosition":"","parentPageId":"","position":0,"group":0,"targetBlank":false,"title":"Nouvelle page"},"nouvelle-page-2":{"typeMenu":"text","iconUrl":"","disable":false,"content":"Contenu de votre nouvelle page.","hideTitle":false,"metaDescription":"","metaTitle":"","moduleId":"","parentPageId":"","modulePosition":"bottom","position":0,"group":0,"targetBlank":false,"title":"Nouvelle page"}},"module":{"galeries":{"beaux-paysages":{"config":{"name":"Beaux paysages","directory":"site\/file\/source\/galerie\/landscape"},"legend":{"desert.jpg":"Un d\u00e9sert","iceberg.jpg":"Un iceberg","meadow.jpg":"Une prairie"}},"espace":{"config":{"name":"Espace","directory":"site\/file\/source\/galerie\/space"},"legend":{"earth.jpg":"La Terre et la Lune","cosmos.jpg":"Le cosmos","nebula.jpg":"Une n\u00e9buleuse"}}},"site-de-zwii":{"url":"http:\/\/zwiicms.com\/","count":1},"contact":{"config":{"button":"","capcha":true,"group":3,"pageId":"","subject":""},"data":[],"input":[{"name":"Adresse mail","position":1,"required":true,"type":"mail","values":""},{"name":"Sujet","position":2,"required":true,"type":"text","values":""},{"name":"Message","position":3,"required":true,"type":"textarea","values":""}]},"blog":{"sdfsdf":{"closeComment":false,"comment":[],"content":"

sdfsdfsd<\/p>","picture":"banniere_ticnet.png","publishedOn":1540235984,"state":true,"title":"sdfsdf","userId":"test"}}},"user":{"test":{"firstname":"test","forgot":0,"group":3,"lastname":"test","mail":"test@gmail.com","password":"$2y$10$nQaKLRbc.9wntPJA2uFs5.UmUe4FZftN4yX\/W36KqgyzCepd3RUEi"}},"theme":{"body":{"backgroundColor":"rgba(25, 58, 81, 1)","image":"","imageAttachment":"scroll","imagePosition":"top center","imageRepeat":"no-repeat","imageSize":"auto"},"button":{"backgroundColor":"rgba(74, 105, 189, 1)"},"footer":{"backgroundColor":"rgba(255, 255, 255, 1)","copyrightAlign":"center","height":"10px","loginLink":"1","margin":false,"position":"site","socialsAlign":"center","text":"","textAlign":"center","textColor":"rgba(33, 34, 35, 1)","copyrightPosition":"center","textPosition":"hide","socialsPosition":"hide"},"header":{"backgroundColor":"rgba(255, 255, 255, 1)","font":"Oswald","fontSize":"2em","fontWeight":"normal","height":"150px","image":"","imagePosition":"center center","imageRepeat":"no-repeat","margin":false,"position":"site","textAlign":"center","textColor":"rgba(33, 34, 35, 1)","textHide":false,"textTransform":"none","linkHome":false,"imageContainer":"auto"},"link":{"textColor":"rgba(74, 105, 189, 1)"},"menu":{"backgroundColor":"rgba(74, 105, 189, 1)","fontSize":"1em","fontWeight":"normal","height":"15px 10px","loginLink":true,"margin":false,"position":"site-second","textAlign":"left","textColor":"rgba(255, 255, 255, 1)","textTransform":"none"},"site":{"backgroundColor":"rgba(255, 255, 255, 1)","radius":"0","shadow":"0","width":"1170px"},"text":{"font":"Open+Sans","fontSize":"14px","textColor":"rgba(33, 34, 35, 1)"},"title":{"font":"Oswald","fontWeight":"normal","textColor":"rgba(74, 105, 189, 1)","textTransform":"none"}}} \ No newline at end of file diff --git a/site/data/theme.css b/site/data/theme.css index 321c0de4..709d8e81 100755 --- a/site/data/theme.css +++ b/site/data/theme.css @@ -1 +1 @@ -/*e44d0419e3c5edabe35ea9374ea4638f*/@import url("https://fonts.googleapis.com/css?family=Open+Sans|Oswald|Oswald");body{background-color:rgba(236,239,241,1);font-family:"Open Sans",sans-serif}a{color:rgba(74,105,189,1)}a:hover{color:rgba(59,90,174,1)}body,.row > div{font-size:14px}body,.block h4,input[type='email'],input[type='text'],input[type='password'],.inputFile,select,textarea,.inputFile,.button.buttonGrey,.button.buttonGrey:hover{color:rgba(33, 34, 35, 1)}.container{max-width:1170px}#site{background-color:rgba(255, 255, 255, 1);border-radius:0;box-shadow:0 #212223}.speechBubble,.button,.button:hover,button[type='submit'],.pagination a,.pagination a:hover,input[type='checkbox']:checked + label:before,input[type='radio']:checked + label:before,.helpContent{background-color:rgba(74,105,189,1);color:white}.helpButton span{color:rgba(74,105,189,1)}input[type='text']:hover,input[type='password']:hover,.inputFile:hover,select:hover,textarea:hover{border-color:rgba(74,105,189,1)}.speechBubble:before{border-color:rgba(74,105,189,1) transparent transparent transparent}.button:hover,button[type='submit']:hover,.pagination a:hover,input[type='checkbox']:not(:active):checked:hover + label:before,input[type='checkbox']:active + label:before,input[type='radio']:checked:hover + label:before,input[type='radio']:not(:checked):active + label:before{background-color:rgba(59,90,174,1)}.helpButton span:hover{color:rgba(59,90,174,1)}.button:active,button[type='submit']:active,.pagination a:active{background-color:rgba(54,85,169,1)}h1,h2,h3,h4,h5,h6{color:rgba(74,105,189,1);font-family:"Oswald",sans-serif;font-weight:normal;text-transform:none}header{background-size:auto}header{background-color:rgba(255,255,255,1);height:150px;line-height:150px;text-align:center}@media (max-width: 767px) {header{height:75px;line-height:75px;}}header span{color:rgba(33,34,35,1);font-family:"Oswald",sans-serif;font-weight:normal;font-size:2em;text-transform:none}nav,nav a{background-color:rgba(74,105,189,1)}nav a,#toggle span,nav a:hover{color:rgba(255, 255, 255, 1)}nav a:hover{background-color:rgba(59,90,174,1)}nav a.active{background-color:rgba(54,85,169,1)}#menu{text-align:left}#toggle span,#menu a{padding:15px 10px;font-weight:normal;font-size:1em;text-transform:none}footer{background-color:rgba(255,255,255,1);color:rgba(33, 34, 35, 1)}footer a{color:rgba(33, 34, 35, 1)}footer .container > div{margin:10px 0}#footerSocials{text-align:center}#footerText{text-align:center}#footerCopyright{text-align:center} \ No newline at end of file +/*eb112aa9a53e26e991af5d7ef6788311*/@import url("https://fonts.googleapis.com/css?family=Open+Sans|Oswald|Oswald");body{background-color:rgba(25,58,81,1);font-family:"Open Sans",sans-serif}a{color:rgba(74,105,189,1)}a:hover{color:rgba(59,90,174,1)}body,.row > div{font-size:14px}body,.block h4,input[type='email'],input[type='text'],input[type='password'],.inputFile,select,textarea,.inputFile,.button.buttonGrey,.button.buttonGrey:hover{color:rgba(33, 34, 35, 1)}.container{max-width:1170px}#site{background-color:rgba(255, 255, 255, 1);border-radius:0;box-shadow:0 #212223}.speechBubble,.button,.button:hover,button[type='submit'],.pagination a,.pagination a:hover,input[type='checkbox']:checked + label:before,input[type='radio']:checked + label:before,.helpContent{background-color:rgba(74,105,189,1);color:white}.helpButton span{color:rgba(74,105,189,1)}input[type='text']:hover,input[type='password']:hover,.inputFile:hover,select:hover,textarea:hover{border-color:rgba(74,105,189,1)}.speechBubble:before{border-color:rgba(74,105,189,1) transparent transparent transparent}.button:hover,button[type='submit']:hover,.pagination a:hover,input[type='checkbox']:not(:active):checked:hover + label:before,input[type='checkbox']:active + label:before,input[type='radio']:checked:hover + label:before,input[type='radio']:not(:checked):active + label:before{background-color:rgba(59,90,174,1)}.helpButton span:hover{color:rgba(59,90,174,1)}.button:active,button[type='submit']:active,.pagination a:active{background-color:rgba(54,85,169,1)}h1,h2,h3,h4,h5,h6{color:rgba(74,105,189,1);font-family:"Oswald",sans-serif;font-weight:normal;text-transform:none}header{background-size:auto}header{background-color:rgba(255,255,255,1);height:150px;line-height:150px;text-align:center}@media (max-width: 767px) {header{height:75px;line-height:75px;}}header span{color:rgba(33,34,35,1);font-family:"Oswald",sans-serif;font-weight:normal;font-size:2em;text-transform:none}nav,nav a{background-color:rgba(74,105,189,1)}nav a,#toggle span,nav a:hover{color:rgba(255, 255, 255, 1)}nav a:hover{background-color:rgba(59,90,174,1)}nav a.active{background-color:rgba(54,85,169,1)}#menu{text-align:left}#toggle span,#menu a{padding:15px 10px;font-weight:normal;font-size:1em;text-transform:none}footer{background-color:rgba(255,255,255,1);color:rgba(33, 34, 35, 1)}footer a{color:rgba(33, 34, 35, 1)}footer .container > div{margin:10px 0}#footerSocials{text-align:center}#footerText{text-align:center}#footerCopyright{text-align:center} \ No newline at end of file