mirror of https://github.com/BOINC/boinc.git
Apply input filters on Background and Opinion fields of user profiles
(DBOINCP-188)
This commit is contained in:
parent
7ed4ab5bad
commit
d704a2905c
|
@ -51,8 +51,8 @@ $name = check_plain($account->boincuser_name);
|
|||
$join_date = date('d F Y', $account->created);
|
||||
$country = check_plain($content_profile->field_country[0]['value']);
|
||||
$website = check_plain($content_profile->field_url[0]['value']);
|
||||
$background = $content_profile->field_background[0]['value'];
|
||||
$opinions = $content_profile->field_opinions[0]['value'];
|
||||
$background = check_markup($content_profile->field_background[0]['value'], $content_profile->format, FALSE);
|
||||
$opinions = check_markup($content_profile->field_opinions[0]['value'], $content_profile->format, FALSE);
|
||||
$user_links = array();
|
||||
$profile_is_approved = ($content_profile->status AND !$content_profile->moderate);
|
||||
$user_is_moderator = user_access('edit any profile content');
|
||||
|
|
Loading…
Reference in New Issue