Added the concept of "permanent" messages that we show to admins. Use

this to show a "your thumbs/resizes are out of date" message whenever
we change the graphics rules.  Tweak watermark module to add graphics
rules whenever we make a change, which triggers the graphics module to
add the permanent message.
This commit is contained in:
Bharat Mediratta
2008-12-26 05:43:06 +00:00
parent 0bef37eb0b
commit dee20ed6a2
9 changed files with 119 additions and 76 deletions
+9
View File
@@ -95,6 +95,15 @@ class core_installer {
PRIMARY KEY (`id`))
ENGINE=InnoDB DEFAULT CHARSET=utf8;");
$db->query("CREATE TABLE `messages` (
`id` int(9) NOT NULL auto_increment,
`key` varchar(255) default NULL,
`value` varchar(255) default NULL,
`severity` varchar(32) default NULL,
PRIMARY KEY (`id`),
UNIQUE KEY(`key`))
ENGINE=InnoDB DEFAULT CHARSET=utf8;");
$db->query("CREATE TABLE `modules` (
`id` int(9) NOT NULL auto_increment,
`name` varchar(255) default NULL,