diff --git a/admin/user_list.php b/admin/user_list.php
index bd83da85..fe064749 100644
--- a/admin/user_list.php
+++ b/admin/user_list.php
@@ -43,7 +43,6 @@
}
user_delete($uid);
message_push(happy(i18n('User deleted.')));
-
}
send_header("User Editor",
@@ -73,6 +72,28 @@ function toggleoptions()
document.getElementById('optionstext').innerHTML = '+ =i18n('Show Display Options')?>';
}
}
+
+function togglenew()
+{
+ if(document.getElementById('new').style.display == 'none') {
+ document.getElementById('new').style.display = 'block';
+ document.getElementById('newtext').innerHTML = '=i18n('Cancel New User')?>';
+
+ } else {
+ document.getElementById('new').style.display = 'none';
+ document.getElementById('newtext').innerHTML = '=i18n('Add New User')?>';
+ }
+}
+
+function neweditor()
+{
+ var username = document.forms.newuser.new_email.value;
+ var usertype = document.forms.newuser.new_type.value;
+ window.open("user_editor_window.php?type="+usertype+"&username="+username,"User Editor","location=no,menubar=no,directories=no,toolbar=no,width=770,height=500,scrollbars=yes");
+ document.forms.newuser.new_email.value = "";
+ return false;
+}
+
@@ -111,12 +132,35 @@ function toggleoptions()
echo "";
echo "";
echo "
";
- echo "";
+ echo "";
echo "";
echo "";
echo "";
+
+ echo "
".i18n('Add New User')."";
+ echo '