diff options
| author | hiwilson <wilsonpscheung@gmail.com> | 2009-07-19 17:02:20 +0800 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-07-20 08:02:07 -0700 |
| commit | 709d6c5faf7ece54046c0e2bc431a559a6b9d735 (patch) | |
| tree | 406c770bd7d549e51076fe9f5f2813a43a8260f7 /modules/gallery/controllers/albums.php | |
| parent | 33d0b82d024df8fd85798cc4f6b9bab377f4f783 (diff) | |
(1)Add tag edit field in album/photo edit form. (2)provide edit functionality. (3)support multi-word tagging.
Diffstat (limited to 'modules/gallery/controllers/albums.php')
| -rw-r--r-- | modules/gallery/controllers/albums.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gallery/controllers/albums.php b/modules/gallery/controllers/albums.php index 9980b676..0e1c27e5 100644 --- a/modules/gallery/controllers/albums.php +++ b/modules/gallery/controllers/albums.php @@ -191,6 +191,8 @@ class Albums_Controller extends Items_Controller { } $album->save(); + module::event("album_edit_form_completed", $album, $form); + log::success("content", "Updated album", "<a href=\"albums/$album->id\">view</a>"); message::success( t("Saved album %album_title", array("album_title" => p::clean($album->title)))); |
