diff --git a/.gitattributes b/.gitattributes
index 0de85b38..a3bf168e 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -252,6 +252,7 @@ bureau/admin/images/passwordstrength.jpg -text
bureau/admin/images/plus.png -text
bureau/admin/images/pumpkin.png -text
bureau/admin/images/quota.png -text
+bureau/admin/images/refresh.png -text
bureau/admin/images/row-down.png -text
bureau/admin/images/row-down.png2 -text
bureau/admin/images/schedule.png -text
diff --git a/bureau/admin/ftp_add.php b/bureau/admin/ftp_add.php
index 6c31e891..a2da48be 100644
--- a/bureau/admin/ftp_add.php
+++ b/bureau/admin/ftp_add.php
@@ -66,14 +66,8 @@ if (isset($error) && $error) {
_
|
- |
-
- |
- | |
+ | |
+ | |
| |
" />
diff --git a/bureau/admin/images/refresh.png b/bureau/admin/images/refresh.png
new file mode 100644
index 00000000..fe97c4a0
Binary files /dev/null and b/bureau/admin/images/refresh.png differ
diff --git a/bureau/admin/js/alternc.js b/bureau/admin/js/alternc.js
index a50e77fb..ae68c374 100644
--- a/bureau/admin/js/alternc.js
+++ b/bureau/admin/js/alternc.js
@@ -209,3 +209,27 @@ function false_if_empty(id,err_msg) {
return false;
}
}
+
+function generate_password(len){
+ len = parseInt(len);
+ if(!len)
+ len = 8;
+ var password = "";
+ var chars = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
+ var charsN = chars.length;
+ var nextChar;
+
+ for(i=0; i ");
+
+
+}
+
+
diff --git a/bureau/class/functions.php b/bureau/class/functions.php
index 0f050209..32fc1759 100644
--- a/bureau/class/functions.php
+++ b/bureau/class/functions.php
@@ -600,6 +600,14 @@ function create_pass($length = 8){
}
+function display_div_generate_password($pass_size=8) {
+ $id=rand(1,1000);
+ echo "";
+ echo "";
+ return 0;
+}
?>
|