2017-04-24 17:13:08 -06:00
|
|
|
<?php
|
|
|
|
|
2017-12-16 14:25:31 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
2017-04-24 17:13:08 -06:00
|
|
|
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"
|
2017-05-05 17:17:39 -06:00
|
|
|
],
|
2017-05-28 23:52:39 -06:00
|
|
|
"no_permission" => [
|
|
|
|
"string" => "no permission",
|
|
|
|
"type" => "danger"
|
|
|
|
],
|
2017-05-05 17:17:39 -06:00
|
|
|
"task_saved" => [
|
|
|
|
"string" => "task saved",
|
|
|
|
"type" => "success"
|
|
|
|
],
|
|
|
|
"user_not_managed" => [
|
|
|
|
"string" => "user not managed",
|
|
|
|
"type" => "danger"
|
|
|
|
],
|
|
|
|
"task_edit_not_allowed" => [
|
|
|
|
"string" => "task edit not allowed",
|
|
|
|
"type" => "danger"
|
|
|
|
],
|
|
|
|
"task_delete_not_allowed" => [
|
|
|
|
"string" => "task delete not allowed",
|
|
|
|
"type" => "danger"
|
|
|
|
],
|
|
|
|
"task_deleted" => [
|
|
|
|
"string" => "task deleted",
|
|
|
|
"type" => "success"
|
2017-04-24 17:13:08 -06:00
|
|
|
]
|
|
|
|
]);
|