]> _ Git - cubeextranet.git/commitdiff
wip #3270 @0.5
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 13 Dec 2019 19:38:33 +0000 (19:38 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 13 Dec 2019 19:38:33 +0000 (19:38 +0000)
inc/commons/class.common.tools.php
inc/ws/Controlleur/class.ws.url.php

index b73abc5710d097b2e642c3a7ae668188f64a1aa7..5fff8167d89c70a405e00289a0ab1d4e692ce962 100644 (file)
@@ -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 .= '<form id="importFluidbookSettings" action="importFluidbookSettings" method="post" enctype="multipart/form-data">';
+        $res .= '<table class="liste">';
+        $res .= '<tr><th><strong>' . __("Importer un fichier de paramètres fluidbook") . '</strong></th></tr>';
+        $res .= '<tr><td>Fichier Excel</td><td><input type="file" name="file" accept=".xlsx,.csv" /></td></tr>';
+        $res .= '<tr><td class="right" colspan="2"><a href="#" class="submit">' . $core->typo->BoutonOK(__('Importer')) . '</a></td></td>';
+        $res .= '</table>';
+        $res .= '</form>';
+        $res .= '</div>';
+        $res .= commonPage::bf();
+        $res .= commonPage::bMain();
+        return $res;
+    }
+
+
     protected static function searchGoogle($q, $cx, $key)
     {
         global $core;
index 774b38939af5028d3f08205c8784572ec05a24a3..57ff353705d4032aecc0a6ecbc2cb087510024cc 100644 (file)
@@ -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');
     }
 }