diff options
author | Bharat Mediratta <bharat@menalto.com> | 2008-12-26 05:43:06 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2008-12-26 05:43:06 +0000 |
commit | dee20ed6a2bd92a2e67c27ccc7d60303d66cdcde (patch) | |
tree | 0d3b432effb5ba4cc8e6eb2c8627c9661d52ebe8 /core/models | |
parent | 0bef37eb0b077863984eb70ec99c40b2f32840bf (diff) |
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.
Diffstat (limited to 'core/models')
-rw-r--r-- | core/models/message.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/core/models/message.php b/core/models/message.php new file mode 100644 index 00000000..06997453 --- /dev/null +++ b/core/models/message.php @@ -0,0 +1,21 @@ +<?php defined("SYSPATH") or die("No direct script access."); +/** + * Gallery - a web based photo album viewer and editor + * Copyright (C) 2000-2008 Bharat Mediratta + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. + */ +class Message_Model extends ORM { +} |