From 9999599c4b495ccd173da8de4a56bac80fc0fc6f Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Mon, 24 Nov 2014 14:43:27 +0000 Subject: [PATCH] --- .htaccess | 12 ++------ .../views/scripts/common/footer.phtml | 28 ++++++++++++++---- less/footer.less | 29 ++++++++++++++++++- 3 files changed, 52 insertions(+), 17 deletions(-) diff --git a/.htaccess b/.htaccess index 4715571..3f58494 100644 --- a/.htaccess +++ b/.htaccess @@ -9,22 +9,14 @@ php_flag magic_quotes_sybase off -# Specific OVH Environnement variables - - SetEnv PHP_VER 5_4 - SetEnv ZEND_OPTIMIZER 1 - SetEnv REGISTER_GLOBALS 0 - SetEnv MAGIC_QUOTES 0 - SetEnv SESSION_USE_TRANS_SID 0 - - # Rewrite for Zend Framework Options +FollowSymlinks RewriteEngine on RewriteBase / # Redirection to www. subdomain - RewriteCond %{HTTP_HOST} ^cubedesigners.fr$ + RewriteCond %{HTTP_HOST} !=www.cubedesigners.fr + RewriteCond %{HTTP_HOST} !=www.cubedesigners.com RewriteRule ^(.*)$ http://www.cubedesigners.fr/$1 [R=301,L] # Redirect auth header to env RewriteRule ^.*$ - [E=REMOTE_USER:%{HTTP:Authorization}] diff --git a/framework/application/views/scripts/common/footer.phtml b/framework/application/views/scripts/common/footer.phtml index d0532a8..29ec12f 100644 --- a/framework/application/views/scripts/common/footer.phtml +++ b/framework/application/views/scripts/common/footer.phtml @@ -39,13 +39,29 @@ if (!is_null($mentions_page)) { diff --git a/less/footer.less b/less/footer.less index 23c8211..06e2d1c 100644 --- a/less/footer.less +++ b/less/footer.less @@ -124,9 +124,36 @@ background-color: #191919; height: 30px; color: #6c6c6c; - text-align: center; + text-align: left; font-size: 12px; line-height: 30px; + padding:8px 0; + + .copyright{ + display:inline-block; + float:left; + } + + .locales{ + float:right; + a{ + display:inline-block; + line-height: 30px; + text-transform: uppercase; + height:30px; + width:30px; + border-radius: 30px; + background-color:#282828; + color:#616161; + text-align:center; + margin:0 0 0 10px; + + &.active,&:hover{ + background-color:#3885e0; + color:#fff; + } + } + } } } -- 2.39.5