Account and permission manager and security log viewer. https://netsyms.biz/apps/managepanel
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <?php
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. define("MESSAGES", [
  6. "invalid_parameters" => [
  7. "string" => "invalid parameters",
  8. "type" => "danger"
  9. ],
  10. "account_state_error" => [
  11. "string" => "account state error",
  12. "type" => "danger"
  13. ],
  14. "404_error" => [
  15. "string" => "page not found",
  16. "type" => "info"
  17. ],
  18. "invalid_userid" => [
  19. "string" => "invalid userid",
  20. "type" => "danger"
  21. ],
  22. "user_saved" => [
  23. "string" => "user saved",
  24. "type" => "success"
  25. ],
  26. "user_deleted" => [
  27. "string" => "user deleted",
  28. "type" => "success"
  29. ],
  30. "user_not_exists" => [
  31. "string" => "user does not exist",
  32. "type" => "danger"
  33. ],
  34. "log_cleared" => [
  35. "string" => "log cleared",
  36. "type" => "success"
  37. ],
  38. "relationship_added" => [
  39. "string" => "relationship added",
  40. "type" => "success"
  41. ],
  42. "relationship_deleted" => [
  43. "string" => "relationship deleted",
  44. "type" => "success"
  45. ],
  46. "permission_not_exists" => [
  47. "string" => "permission does not exist",
  48. "type" => "danger"
  49. ],
  50. "permissions_assigned" => [
  51. "string" => "permissions assigned",
  52. "type" => "success"
  53. ],
  54. "permission_added" => [
  55. "string" => "permission added",
  56. "type" => "success"
  57. ],
  58. "permission_deleted" => [
  59. "string" => "permission deleted",
  60. "type" => "success"
  61. ],
  62. "2fa_removed" => [
  63. "string" => "2fa removed",
  64. "type" => "success"
  65. ],
  66. "manager_assigned" => [
  67. "string" => "manager assigned",
  68. "type" => "success"
  69. ],
  70. "invalid_manager" => [
  71. "string" => "manager does not exist",
  72. "type" => "danger"
  73. ],
  74. "invalid_group" => [
  75. "string" => "group does not exist",
  76. "type" => "danger"
  77. ],
  78. "group_assigned" => [
  79. "string" => "group members updated",
  80. "type" => "success"
  81. ],
  82. "group_added" => [
  83. "string" => "group added",
  84. "type" => "success"
  85. ],
  86. "group_deleted" => [
  87. "string" => "group deleted",
  88. "type" => "success"
  89. ],
  90. "group_exists" => [
  91. "string" => "group already exists",
  92. "type" => "danger"
  93. ],
  94. "cannot_revoke_key_in_use" => [
  95. "string" => "Cannot revoke that API key, you would lose access to ManagePanel.",
  96. "type" => "danger"
  97. ],
  98. "api_key_revoked" => [
  99. "string" => "API key revoked.",
  100. "type" => "success"
  101. ],
  102. "key_already_exists" => [
  103. "string" => "That API key already exists.",
  104. "type" => "warning"
  105. ],
  106. "api_key_added" => [
  107. "string" => "API key added.",
  108. "type" => "success"
  109. ],
  110. ]);