Update user_edit.php

This commit is contained in:
FusionPBX
2019-08-04 01:34:50 -06:00
committed by GitHub
parent 42cb9ae21a
commit c879e97595

View File

@@ -660,12 +660,12 @@
if ($unsaved) {
echo "<span style='color: #b00;'>".$text['message-unsaved_changes']." <i class='glyphicon glyphicon-warning-sign' style='margin-right: 15px;'></i></span>";
}
if (permission_exists('ticket_add') || permission_exists('ticket_edit')) {
echo " <input type='button' class='btn' style='margin-right: 10px;' onclick=\"window.location='/app/tickets/tickets.php'\" value='".$text['button-tickets']."'>";
}
if (permission_exists('user_add') || permission_exists('user_edit')) {
echo " <input type='button' class='btn' style='margin-right: 10px;' onclick=\"window.location='users.php'\" value='".$text['button-back']."'>";
}
if (permission_exists('ticket_add') || permission_exists('ticket_edit')) {
echo " <input type='button' class='btn' style='margin-right: 3px;' onclick=\"window.location='/app/tickets/tickets.php?user_uuid=".escape($user_uuid)."'\" value='".$text['button-tickets']."'>";
}
echo " <input type='submit' class='btn' value='".$text['button-save']."'>";
echo "</div>\n";
echo "<b>".$text['header-user_edit']."</b><br />\n";