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('
'); // -->