SiteWriter is an easy-to-use website builder system. https://netsyms.biz/apps/sitewriter
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.

messages.php 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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. "settings_saved" => [
  19. "string" => "settings saved",
  20. "type" => "success"
  21. ],
  22. "page_added" => [
  23. "string" => "page added",
  24. "type" => "success"
  25. ],
  26. "slug_taken" => [
  27. "string" => "chosen page id slug already taken",
  28. "type" => "danger"
  29. ],
  30. "template_missing" => [
  31. "string" => "template missing",
  32. "type" => "danger"
  33. ],
  34. "message_deleted" => [
  35. "string" => "message deleted",
  36. "type" => "success"
  37. ],
  38. "file_security_error" => [
  39. "string" => "operation cancelled for security reasons",
  40. "type" => "danger"
  41. ],
  42. "upload_success" => [
  43. "string" => "upload successful",
  44. "type" => "success"
  45. ],
  46. "upload_warning" => [
  47. "string" => "upload warning",
  48. "type" => "warning"
  49. ],
  50. "missing_folder" => [
  51. "string" => "destination folder does not exist",
  52. "type" => "danger"
  53. ],
  54. "unwritable_folder" => [
  55. "string" => "destination folder does not allow uploads",
  56. "type" => "danger"
  57. ],
  58. "upload_too_big" => [
  59. "string" => "uploaded data too large",
  60. "type" => "danger"
  61. ],
  62. "undeletable_file" => [
  63. "string" => "undeletable file",
  64. "type" => "danger"
  65. ],
  66. "folder_not_empty" => [
  67. "string" => "folder not empty",
  68. "type" => "danger"
  69. ],
  70. "file_not_deleted" => [
  71. "string" => "file not deleted",
  72. "type" => "danger"
  73. ],
  74. "file_deleted" => [
  75. "string" => "file deleted",
  76. "type" => "success"
  77. ],
  78. "folder_deleted" => [
  79. "string" => "folder deleted",
  80. "type" => "success"
  81. ],
  82. "folder_created" => [
  83. "string" => "folder created",
  84. "type" => "success"
  85. ],
  86. "folder_not_created" => [
  87. "string" => "folder not created",
  88. "type" => "danger"
  89. ],
  90. "no_permission" => [
  91. "string" => "no permission",
  92. "type" => "danger"
  93. ]
  94. ]);