From 8aeb1976b86674d6072c587b213131e253365ad5 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Wed, 28 Jul 2010 20:16:45 -0700 Subject: contact-edit cleanup --- mod/contacts.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mod') diff --git a/mod/contacts.php b/mod/contacts.php index 6f7f978aa..489da2340 100644 --- a/mod/contacts.php +++ b/mod/contacts.php @@ -191,6 +191,7 @@ function contacts_content(&$a) { '$block_text' => (($r[0]['blocked']) ? t('Unblock this contact') : t('Block this contact') ), '$ignore_text' => (($r[0]['readonly']) ? t('Unignore this contact') : t('Ignore this contact') ), '$blocked' => (($r[0]['blocked']) ? '
' . t('Currently blocked') . '
' : ''), + '$ignored' => (($r[0]['readonly']) ? '
' . t('Currently ignored') . '
' : ''), '$rating' => contact_reputation($r[0]['rating']), '$reason' => $r[0]['reason'], '$groups' => '', // group_selector(), @@ -263,6 +264,8 @@ function contacts_content(&$a) { } $o .= replace_macros($tpl, array( + '$img_hover' => t('Visit ') . $rr['name'] . t('\'s profile'), + '$edit_hover' => t('Edit contact'), '$id' => $rr['id'], '$alt_text' => $alt_text, '$dir_icon' => $dir_icon, @@ -271,6 +274,7 @@ function contacts_content(&$a) { '$url' => (($direction != DIRECTION_IN) ? "redir/{$rr['id']}" : $rr['url'] ) )); } + $o .= '
'; } return $o; } \ No newline at end of file -- cgit v1.2.3