diff options
author | friendica <info@friendica.com> | 2014-11-10 17:44:02 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-11-10 17:44:02 -0800 |
commit | 56199027768a07d7f1f980df08fb9c5dc7b1278e (patch) | |
tree | b8b754c967785d60174e8202ceefe2929cc21f42 /mod/directory.php | |
parent | 62094652333514e92f9f00699e14b9f49680bb64 (diff) | |
download | volse-hubzilla-56199027768a07d7f1f980df08fb9c5dc7b1278e.tar.gz volse-hubzilla-56199027768a07d7f1f980df08fb9c5dc7b1278e.tar.bz2 volse-hubzilla-56199027768a07d7f1f980df08fb9c5dc7b1278e.zip |
indicate public forums in directory results (there will be some [possibly considerable] lag time before existing forums are correctly tagged).
Diffstat (limited to 'mod/directory.php')
-rw-r--r-- | mod/directory.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/directory.php b/mod/directory.php index 09ff2ae09..10e90b145 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -203,6 +203,7 @@ function directory_content(&$a) { $entry = array( 'id' => ++$t, 'profile_link' => $profile_link, + 'public_forum' => $rr['public_forum'], 'photo' => $rr['photo'], 'hash' => $rr['hash'], 'alttext' => $rr['name'] . ' ' . $rr['address'], @@ -210,6 +211,7 @@ function directory_content(&$a) { 'details' => $pdesc . $details, 'profile' => $profile, 'address' => $rr['address'], + 'nickname' => substr($rr['address'],0,strpos($rr['address'],'@')), 'location' => $location, 'gender' => $gender, 'pdesc' => $pdesc, @@ -219,6 +221,7 @@ function directory_content(&$a) { 'hometown' => $hometown, 'about' => $about, 'conn_label' => t('Connect'), + 'forum_label' => t('Public Forum:'), 'connect' => $connect_link, 'online' => $online, 'kw' => (($out) ? t('Keywords: ') : ''), |