diff --git a/core/users/app_languages.php b/core/users/app_languages.php new file mode 100644 index 0000000000..1819fcc402 --- /dev/null +++ b/core/users/app_languages.php @@ -0,0 +1,83 @@ + \ No newline at end of file diff --git a/core/users/group_permissions.php b/core/users/group_permissions.php index e14545fcb5..9a305637c9 100644 --- a/core/users/group_permissions.php +++ b/core/users/group_permissions.php @@ -33,7 +33,16 @@ else { echo "access denied"; exit; } + +//add multi-lingual support + require_once "app_languages.php"; + foreach($text as $key => $value) { + $text[$key] = $value[$_SESSION['domain']['language']['code']]; + } + require_once "includes/header.php"; +$page["title"] = $text['title-group_permissions']; + require_once "includes/paging.php"; //get the list of installed apps from the core and mod directories @@ -84,7 +93,7 @@ require_once "includes/paging.php"; //get the http values and set them as php variables $group_name = $_REQUEST['group_name']; - + //get the permissions assigned to this group $sql = ""; $sql .= " select * from v_group_permissions "; @@ -139,7 +148,7 @@ require_once "includes/paging.php"; //echo "
";
 			//print_r($permissions_form_checklist);
 			//echo "
"; - + //list all the permissions foreach($apps as $app) { foreach ($app['permissions'] as $row) { @@ -192,21 +201,20 @@ require_once "includes/paging.php"; echo "\n"; echo "\n"; echo " "; echo " "; diff --git a/core/users/groups.php b/core/users/groups.php index 0f5ac96c10..3286aaa002 100644 --- a/core/users/groups.php +++ b/core/users/groups.php @@ -27,17 +27,24 @@ include "root.php"; require_once "includes/require.php"; //check the permissions - require_once "includes/checkauth.php"; - if (if_group("admin") || if_group("superadmin")) { - //access allowed - } - else { - echo "access denied"; - return; +require_once "includes/checkauth.php"; +if (if_group("admin") || if_group("superadmin")) { + //access allowed +} +else { + echo "access denied"; + return; +} + +//add multi-lingual support + require_once "app_languages.php"; + foreach($text as $key => $value) { + $text[$key] = $value[$_SESSION['domain']['language']['code']]; } //show the header require_once "includes/header.php"; + $page["title"] = $text['title-group_manager']; //show the content echo "
\n"; @@ -45,10 +52,10 @@ require_once "includes/require.php"; echo "
\n"; - echo "
"; echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
Group Permissions for $group_name".$text['header-group_permissions'].$group_name."\n"; if (permission_exists('group_edit')) { - echo " "; + echo " "; } - echo " "; + echo " "; echo "
\n"; - echo " Assign permissions to groups.

\n"; + echo " ".$text['description-group_permissions']."

\n"; echo "
\n"; @@ -228,8 +236,8 @@ require_once "includes/paging.php"; echo "".$description."

"; echo "\n"; echo "\n"; - echo "\n"; - echo "\n"; + echo "\n"; + echo "\n"; echo "\n"; foreach ($app['permissions'] as $row) { @@ -249,10 +257,10 @@ require_once "includes/paging.php"; echo "\n"; if ($c==0) { $c=1; } else { $c=0; } } - + echo "\n"; echo " \n"; echo "\n"; echo "
PermissionsDescription".$text['label-permission_permissions']."".$text['label-permission_description']."
\n"; - echo " \n"; + echo " \n"; echo "
"; @@ -270,8 +278,6 @@ require_once "includes/paging.php"; echo ""; echo "
\n"; - echo "

"; - //show the footer require_once "includes/footer.php"; diff --git a/core/users/groupadd.php b/core/users/groupadd.php index f9ab5d6dca..f3de39d2b2 100644 --- a/core/users/groupadd.php +++ b/core/users/groupadd.php @@ -34,6 +34,12 @@ else { return; } +//add multi-lingual support + require_once "app_languages.php"; + foreach($text as $key => $value) { + $text[$key] = $value[$_SESSION['domain']['language']['code']]; + } + //get the http values and set them as variables $path = check_str($_GET["path"]); $msg = check_str($_GET["msg"]); @@ -68,7 +74,7 @@ if (strlen($group_name) > 0) { require_once "includes/header.php"; echo "\n"; echo "
\n"; - echo "Group Added\n"; + echo $text['message-add']."\n"; echo "
\n"; require_once "includes/footer.php"; return; @@ -76,18 +82,20 @@ if (strlen($group_name) > 0) { //include the header include "includes/header.php"; + $page["title"] = $text['title-group_add']; //show the content - echo "

"; echo "
"; echo "\n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo "
\n"; - echo " Please choose a group name. "; + echo " ".$text['header-group_add']."\n"; + echo "

\n"; + echo " ".$text['description-group_add']."\n"; echo "
\n"; - echo " "; + echo " "; echo "
\n"; @@ -97,7 +105,7 @@ if (strlen($group_name) > 0) { echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
\n"; - echo "Group Name:\n"; + echo $text['label-group_name'].":\n"; echo "\n"; echo " \n"; @@ -106,7 +114,7 @@ if (strlen($group_name) > 0) { echo "
\n"; - echo "Description:\n"; + echo $text['label-group_description'].":\n"; echo "\n"; echo "\n"; @@ -118,7 +126,7 @@ if (strlen($group_name) > 0) { echo "\n"; echo " \n"; - echo " \n"; + echo " \n"; echo "
\n"; diff --git a/core/users/groupmembers.php b/core/users/groupmembers.php index 1ec4f2c7b8..c33d6e1e80 100644 --- a/core/users/groupmembers.php +++ b/core/users/groupmembers.php @@ -40,6 +40,12 @@ else { return; } +//add multi-lingual support + require_once "app_languages.php"; + foreach($text as $key => $value) { + $text[$key] = $value[$_SESSION['domain']['language']['code']]; + } + //get the http value and set as a variable $group_name = $_GET["group_name"]; @@ -58,6 +64,7 @@ else { //include the header require_once "includes/header.php"; + $page["title"] = $text['title-group_members']; //show the content $c = 0; @@ -65,16 +72,14 @@ else { $row_style["1"] = "row_style1"; echo "
\n"; - echo ""; - echo ""; - echo "
\n"; - echo "\n"; echo "\n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; @@ -89,7 +94,7 @@ else { $strlist = "
\n"; - echo " Member list for $group_name"; + echo " ".$text['header-group_members'].$group_name.""; echo " \n"; - echo " "; + echo " "; echo "    \n"; echo "
\n"; $strlist .= "\n"; - $strlist .= " \n"; + $strlist .= " \n"; $strlist .= " \n"; $strlist .= " \n"; $strlist .= "\n"; $strlist .= "\n"; @@ -119,9 +124,6 @@ else { $strlist .= "
  Username     ".$text['label-username']."       \n"; $strlist .= "  \n"; @@ -107,7 +112,7 @@ else { $strlist .= "   \n"; if (permission_exists('group_member_delete')) { - $strlist .= " $v_link_label_delete\n"; + $strlist .= " $v_link_label_delete\n"; } $strlist .= "
\n"; echo $strlist; - echo "
"; echo "
"; echo "
"; @@ -152,7 +154,7 @@ else { echo "
"; if (permission_exists('group_member_add')) { echo " "; - echo " "; + echo " "; } echo "
"; echo ""; - echo ""; + echo ""; echo "\n"; echo "
Groups".$text['header-group_manager']."

"; if (permission_exists('user_view')) { - echo " "; + echo " "; } echo "
"; @@ -64,13 +71,13 @@ require_once "includes/require.php"; $strlist = "\n"; $strlist .= "\n"; - $strlist .= " \n"; - $strlist .= " \n"; + $strlist .= " \n"; + $strlist .= " \n"; $strlist .= " \n"; $strlist .= " \n"; $strlist .= "\n"; @@ -91,19 +98,19 @@ require_once "includes/require.php"; else { $strlist .= ""; $strlist .= "\n"; - $strlist .= "\n"; + $strlist .= "\n"; $strlist .= "\n"; $strlist .= "\n"; $strlist .= "\n"; @@ -115,7 +122,7 @@ require_once "includes/require.php"; $strlist .= "\n"; $strlist .= "\n"; $strlist .= "\n"; diff --git a/core/users/index.php b/core/users/index.php index b4fb355ab6..23da4fa095 100644 --- a/core/users/index.php +++ b/core/users/index.php @@ -34,8 +34,15 @@ else { return; } +//add multi-lingual support + require_once "app_languages.php"; + foreach($text as $key => $value) { + $text[$key] = $value[$_SESSION['domain']['language']['code']]; + } + //include the header require_once "includes/header.php"; + $page["title"] = $text['title-user_manager']; //show the user list echo "
"; diff --git a/core/users/permissions_default.php b/core/users/permissions_default.php index efd55a68fe..3279841090 100644 --- a/core/users/permissions_default.php +++ b/core/users/permissions_default.php @@ -34,6 +34,12 @@ else { return; } +//add multi-lingual support + require_once "app_languages.php"; + foreach($text as $key => $value) { + $text[$key] = $value[$_SESSION['domain']['language']['code']]; + } + //permission restore default require_once "core/users/resources/classes/permission.php"; $permission = new permission; @@ -44,7 +50,7 @@ else { require_once "includes/header.php"; echo "\n"; echo "
\n"; - echo "Restore Complete\n"; + echo $text['message-restore']."\n"; echo "
\n"; require_once "includes/footer.php"; return; diff --git a/core/users/signup.php b/core/users/signup.php index f0d0148eaa..c1f2cbb066 100644 --- a/core/users/signup.php +++ b/core/users/signup.php @@ -35,6 +35,12 @@ else { return; } +//add multi-lingual support + require_once "app_languages.php"; + foreach($text as $key => $value) { + $text[$key] = $value[$_SESSION['domain']['language']['code']]; + } + $username = check_str($_POST["username"]); $password = check_str($_POST["password"]); $confirmpassword = check_str($_POST["confirmpassword"]); @@ -59,7 +65,7 @@ if (count($_POST)>0 && check_str($_POST["persistform"]) != "1") { //username is already used. if (strlen($username) == 0) { - $msgerror .= "Please provide a Username.
\n"; + $msgerror .= $text['message-required'].$text['label-username']."
\n"; } else { $sql = "SELECT * FROM v_users "; @@ -73,12 +79,12 @@ if (count($_POST)>0 && check_str($_POST["persistform"]) != "1") { } } - if (strlen($password) == 0) { $msgerror .= "Password cannot be blank.
\n"; } - if ($password != $confirmpassword) { $msgerror .= "Passwords did not match.
\n"; } - //if (strlen($contact_organization) == 0) { $msgerror .= "Please provide a organization name.
\n"; } - //if (strlen($contact_name_given) == 0) { $msgerror .= "Please provide a first name.
\n"; } - //if (strlen($contact_name_family) == 0) { $msgerror .= "Please provide a last name $user_last_name.
\n"; } - if (strlen($user_email) == 0) { $msgerror .= "Please provide an email.
\n"; } + if (strlen($password) == 0) { $msgerror .= $text['message-password_blank']."
\n"; } + if ($password != $confirmpassword) { $msgerror .= $text['message-password_mismatch']."
\n"; } + //if (strlen($contact_organization) == 0) { $msgerror .= $text['message-required'].$text['label-company_name']."
\n"; } + //if (strlen($contact_name_given) == 0) { $msgerror .= $text['message-required'].$text['label-first_name']."
\n"; } + //if (strlen($contact_name_family) == 0) { $msgerror .= $text['message-required'].$text['label-last_name']."
\n"; } + if (strlen($user_email) == 0) { $msgerror .= $text['message-required'].$text['label-email']."
\n"; } if (strlen($msgerror) > 0) { require_once "includes/header.php"; @@ -178,20 +184,17 @@ if (count($_POST)>0 && check_str($_POST["persistform"]) != "1") { require_once "includes/header.php"; echo "\n"; - echo "
Add Complete
"; + echo "
".$text['message-add']."
"; require_once "includes/footer.php"; return; } //show the header require_once "includes/header.php"; + $page["title"] = $text['title-user_add']; //show the content echo "
"; - echo "
  Group Name     Group Description     ".$text['label-group_name']."     ".$text['label-group_description']."    \n"; if (permission_exists('group_add')) { - $strlist .= " $v_link_label_add\n"; + $strlist .= " $v_link_label_add\n"; } $strlist .= "
  $group_name     $group_description     $group_description   \n"; if (permission_exists('group_add') || if_group("superadmin")) { - $strlist .= " Permissions  "; + $strlist .= " ".$text['label-group_permissions']."  "; } if (permission_exists('group_member_view') || if_group("superadmin")) { - $strlist .= " Members "; + $strlist .= " ".$text['label-group_members']." "; } $strlist .= "\n"; - $strlist .= "$v_link_label_delete\n"; + $strlist .= "$v_link_label_delete\n"; $strlist .= "
\n"; if (permission_exists('group_add')) { - $strlist .= " $v_link_label_add\n"; + $strlist .= " $v_link_label_add\n"; } $strlist .= "
\n"; - echo "\n"; - echo " "; - echo " "; - echo "
\n"; - echo "
"; $tablewidth ='width="100%"'; echo ""; @@ -200,42 +203,44 @@ if (count($_POST)>0 && check_str($_POST["persistform"]) != "1") { echo ""; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo "
\n"; - echo " To add a user, please fill out this form completely. All fields are required.
"; + echo " ".$text['header-user_add']."\n"; + echo "

\n"; + echo " ".$text['description-user_add']."\n"; echo "
\n"; - echo " \n"; + echo " \n"; echo "
\n"; echo ""; echo " "; - echo " "; + echo " "; echo " "; echo " "; echo " "; - echo " "; + echo " "; echo " "; echo " "; echo " "; - echo " "; + echo " "; echo " "; echo " "; echo " "; - echo " "; + echo " "; echo " "; echo " "; echo " "; - echo " "; + echo " "; echo " "; echo " "; echo " "; - echo " "; + echo " "; echo " "; echo " "; echo " "; - echo " "; + echo " "; echo " "; echo " "; echo "
Username:".$text['label-username'].":
Password:".$text['label-password'].":
Confirm Password:".$text['label-confirm_password'].":
Email:".$text['label-email'].":
First Name:".$text['label-first_name'].":
Last Name:".$text['label-last_name'].":
Company Name:".$text['label-company_name'].":
"; @@ -245,15 +250,12 @@ if (count($_POST)>0 && check_str($_POST["persistform"]) != "1") { echo ""; echo " "; echo " "; echo " "; echo "
"; - echo " "; + echo " "; echo "
"; echo ""; - echo "
"; echo ""; //show the footer diff --git a/core/users/userlist.php b/core/users/userlist.php index 90c2f64607..a8b15bd914 100644 --- a/core/users/userlist.php +++ b/core/users/userlist.php @@ -33,6 +33,7 @@ else { echo "access denied"; exit; } + //require_once "includes/header.php"; require_once "includes/paging.php"; @@ -50,35 +51,28 @@ echo "
\n"; echo "\n"; echo ""; echo "\n"; - echo "\n"; - echo ""; + echo "\n"; + echo ""; echo "\n"; echo ""; echo ""; - echo ""; - //echo "  \n"; + echo ""; echo "\n"; echo ""; echo "\n"; echo "\n"; @@ -99,17 +93,17 @@ echo "
User ManagerSearch by: ".$text['header-user_manager']."".$text['label-search_by'].": \n"; echo " \n"; echo " 
\n"; - echo "Add, edit, delete, and search for users. \n"; + echo $text['description-user_manager']."\n"; echo "
\n"; echo "
\n"; echo "
\n"; $rows_per_page = 200; $param = ""; $page = $_GET['page']; - if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; } - list($paging_controls, $rows_per_page, $var_3) = paging($num_rows, $param, $rows_per_page); - $offset = $rows_per_page * $page; + if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; } + list($paging_controls, $rows_per_page, $var_3) = paging($num_rows, $param, $rows_per_page); + $offset = $rows_per_page * $page; $sql = "select * from v_users "; $sql .= "where domain_uuid = '".$_SESSION['domain_uuid']."' "; if (strlen($field_name) > 0 && strlen($field_value) > 0) { $sql .= "and $field_name like '%$field_value%' "; } - if (strlen($order_by)> 0) { - $sql .= "order by $order_by $order "; + if (strlen($order_by)> 0) { + $sql .= "order by $order_by $order "; } else { $sql .= "order by username "; @@ -131,13 +125,11 @@ echo " \n"; echo "\n"; echo "\n"; - echo th_order_by('username', 'Username', $order_by, $order); - //echo th_order_by('user_email', 'Email', $order_by, $order); - //echo th_order_by('user_template_name', 'Template', $order_by, $order); - echo "\n"; + echo th_order_by('username', $text['label-username'], $order_by, $order); + echo "\n"; echo "\n"; echo "\n"; @@ -146,14 +138,20 @@ echo " \n"; echo " \n"; - //echo " \n"; - echo " \n"; + echo " \n"; echo " \n"; echo "\n"; @@ -170,7 +168,7 @@ echo " \n"; echo " \n"; echo " \n"; diff --git a/core/users/usersupdate.php b/core/users/usersupdate.php index d972b7002c..b8cc637ca5 100644 --- a/core/users/usersupdate.php +++ b/core/users/usersupdate.php @@ -27,7 +27,7 @@ include "root.php"; require_once "includes/require.php"; require_once "includes/checkauth.php"; if (permission_exists("user_add") || - permission_exists("user_edit") || + permission_exists("user_edit") || permission_exists("user_delete") || if_group("superadmin")) { //access allowed @@ -37,6 +37,12 @@ else { return; } +//add multi-lingual support + require_once "app_languages.php"; + foreach($text as $key => $value) { + $text[$key] = $value[$_SESSION['domain']['language']['code']]; + } + //get data from the db if (strlen($_REQUEST["id"])> 0) { $user_uuid = $_REQUEST["id"]; @@ -64,7 +70,7 @@ else { //required to be a superadmin to update an account that is a member of the superadmin group $superadmin_list = superadmin_list($db); if (if_superadmin($superadmin_list, $_SESSION['user_uuid'])) { - if (!if_group("superadmin")) { + if (!if_group("superadmin")) { echo "access denied"; return; } @@ -83,7 +89,7 @@ else { //redirect the user require_once "includes/header.php"; echo "\n"; - echo "
Update Complete
"; + echo "
".$text['message-update']."
"; require_once "includes/footer.php"; return; } @@ -121,12 +127,10 @@ if (count($_POST)>0 && $_POST["persistform"] != "1") { $group_member = check_str($_POST["group_member"]); $user_enabled = check_str($_POST["user_enabled"]); - //if (strlen($password) == 0) { $msg_error .= "Password cannot be blank.
\n"; } - //if (strlen($username) == 0) { $msg_error .= "Please provide the username.
\n"; } - if ($password != $confirm_password) { $msg_error .= "Passwords did not match.
\n"; } - //if (strlen($contact_uuid) == 0) { $msg_error .= "Please provide an email.
\n"; } - //if (strlen($user_time_zone) == 0) { $msg_error .= "Please provide an time zone.
\n"; } - if (strlen($user_enabled) == 0) { $msg_error .= "Please provide an enable or disable the user.
\n"; } + if ($password != $confirm_password) { $msg_error .= $text['message-password_mismatch']."
\n"; } + //if (strlen($contact_uuid) == 0) { $msg_error .= $text['message-required'].$text['label-email']."
\n"; } + //if (strlen($user_time_zone) == 0) { $msg_error .= $text['message-required'].$text['label-time_zone']."
\n"; } + if (strlen($user_enabled) == 0) { $msg_error .= $text['message-required'].$text['label-enabled']."
\n"; } if ($msg_error) { require_once "includes/header.php"; @@ -142,7 +146,7 @@ if (count($_POST)>0 && $_POST["persistform"] != "1") { return; } - //get the number of rows in v_user_settings + //get the number of rows in v_user_settings $sql = "select count(*) as num_rows from v_user_settings "; $sql .= "where user_setting_category = 'domain' "; $sql .= "and user_setting_subcategory = 'time_zone' "; @@ -283,7 +287,7 @@ if (count($_POST)>0 && $_POST["persistform"] != "1") { else { echo "\n"; } - echo "
Update Complete
"; + echo "
".$text['message-update']."
"; require_once "includes/footer.php"; return; } @@ -326,11 +330,11 @@ else { //include the header require_once "includes/header.php"; + $page["title"] = $text['title-user_edit']; //show the content $table_width ='width="100%"'; echo ""; - echo "
\n"; echo "
"; echo "
Enabled".$text['label-enabled']."\n"; if (permission_exists('user_add')) { - echo " $v_link_label_add\n"; + echo " $v_link_label_add\n"; } echo "
\n"; foreach($result as $row) { echo "
".$row['username']." ".$row['user_email']." ".$row['user_enabled']." "; + if ($row['user_enabled'] == 'true') { + echo $text['option-true']; + } + else { + echo $text['option-false']; + } + echo " \n"; if (permission_exists('user_edit')) { - echo " $v_link_label_edit\n"; + echo " $v_link_label_edit\n"; } if (permission_exists('user_delete')) { - echo " $v_link_label_delete\n"; + echo " $v_link_label_delete\n"; } echo "
\n"; echo " $paging_controls\n"; if (permission_exists('user_add')) { - echo " $v_link_label_add\n"; + echo " $v_link_label_add\n"; } echo "
\n"; @@ -338,15 +342,15 @@ else { echo "
\n"; echo ""; - echo "\n"; + echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
User Manager".$text['header-user_edit']."\n"; - echo " "; - echo " "; + echo " "; + echo " "; echo "
\n"; - echo " Edit user information and group membership. \n"; + echo " ".$text['description-user_edit']."\n"; echo "
\n"; @@ -355,25 +359,25 @@ else { echo ""; echo "\n"; - echo " \n"; + echo " \n"; echo "\n"; echo " "; - echo " "; + echo " "; echo " "; echo " "; echo " "; - echo " "; + echo " "; echo " "; echo " "; echo " "; - echo " "; + echo " "; echo " "; echo " "; echo " "; - echo " "; + echo " "; echo " "; echo " "; echo "
User Info".$text['label-user_info']."
Username:".$text['label-username'].":$username
Password:".$text['label-password'].":
Confirm Password:".$text['label-confirm_password'].":
Groups:".$text['label-groups'].":"; echo "\n"; @@ -392,7 +396,7 @@ else { echo " \n"; echo " \n"; echo "\n"; @@ -420,7 +424,7 @@ else { } } echo ""; - echo "\n"; + echo "\n"; unset($sql, $result); echo " "; echo " "; @@ -431,11 +435,11 @@ else { echo "
".$field['group_name']."\n"; if (permission_exists('group_member_delete') || if_group("superadmin")) { - echo " $v_link_label_delete\n"; + echo " $v_link_label_delete\n"; } echo "
"; echo " \n"; - echo " \n"; + echo " \n"; echo " \n"; echo " "; - echo " "; + echo " "; echo " "; echo " "; @@ -482,45 +486,45 @@ else { else { echo " \n"; echo " \n"; echo " \n"; echo " \n"; } @@ -561,7 +565,7 @@ else { echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo "\n"; echo "\n"; echo "\n"; - echo "\n"; + echo "\n"; echo "
Additional Info".$text['label-additional_info']."
Contact:".$text['label-contact'].":\n"; $sql = " select contact_uuid, contact_organization, contact_name_given, contact_name_family from v_contacts "; $sql .= " where domain_uuid = '".$_SESSION['domain_uuid']."' "; @@ -469,9 +473,9 @@ else { unset($sql, $result, $row_count); echo "\n"; echo "
\n"; - echo "Assign a contact to this user account.\n"; + echo $text['description-contact']."\n"; if (strlen($contact_uuid) > 0) { - echo " View\n"; + echo " ".$text['description-contact_view']."\n"; } echo "
\n"; - echo " Status:\n"; + echo " ".$text['label-status'].":\n"; echo " \n"; $cmd = "'".PROJECT_PATH."/app/calls_active/v_calls_exec.php?cmd=callcenter_config+agent+set+status+".$_SESSION['username']."@".$_SESSION['domain_name']."+'+this.value"; echo " \n"; echo "
\n"; - echo " Select a the user status.
\n"; + echo " ".$text['description-status']."
\n"; echo "
\n"; - echo " Time Zone: \n"; + echo " ".$text['label-time_zone'].": \n"; echo " \n"; echo " \n"; echo "
\n"; - echo " Select the default time zone.
\n"; + echo " ".$text['description-time_zone']."
\n"; echo "
\n"; - echo " Enabled:\n"; + echo " ".$text['label-enabled'].":\n"; echo "\n"; echo " \n"; echo "
\n"; - echo "Enable/disable this user.\n"; + echo $text['description-enabled']."\n"; echo "
"; echo "
"; @@ -628,7 +632,7 @@ else { echo "
"; echo " "; echo " "; - echo " "; + echo " "; echo "
";