mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-10 21:24:58 +00:00
added an underscore
This commit is contained in:
@@ -37,8 +37,8 @@ else {
|
||||
}
|
||||
|
||||
|
||||
foreach($contentusers as $key => $value) {
|
||||
$contentusers[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
foreach($content_users as $key => $value) {
|
||||
$content_users[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
}
|
||||
|
||||
//set the username from v_users
|
||||
@@ -87,7 +87,7 @@ if (count($_POST)>0 && $_POST["persistform"] != "1") {
|
||||
|
||||
$msg = '';
|
||||
//if (strlen($password) == 0) { $msg .= "Password cannot be blank.<br>\n"; }
|
||||
if ($password != $confirm_password) { $msg .= "".$contentusers['confirm-password']."<br>\n"; }
|
||||
if ($password != $confirm_password) { $msg .= "".$content_users['confirm-password']."<br>\n"; }
|
||||
//if (strlen($user_time_zone) == 0) { $msg .= "Please provide an time zone.<br>\n"; }
|
||||
|
||||
if (strlen($msg) > 0) {
|
||||
@@ -198,7 +198,7 @@ if (count($_POST)>0 && $_POST["persistform"] != "1") {
|
||||
//redirect the browser
|
||||
require_once "includes/header.php";
|
||||
echo "<meta http-equiv=\"refresh\" content=\"2;url=".PROJECT_PATH."/app/users/usersupdate.php\">\n";
|
||||
echo "<div align='center'>".$contentusers['confirm-update']."</div>";
|
||||
echo "<div align='center'>".$content_users['confirm-update']."</div>";
|
||||
require_once "includes/footer.php";
|
||||
return;
|
||||
}
|
||||
@@ -233,15 +233,15 @@ else {
|
||||
echo "<td>\n";
|
||||
|
||||
echo "<table $table_width cellpadding='3' cellspacing='0' border='0'>";
|
||||
echo "<td align='left' width='90%' nowrap><b>".$contentusers['title']."</b></td>\n";
|
||||
echo "<td align='left' width='90%' nowrap><b>".$content_users['title']."</b></td>\n";
|
||||
echo "<td nowrap='nowrap'>\n";
|
||||
echo " <input type='submit' name='submit' class='btn' value='".$contentusers['button-save']."'>";
|
||||
echo " <input type='button' class='btn' onclick=\"window.location='".PROJECT_PATH."/index2.php'\" value='".$contentusers['button-back']."'>";
|
||||
echo " <input type='submit' name='submit' class='btn' value='".$content_users['button-save']."'>";
|
||||
echo " <input type='button' class='btn' onclick=\"window.location='".PROJECT_PATH."/index2.php'\" value='".$content_users['button-back']."'>";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<td align='left' colspan='2'>\n";
|
||||
echo " ".$contentusers['description']." \n";
|
||||
echo " ".$content_users['description']." \n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "</table>\n";
|
||||
@@ -250,20 +250,20 @@ else {
|
||||
|
||||
echo "<table $table_width cellpadding='6' cellspacing='0' border='0'>";
|
||||
echo "<tr>\n";
|
||||
echo " <th class='th' colspan='2' align='left'>".$contentusers['table-title']."</th>\n";
|
||||
echo " <th class='th' colspan='2' align='left'>".$content_users['table-title']."</th>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo " <tr>";
|
||||
echo " <td width='30%' class='vncellreq'>".$contentusers['label-username'].":</td>";
|
||||
echo " <td width='30%' class='vncellreq'>".$content_users['label-username'].":</td>";
|
||||
echo " <td width='70%' class='vtable'>$username</td>";
|
||||
echo " </tr>";
|
||||
|
||||
echo " <tr>";
|
||||
echo " <td class='vncell'>".$contentusers['label-password'].":</td>";
|
||||
echo " <td class='vncell'>".$content_users['label-password'].":</td>";
|
||||
echo " <td class='vtable'><input type='password' autocomplete='off' class='formfld' name='password' value=\"\"></td>";
|
||||
echo " </tr>";
|
||||
echo " <tr>";
|
||||
echo " <td class='vncell'>".$contentusers['label-confirmpassword'].":</td>";
|
||||
echo " <td class='vncell'>".$content_users['label-confirmpassword'].":</td>";
|
||||
echo " <td class='vtable'><input type='password' autocomplete='off' class='formfld' name='confirm_password' value=\"\"></td>";
|
||||
echo " </tr>";
|
||||
|
||||
@@ -275,7 +275,7 @@ else {
|
||||
|
||||
echo "<table $table_width cellpadding='6' cellspacing='0'>";
|
||||
echo " <tr>\n";
|
||||
echo " <th class='th' colspan='2' align='left'>".$contentusers['table2-title']."</th>\n";
|
||||
echo " <th class='th' colspan='2' align='left'>".$content_users['table2-title']."</th>\n";
|
||||
echo " </tr>\n";
|
||||
|
||||
if ($_SESSION['user_status_display'] == "false") {
|
||||
@@ -284,44 +284,44 @@ else {
|
||||
else {
|
||||
echo " <tr>\n";
|
||||
echo " <td width='20%' class=\"vncell\" style='text-align: left;'>\n";
|
||||
echo " ".$contentusers['label-status'].":\n";
|
||||
echo " ".$content_users['label-status'].":\n";
|
||||
echo " </td>\n";
|
||||
echo " <td class=\"vtable\">\n";
|
||||
echo " <select id='user_status' name='user_status' class='formfld' style=''>\n";
|
||||
echo " <option value=''></option>\n";
|
||||
if ($user_status == "Available") {
|
||||
echo " <option value='Available' selected='selected'>".$contentusers['check-availablestatus']."</option>\n";
|
||||
echo " <option value='Available' selected='selected'>".$content_users['check-availablestatus']."</option>\n";
|
||||
}
|
||||
else {
|
||||
echo " <option value='Available'>".$contentusers['check-availablestatus']."</option>\n";
|
||||
echo " <option value='Available'>".$content_users['check-availablestatus']."</option>\n";
|
||||
}
|
||||
if ($user_status == "Available (On Demand)") {
|
||||
echo " <option value='Available (On Demand)' selected='selected'>".$contentusers['check-availableondemandstatus']."</option>\n";
|
||||
echo " <option value='Available (On Demand)' selected='selected'>".$content_users['check-availableondemandstatus']."</option>\n";
|
||||
}
|
||||
else {
|
||||
echo " <option value='Available (On Demand)'>".$contentusers['check-availableondemandstatus']."</option>\n";
|
||||
echo " <option value='Available (On Demand)'>".$content_users['check-availableondemandstatus']."</option>\n";
|
||||
}
|
||||
if ($user_status == "Logged Out") {
|
||||
echo " <option value='Logged Out' selected='selected'>".$contentusers['check-logedoutstatus']."</option>\n";
|
||||
echo " <option value='Logged Out' selected='selected'>".$content_users['check-logedoutstatus']."</option>\n";
|
||||
}
|
||||
else {
|
||||
echo " <option value='Logged Out'>".$contentusers['check-logedoutstatus']."</option>\n";
|
||||
echo " <option value='Logged Out'>".$content_users['check-logedoutstatus']."</option>\n";
|
||||
}
|
||||
if ($user_status == "On Break") {
|
||||
echo " <option value='On Break' selected='selected'>".$contentusers['check-onbreakstatus']."</option>\n";
|
||||
echo " <option value='On Break' selected='selected'>".$content_users['check-onbreakstatus']."</option>\n";
|
||||
}
|
||||
else {
|
||||
echo " <option value='On Break'>".$contentusers['check-onbreakstatus']."</option>\n";
|
||||
echo " <option value='On Break'>".$content_users['check-onbreakstatus']."</option>\n";
|
||||
}
|
||||
if ($user_status == "Do Not Disturb") {
|
||||
echo " <option value='Do Not Disturb' selected='selected'>".$contentusers['check-donotdisturbstatus']."</option>\n";
|
||||
echo " <option value='Do Not Disturb' selected='selected'>".$content_users['check-donotdisturbstatus']."</option>\n";
|
||||
}
|
||||
else {
|
||||
echo " <option value='Do Not Disturb'>".$contentusers['check-donotdisturbstatus']."</option>\n";
|
||||
echo " <option value='Do Not Disturb'>".$content_users['check-donotdisturbstatus']."</option>\n";
|
||||
}
|
||||
echo " </select>\n";
|
||||
echo " <br />\n";
|
||||
echo " ".$contentusers['label-infostatus']."<br />\n";
|
||||
echo " ".$content_users['label-infostatus']."<br />\n";
|
||||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
}
|
||||
@@ -362,7 +362,7 @@ else {
|
||||
|
||||
echo " <tr>\n";
|
||||
echo " <td width='20%' class=\"vncell\" style='text-align: left;'>\n";
|
||||
echo " ".$contentusers['label-time'].": \n";
|
||||
echo " ".$content_users['label-time'].": \n";
|
||||
echo " </td>\n";
|
||||
echo " <td class=\"vtable\" align='left'>\n";
|
||||
echo " <select id='user_time_zone' name='user_time_zone' class='formfld' style=''>\n";
|
||||
@@ -391,7 +391,7 @@ else {
|
||||
}
|
||||
echo " </select>\n";
|
||||
echo " <br />\n";
|
||||
echo " ".$contentusers['description-timezone']."<br />\n";
|
||||
echo " ".$content_users['description-timezone']."<br />\n";
|
||||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
echo " </table>";
|
||||
@@ -401,7 +401,7 @@ else {
|
||||
echo "<table $table_width>";
|
||||
echo " <tr>";
|
||||
echo " <td colspan='2' align='right'>";
|
||||
echo " <input type='submit' name='submit' class='btn' value='".$contentusers['button-save']."'>";
|
||||
echo " <input type='submit' name='submit' class='btn' value='".$content_users['button-save']."'>";
|
||||
echo " </td>";
|
||||
echo " </tr>";
|
||||
echo "</table>";
|
||||
|
||||
Reference in New Issue
Block a user