Compare commits

...

3 Commits

5 changed files with 7 additions and 3 deletions

View File

@ -124,7 +124,7 @@ CREATE TABLE IF NOT EXISTS `images` (
CONSTRAINT `fk_images_items1` CONSTRAINT `fk_images_items1`
FOREIGN KEY (`itemid`) FOREIGN KEY (`itemid`)
REFERENCES `items` (`itemid`) REFERENCES `items` (`itemid`)
ON DELETE NO ACTION ON DELETE CASCADE
ON UPDATE NO ACTION) ON UPDATE NO ACTION)
ENGINE = InnoDB; ENGINE = InnoDB;

View File

@ -23,7 +23,7 @@ CREATE TABLE IF NOT EXISTS `images` (
CONSTRAINT `fk_images_items1` CONSTRAINT `fk_images_items1`
FOREIGN KEY (`itemid`) FOREIGN KEY (`itemid`)
REFERENCES `inventory`.`items` (`itemid`) REFERENCES `inventory`.`items` (`itemid`)
ON DELETE NO ACTION ON DELETE CASCADE
ON UPDATE NO ACTION) ON UPDATE NO ACTION)
ENGINE = InnoDB ENGINE = InnoDB
DEFAULT CHARACTER SET = utf8; DEFAULT CHARACTER SET = utf8;

View File

@ -6,7 +6,6 @@
"login server error": "The login server returned an error: {arg}", "login server error": "The login server returned an error: {arg}",
"login server user data error": "The login server refused to provide account information. Try again or contact technical support.", "login server user data error": "The login server refused to provide account information. Try again or contact technical support.",
"captcha error": "There was a problem with the CAPTCHA (robot test). Try again.", "captcha error": "There was a problem with the CAPTCHA (robot test). Try again.",
"no access permission": "You do not have permission to access this system.",
"no permission": "You do not have permission to access this system.", "no permission": "You do not have permission to access this system.",
"no edit permission": "You do not have permission to modify records." "no edit permission": "You do not have permission to modify records."
} }

View File

@ -8,5 +8,6 @@
"Delete": "Delete", "Delete": "Delete",
"Back": "Back", "Back": "Back",
"Image uploaded.": "Image uploaded.", "Image uploaded.": "Image uploaded.",
"image deleted": "Image deleted.",
"Upload finished with errors: {arg}": "Upload finished with errors: {arg}" "Upload finished with errors: {arg}": "Upload finished with errors: {arg}"
} }

View File

@ -96,5 +96,9 @@ define("MESSAGES", [
"upload_success" => [ "upload_success" => [
"string" => "Image uploaded.", "string" => "Image uploaded.",
"type" => "success" "type" => "success"
],
"image_deleted" => [
"string" => "image deleted",
"type" => "success"
] ]
]); ]);