From 8d180b8b3718572b5ae6046f5bc74d1c407ff02e Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Fri, 13 Dec 2019 19:38:33 +0000 Subject: [PATCH] wip #3270 @0.5 --- inc/commons/class.common.tools.php | 21 +++++++++++++++++++++ inc/ws/Controlleur/class.ws.url.php | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/inc/commons/class.common.tools.php b/inc/commons/class.common.tools.php index b73abc571..5fff8167d 100644 --- a/inc/commons/class.common.tools.php +++ b/inc/commons/class.common.tools.php @@ -871,6 +871,27 @@ class commonTools return $res; } + + public static function importFluidbookSettings(){ + commonDroits::min(5); + global $core; + $res = commonPage::barre(); + $res .= commonPage::tMain(); + $res .= commonPage::bh(); + $res .= '
'; + $res .= ''; + $res .= ''; + $res .= ''; + $res .= ''; + $res .= '
' . __("Importer un fichier de paramètres fluidbook") . '
Fichier Excel
' . $core->typo->BoutonOK(__('Importer')) . '
'; + $res .= '
'; + $res .= ''; + $res .= commonPage::bf(); + $res .= commonPage::bMain(); + return $res; + } + + protected static function searchGoogle($q, $cx, $key) { global $core; diff --git a/inc/ws/Controlleur/class.ws.url.php b/inc/ws/Controlleur/class.ws.url.php index 774b38939..57ff35370 100644 --- a/inc/ws/Controlleur/class.ws.url.php +++ b/inc/ws/Controlleur/class.ws.url.php @@ -2309,7 +2309,7 @@ html.tall{height:150%}' . "\n"; */ protected static function _readonlyStyle($style) { - $style->getFill()->setFillType(PHPExcel_Style_Fill::FILL_SOLID)->getStartColor()->setRGB('dddddd'); + $style->getFill()->setFillType(PHPExcel_Style_Fill::FILL_SOLID)->getStartColor()->setRGB('DDDDDD'); $style->getFont()->getColor()->setRGB('666666'); } } -- 2.39.5