You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
1.7 KiB
PHP
73 lines
1.7 KiB
PHP
<?php
|
|
|
|
define("MESSAGES", [
|
|
"invalid_parameters" => [
|
|
"string" => "invalid parameters",
|
|
"type" => "danger"
|
|
],
|
|
"account_state_error" => [
|
|
"string" => "account state error",
|
|
"type" => "danger"
|
|
],
|
|
"404_error" => [
|
|
"string" => "page not found",
|
|
"type" => "info"
|
|
],
|
|
"invalid_userid" => [
|
|
"string" => "invalid userid",
|
|
"type" => "danger"
|
|
],
|
|
"user_saved" => [
|
|
"string" => "user saved",
|
|
"type" => "success"
|
|
],
|
|
"user_deleted" => [
|
|
"string" => "user deleted",
|
|
"type" => "success"
|
|
],
|
|
"user_not_exists" => [
|
|
"string" => "user does not exist",
|
|
"type" => "danger"
|
|
],
|
|
"log_cleared" => [
|
|
"string" => "log cleared",
|
|
"type" => "success"
|
|
],
|
|
"relationship_added" => [
|
|
"string" => "relationship added",
|
|
"type" => "success"
|
|
],
|
|
"relationship_deleted" => [
|
|
"string" => "relationship deleted",
|
|
"type" => "success"
|
|
],
|
|
"permission_not_exists" => [
|
|
"string" => "permission does not exist",
|
|
"type" => "danger"
|
|
],
|
|
"permissions_assigned" => [
|
|
"string" => "permissions assigned",
|
|
"type" => "success"
|
|
],
|
|
"permission_added" => [
|
|
"string" => "permission added",
|
|
"type" => "success"
|
|
],
|
|
"permission_deleted" => [
|
|
"string" => "permission deleted",
|
|
"type" => "success"
|
|
],
|
|
"2fa_removed" => [
|
|
"string" => "2fa removed",
|
|
"type" => "success"
|
|
],
|
|
"manager_assigned" => [
|
|
"string" => "manager assigned",
|
|
"type" => "success"
|
|
],
|
|
"invalid_manager" => [
|
|
"string" => "manager does not exist",
|
|
"type" => "danger"
|
|
],
|
|
]);
|