aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-28 20:16:45 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-28 20:16:45 -0700
commit8aeb1976b86674d6072c587b213131e253365ad5 (patch)
treea10d4f9b2617d2656bd079a6e7c7acb6c0557cb6 /mod
parent050be990349b75f38095242347b2e13b9bb579f7 (diff)
downloadvolse-hubzilla-8aeb1976b86674d6072c587b213131e253365ad5.tar.gz
volse-hubzilla-8aeb1976b86674d6072c587b213131e253365ad5.tar.bz2
volse-hubzilla-8aeb1976b86674d6072c587b213131e253365ad5.zip
contact-edit cleanup
Diffstat (limited to 'mod')
-rw-r--r--mod/contacts.php4
1 files changed, 4 insertions, 0 deletions
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']) ? '<div id="block-message">' . t('Currently blocked') . '</div>' : ''),
+ '$ignored' => (($r[0]['readonly']) ? '<div id="ignore-message">' . t('Currently ignored') . '</div>' : ''),
'$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 .= '<div id="contact-edit-end"></div>';
}
return $o;
} \ No newline at end of file