diff --git a/contrib/tag_history/theme.php b/contrib/tag_history/theme.php index 0f6c6ec1..de8ed164 100644 --- a/contrib/tag_history/theme.php +++ b/contrib/tag_history/theme.php @@ -71,10 +71,9 @@ class Tag_HistoryTheme extends Themelet { $image_id = $fields['image_id']; $current_tags = html_escape($fields['tags']); $name = $fields['name']; - $setter = "".html_escape($name).""; - if($user->is_admin()) { - $setter .= " / " . $fields['user_ip']; - } + $h_ip = $user->can("view_ip") ? " ".show_ip($fields['user_ip'], "Tagging Image #$image_id as '$current_tags'") : ""; + $setter = "".html_escape($name)."$h_ip"; + $history_list .= '