mirror of
https://github.com/friendica/friendica
synced 2024-11-10 07:02:54 +00:00
Merge pull request #1903 from annando/1509-bbcode-notifications
The "about" field in the introductions should be send through bbcode
This commit is contained in:
commit
af5da5bece
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
<?php
|
||||
include_once("include/bbcode.php");
|
||||
|
||||
function notifications_post(&$a) {
|
||||
|
||||
|
@ -213,12 +214,12 @@ function notifications_content(&$a) {
|
|||
'$uid' => $_SESSION['uid'],
|
||||
'$intro_id' => $rr['intro_id'],
|
||||
'$contact_id' => $rr['contact-id'],
|
||||
'$photo' => ((x($rr,'photo')) ? $rr['photo'] : "images/person-175.jpg"),
|
||||
'$photo' => ((x($rr,'photo')) ? proxy_url($rr['photo']) : "images/person-175.jpg"),
|
||||
'$fullname' => $rr['name'],
|
||||
'$location_label' => t('Location:'),
|
||||
'$location' => $rr['glocation'],
|
||||
'$location_label' => t('Location:'),
|
||||
'$about' => $rr['gabout'],
|
||||
'$about' => proxy_parse_html(bbcode($rr['gabout'], false, false)),
|
||||
'$about_label' => t('About:'),
|
||||
'$keywords' => $rr['gkeywords'],
|
||||
'$keywords_label' => t('Tags:'),
|
||||
|
|
Loading…
Reference in a new issue