Parcourir la source

Update user_edit.php

FusionPBX il y a 6 ans
Parent
commit
8b146bc9b5
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      core/users/user_edit.php

+ 3 - 0
core/users/user_edit.php

@@ -660,6 +660,9 @@
 	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']."'>";
 	}