aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-03-21 02:20:32 -0700
committerfriendica <info@friendica.com>2013-03-21 02:20:32 -0700
commit6db6f6640e73b85ddedbcbacb60f06b185372065 (patch)
tree36ba57422c6fb54ed44b693cda9ca11e2a8b76e3 /mod
parent6a82fd609a5761072206b151846271bbefd92041 (diff)
parent06c5d0fcc2b5a2a5babe0ef3b2fcaadf4cefbc31 (diff)
downloadvolse-hubzilla-6db6f6640e73b85ddedbcbacb60f06b185372065.tar.gz
volse-hubzilla-6db6f6640e73b85ddedbcbacb60f06b185372065.tar.bz2
volse-hubzilla-6db6f6640e73b85ddedbcbacb60f06b185372065.zip
Merge pull request #38 from beardy-unixer/master
Small fixes
Diffstat (limited to 'mod')
-rw-r--r--mod/profiles.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/profiles.php b/mod/profiles.php
index e857c4216..0a8b2b9dc 100644
--- a/mod/profiles.php
+++ b/mod/profiles.php
@@ -232,6 +232,7 @@ function profiles_post(&$a) {
$about = fix_mce_lf(escape_tags(trim($_POST['about'])));
$interest = fix_mce_lf(escape_tags(trim($_POST['interest'])));
$contact = fix_mce_lf(escape_tags(trim($_POST['contact'])));
+ $channels = fix_mce_lf(escape_tags(trim($_POST['channels'])));
$music = fix_mce_lf(escape_tags(trim($_POST['music'])));
$book = fix_mce_lf(escape_tags(trim($_POST['book'])));
$tv = fix_mce_lf(escape_tags(trim($_POST['tv'])));
@@ -393,6 +394,7 @@ function profiles_post(&$a) {
`about` = '%s',
`interest` = '%s',
`contact` = '%s',
+ `channels` = '%s',
`music` = '%s',
`book` = '%s',
`tv` = '%s',
@@ -426,6 +428,7 @@ function profiles_post(&$a) {
dbesc($about),
dbesc($interest),
dbesc($contact),
+ dbesc($channels),
dbesc($music),
dbesc($book),
dbesc($tv),
@@ -550,6 +553,7 @@ function profiles_content(&$a) {
'$lbl_about' => t('Tell us about yourself...'),
'$lbl_hobbies' => t('Hobbies/Interests'),
'$lbl_social' => t('Contact information and Social Networks'),
+ '$lbl_channels' => t('My other channels'),
'$lbl_music' => t('Musical interests'),
'$lbl_book' => t('Books, literature'),
'$lbl_tv' => t('Television'),
@@ -593,7 +597,8 @@ function profiles_content(&$a) {
'$romance' => $r[0]['romance'],
'$work' => $r[0]['work'],
'$education' => $r[0]['education'],
- '$contact' => $r[0]['contact']
+ '$contact' => $r[0]['contact'],
+ '$channels' => $r[0]['channels'],
));
$arr = array('profile' => $r[0], 'entry' => $o);