aboutsummaryrefslogtreecommitdiffstats
path: root/include/identity.php
diff options
context:
space:
mode:
authorStefan Parviainen <saparvia@caterva.eu>2015-01-13 17:54:40 +0100
committerStefan Parviainen <saparvia@caterva.eu>2015-01-13 17:54:40 +0100
commit93735df2c78b249d5735834c190dc91bad336172 (patch)
treede5bbcfd93ed668f80c059485d2dc4e7480b743d /include/identity.php
parentadc9564b5cc5f1fc410220514285927052cdfe4a (diff)
downloadvolse-hubzilla-93735df2c78b249d5735834c190dc91bad336172.tar.gz
volse-hubzilla-93735df2c78b249d5735834c190dc91bad336172.tar.bz2
volse-hubzilla-93735df2c78b249d5735834c190dc91bad336172.zip
Allow tags in mail, many profile fields, and admin info
Diffstat (limited to 'include/identity.php')
-rw-r--r--include/identity.php14
1 files changed, 1 insertions, 13 deletions
diff --git a/include/identity.php b/include/identity.php
index 2f400520f..d98f39cb7 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -1205,21 +1205,9 @@ function advanced_profile(&$a) {
if($txt = prepare_text($a->profile['dislikes'])) $profile['dislikes'] = array( t('Dislikes:'), $txt);
-
if($txt = prepare_text($a->profile['contact'])) $profile['contact'] = array( t('Contact information and Social Networks:'), $txt);
- // Support tags in the other channels field (probably want to restrict it to channels only?)
- $txt = $a->profile['channels'];
- $matches = get_tags($txt);
- $access_tag = '';
- $str_tags = '';
- foreach($matches as $m) {
- $success = handle_tag($a, $txt, $access_tag, $str_tags, $a->profile_uid, $m); // Use uid of the profile maker
- }
-
- if($txt = prepare_text($txt)) {
- $profile['channels'] = array( t('My other channels:'), $txt);
- }
+ if($txt = prepare_text($a->profile['channels'])) $profile['channels'] = array( t('My other channels:'), $txt);
if($txt = prepare_text($a->profile['music'])) $profile['music'] = array( t('Musical interests:'), $txt);