aboutsummaryrefslogtreecommitdiffstats
path: root/mod/contacts.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-26 22:57:08 -0700
committerFriendika <info@friendika.com>2011-06-26 22:57:08 -0700
commitc410c9013c062a9a4fce1f887572a1b1c951afbe (patch)
tree0d3977e71098ea7a0f9a19c7a5796ea67ccde6c9 /mod/contacts.php
parent23f00aaab42a39905c74d06a3864719214122a1f (diff)
downloadvolse-hubzilla-c410c9013c062a9a4fce1f887572a1b1c951afbe.tar.gz
volse-hubzilla-c410c9013c062a9a4fce1f887572a1b1c951afbe.tar.bz2
volse-hubzilla-c410c9013c062a9a4fce1f887572a1b1c951afbe.zip
friend suggestions
Diffstat (limited to 'mod/contacts.php')
-rw-r--r--mod/contacts.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/contacts.php b/mod/contacts.php
index e7a800500..444e6dec4 100644
--- a/mod/contacts.php
+++ b/mod/contacts.php
@@ -268,6 +268,10 @@ function contacts_content(&$a) {
if($r[0]['last-update'] !== '0000-00-00 00:00:00')
$last_update .= ' ' . (($r[0]['last-update'] == $r[0]['success_update']) ? t("\x28Update was successful\x29") : t("\x28Update was not successful\x29"));
+ $lblsuggest = (($r[0]['network'] === NETWORK_DFRN)
+ ? '<div id="contact-suggest-wrapper"><a href="fsuggest/' . $r[0]['id'] . '" id="contact-suggest">' . t('Suggest friends') . '</a></div>' : '');
+
+
$o .= replace_macros($tpl,array(
'$header' => t('Contact Editor'),
'$submit' => t('Submit'),
@@ -284,6 +288,7 @@ function contacts_content(&$a) {
'$altcrepair' => t('Repair contact URL settings'),
'$lblcrepair' => t("Repair contact URL settings \x28WARNING: Advanced\x29"),
'$lblrecent' => t('View conversations'),
+ '$lblsuggest' => $lblsuggest,
'$grps' => $grps,
'$delete' => t('Delete contact'),
'$poll_interval' => contact_poll_interval($r[0]['priority']),