From fa2409c9fce69fd6ea4c09ba5dfe4749864359fa Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Thu, 24 Jan 2013 15:56:36 +0000 Subject: [PATCH] =?UTF-8?q?CSS=20du=20selecteur=20de=20r=C3=A9pertoire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Par default, selecteur hidden (ne déforme pas la page si elle met du temps à se charge) --- bureau/class/functions.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/bureau/class/functions.php b/bureau/class/functions.php index 7654d745..16bf1c43 100644 --- a/bureau/class/functions.php +++ b/bureau/class/functions.php @@ -592,16 +592,14 @@ function pager($offset,$count,$total,$url,$before="",$after="") { } function create_pass($length = 8){ - - $chars = "1234567890abcdefghijkmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; - $i = 0; + $chars = "1234567890abcdefghijkmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; + $i = 0; $password = ""; while ($i <= $length) { $password .= @$chars{mt_rand(0,strlen($chars))}; $i++; } return $password; - } define("DEFAULT_PASS_SIZE", 8); @@ -612,7 +610,7 @@ function display_div_generate_password($pass_size=DEFAULT_PASS_SIZE, $fields_to_ echo ""; - echo ""; + echo ""; return 0; } @@ -631,6 +629,7 @@ function display_browser($dir="", $caller="main.dir", $width=350, $height=450) { open: function() { $('.ui-widget-overlay').css('opacity', .70); + $('.ui-dialog-content').css('background-color', '#F0F0FA'); }, }); @@ -644,7 +643,7 @@ function display_browser($dir="", $caller="main.dir", $width=350, $height=450) { document.write(' '); - document.write('
'); + document.write('
'); document.write(' '); document.write('
'); // -->