From 36dac77e5d60ccaa529433f44151a64f88f3ea10 Mon Sep 17 00:00:00 2001 From: Shish Date: Wed, 3 Feb 2010 23:55:01 +0000 Subject: [PATCH] link to tag changes --- contrib/tag_history/main.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contrib/tag_history/main.php b/contrib/tag_history/main.php index 04e58ec1..07999d93 100644 --- a/contrib/tag_history/main.php +++ b/contrib/tag_history/main.php @@ -61,6 +61,11 @@ class Tag_History implements Extension { if(($event instanceof TagSetEvent)) { $this->add_tag_history($event->image, $event->tags); } + if($event instanceof UserBlockBuildingEvent) { + if($user->is_admin()) { + $event->add_link("Tag Changes", make_link("tag_history")); + } + } } protected function install()