aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dirprofile.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-25 01:57:04 -0800
committerfriendica <info@friendica.com>2013-12-25 01:57:04 -0800
commitfe00e9b2615dbc06ee0db82ca2c4334baa64e258 (patch)
treecd940d1b5b9aacf5455d92e95a2e324fbdffd546 /mod/dirprofile.php
parent48f882c34b737205451a28da1238a38ec0d4af00 (diff)
downloadvolse-hubzilla-fe00e9b2615dbc06ee0db82ca2c4334baa64e258.tar.gz
volse-hubzilla-fe00e9b2615dbc06ee0db82ca2c4334baa64e258.tar.bz2
volse-hubzilla-fe00e9b2615dbc06ee0db82ca2c4334baa64e258.zip
extend the directory profiles a bit more
Diffstat (limited to 'mod/dirprofile.php')
-rw-r--r--mod/dirprofile.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/dirprofile.php b/mod/dirprofile.php
index 01a0debfc..ba056e864 100644
--- a/mod/dirprofile.php
+++ b/mod/dirprofile.php
@@ -1,6 +1,7 @@
<?php
require_once('include/dir_fns.php');
+require_once('include/bbcode.php');
function dirprofile_init(&$a) {
@@ -108,9 +109,10 @@ function dirprofile_init(&$a) {
$marital = ((x($profile,'marital') == 1) ? t('Status: ') . $profile['marital'] : False);
$sexual = ((x($profile,'sexual') == 1) ? t('Sexual Preference: ') . $profile['sexual'] : False);
-// $homepage = ((x($profile,'homepage') == 1) ? t('Homepage: ') . $profile['homepage'] : False);
+ $homepage = ((x($profile,'homepage') == 1) ? t('Homepage: ') . linkify($profile['homepage']) : False);
+ $hometown = ((x($profile,'hometown') == 1) ? t('Hometown: ') . $profile['hometown'] : False);
-// $about = ((x($profile,'about') == 1) ? t('About: ') . $profile['about'] : False);
+ $about = ((x($profile,'about') == 1) ? t('About: ') . bbcode($profile['about']) : False);
$keywords = ((x($profile,'keywords')) ? $profile['keywords'] : '');
if($keywords) {
@@ -153,6 +155,7 @@ function dirprofile_init(&$a) {
'$pdesc' => $pdesc,
'$marital' => $marital,
'$homepage' => $homepage,
+ '$hometown' => $hometown,
'$about' => $about,
'$kw' => (($out) ? t('Keywords: ') : ''),
'$keywords' => $out,