From: vincent@cubedesigners.com Date: Wed, 28 Jul 2021 13:05:06 +0000 (+0000) Subject: wait #4528 @1.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=3cce7f606a174cdd2bebf61c33e2dc834786d9f5;p=cubeextranet.git wait #4528 @1.5 --- diff --git a/inc/postconfig.inc.php b/inc/postconfig.inc.php index f91acf134..0828106d7 100644 --- a/inc/postconfig.inc.php +++ b/inc/postconfig.inc.php @@ -10,6 +10,7 @@ switch ($_SERVER['HTTP_HOST']) { $theme = 'studiofrance'; break; case 'ysl.workshop.fluidbook.com': + case 'statistics.ysl-retailhandbook.com': $theme = 'ysl'; break; default: diff --git a/inc/prepend.php b/inc/prepend.php index 1776fe2f0..8bd3c3288 100644 --- a/inc/prepend.php +++ b/inc/prepend.php @@ -51,14 +51,14 @@ if ($ws) { define('RAPPEL', __('Rappel des identifiants de connexion au Workshop Studio-France')); define('ASK_IDENT', __('Vous avez demandé la récupération de votre mot de passe sur le Workshop Studio-France')); }else if(THEME=='ysl'){ - define('TITLE', '[MAP|EMULSION] ✕ SAINT LAURENT - Workshop'); - define('FROM_EMAIL', 'saintlaurent@map-emulsion.com'); + define('TITLE', '[MAP|EMULSION] ✕ SAINT LAURENT - Statistics'); + define('FROM_EMAIL', 'ysl@map-emulsion.com'); define('FROM_NAME', '[MAP|EMULSION]'); - define('EMAIL_SUBJECT', '[MAP|EMULSION] Workshop'); - define('TEAM_EMAIL', 'saintlaurent@map-emulsion.com'); + define('EMAIL_SUBJECT', '[MAP|EMULSION] Statistics'); + define('TEAM_EMAIL', 'ysl@map-emulsion.com'); define('TEAM_NAME', __("[MAP|EMULSION] Team")); - define('RAPPEL', __('Rappel des identifiants de connexion au Workshop [MAP|EMULSION]')); - define('ASK_IDENT', __('Vous avez demandé la récupération de votre mot de passe sur le Workshop [MAP|EMULSION]')); + define('RAPPEL', __('Rappel des identifiants de connexion aux statistiques [MAP|EMULSION]')); + define('ASK_IDENT', __('Vous avez demandé la récupération de votre mot de passe pour les statistiques [MAP|EMULSION]')); } } elseif ($extranet) { define('MAIL_BCC', 'contact@cubedesigners.com'); diff --git a/inc/ws/Controlleur/class.ws.stats.php b/inc/ws/Controlleur/class.ws.stats.php index d26d899f0..616b0dde7 100644 --- a/inc/ws/Controlleur/class.ws.stats.php +++ b/inc/ws/Controlleur/class.ws.stats.php @@ -61,7 +61,7 @@ class wsStats self::$xls = new PHPExcel(); if (self::$xls->getSheetCount() < 2) { wsMaintenance::fixStats([$bid]); - }else { + } else { self::$xls->removeSheetByIndex(0); } @@ -780,7 +780,7 @@ class wsStats $url = substr($url, 0, 30) . '...'; } - $lines[] = array('' . $url . '', $nb); + $lines[] = array($url, $nb); $xlines[] = array($uurl, $nb); } diff --git a/style/ws/ysl.css b/style/ws/ysl.css index 7e495766e..8733fa42b 100644 --- a/style/ws/ysl.css +++ b/style/ws/ysl.css @@ -1,18 +1,18 @@ #header { background: #202020; } +#header a { + color: #fff; +} #logo { position: relative; top: 23px; left: 3px; } -a { - color: #fff; -} .onglet:hover, .onglet.active { background: #fff; - color: #7b7b7b; + color: #7b7b7b !important; } .onglet { background: #121212; diff --git a/style/ws/ysl.less b/style/ws/ysl.less index de8783337..0027da43e 100644 --- a/style/ws/ysl.less +++ b/style/ws/ysl.less @@ -1,20 +1,20 @@ #header { background: #202020; + a { + color: #fff + } } + #logo{ position: relative; top:23px; left:3px; } -a { - color: #fff -} - .onglet:hover, .onglet.active { background: #fff; - color: #7b7b7b; + color: #7b7b7b !important; } .onglet {