summaryrefslogtreecommitdiffstats
path: root/frontends/php/users.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2004-05-09 10:32:51 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2004-05-09 10:32:51 +0000
commitb5b74d89f942b5e2f7861ee3fe2ec1cc1ed65ed6 (patch)
treeed7f05a774de72d4c2d99a8c3174c2f746b4d4cf /frontends/php/users.php
parentb83c0b90c424eed96b2f9739f5b550112fa0f6d1 (diff)
downloadzabbix-b5b74d89f942b5e2f7861ee3fe2ec1cc1ed65ed6.tar.gz
zabbix-b5b74d89f942b5e2f7861ee3fe2ec1cc1ed65ed6.tar.xz
zabbix-b5b74d89f942b5e2f7861ee3fe2ec1cc1ed65ed6.zip
- added support for configurable after-login screen (Alexei)
- added column users.url (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@1335 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/users.php')
-rw-r--r--frontends/php/users.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/frontends/php/users.php b/frontends/php/users.php
index a3e5134c..75381f89 100644
--- a/frontends/php/users.php
+++ b/frontends/php/users.php
@@ -23,6 +23,7 @@
$page["file"] = "users.php";
include "include/config.inc.php";
+ include "include/forms.inc.php";
show_header($page["title"],0,0);
insert_confirm_javascript();
?>
@@ -44,7 +45,7 @@
{
if($HTTP_GET_VARS["password1"]==$HTTP_GET_VARS["password2"])
{
- $result=add_user($HTTP_GET_VARS["name"],$HTTP_GET_VARS["surname"],$HTTP_GET_VARS["alias"],$HTTP_GET_VARS["password1"]);
+ $result=add_user($HTTP_GET_VARS["name"],$HTTP_GET_VARS["surname"],$HTTP_GET_VARS["alias"],$HTTP_GET_VARS["password1"],$HTTP_GET_VARS["url"]);
show_messages($result, "User added", "Cannot add user");
}
else
@@ -73,7 +74,7 @@
{
if($HTTP_GET_VARS["password1"]==$HTTP_GET_VARS["password2"])
{
- $result=update_user($HTTP_GET_VARS["userid"],$HTTP_GET_VARS["name"],$HTTP_GET_VARS["surname"],$HTTP_GET_VARS["alias"],$HTTP_GET_VARS["password1"]);
+ $result=update_user($HTTP_GET_VARS["userid"],$HTTP_GET_VARS["name"],$HTTP_GET_VARS["surname"],$HTTP_GET_VARS["alias"],$HTTP_GET_VARS["password1"],$HTTP_GET_VARS["url"]);
show_messages($result, "Information successfully updated", "Cannot update information");
}
else