summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/photo.php
diff options
context:
space:
mode:
authorhiwilson <wilsonpscheung@gmail.com>2009-07-19 17:02:20 +0800
committerBharat Mediratta <bharat@menalto.com>2009-07-20 08:02:07 -0700
commit709d6c5faf7ece54046c0e2bc431a559a6b9d735 (patch)
tree406c770bd7d549e51076fe9f5f2813a43a8260f7 /modules/gallery/helpers/photo.php
parent33d0b82d024df8fd85798cc4f6b9bab377f4f783 (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/helpers/photo.php')
-rw-r--r--modules/gallery/helpers/photo.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gallery/helpers/photo.php b/modules/gallery/helpers/photo.php
index ce964c14..bf38e1ee 100644
--- a/modules/gallery/helpers/photo.php
+++ b/modules/gallery/helpers/photo.php
@@ -147,6 +147,8 @@ class photo_Core {
->callback("item::validate_no_trailing_period")
->error_messages("no_trailing_period", t("The photo name can't end in \".\""));
+ module::event("photo_edit_form", $photo, $form);
+
$group->submit("")->value(t("Modify"));
$form->add_rules_from(ORM::factory("item"));
return $form;