put_item_in_cache($item, true);
$s = $item["rendered-html"];
- //require_once("mod/proxy.php");
- //$s = proxy_parse_html($s);
-
$prep_arr = array('item' => $item, 'html' => $s, 'preview' => $preview);
call_hooks('prepare_body', $prep_arr);
$s = $prep_arr['html'];
if (count($r)) {
$profiledata["photo"] = proxy_url($r[0]["photo"]);
- $profiledata["address"] = proxy_parse_html(bbcode($r[0]["location"]));
- $profiledata["about"] = proxy_parse_html(bbcode($r[0]["about"]));
+ $profiledata["address"] = bbcode($r[0]["location"]);
+ $profiledata["about"] = bbcode($r[0]["about"]);
if ($r[0]["nick"] != "")
$profiledata["nickname"] = $r[0]["nick"];
}
if ($profiledata["photo"] == "")
$profiledata["photo"] = proxy_url($r[0]["avatar"]);
if ($profiledata["address"] == "")
- $profiledata["address"] = proxy_parse_html(bbcode($r[0]["location"]));
+ $profiledata["address"] = bbcode($r[0]["location"]);
if ($profiledata["about"] == "")
- $profiledata["about"] = proxy_parse_html(bbcode($r[0]["about"]));
+ $profiledata["about"] = bbcode($r[0]["about"]);
if (($profiledata["nickname"] == "") AND ($r[0]["nick"] != ""))
$profiledata["nickname"] = $r[0]["nick"];
}
$r = q("SELECT `avatar`, `nick`, `location`, `about` FROM `unique_contacts` WHERE `url` = '%s'", dbesc(normalise_link($profiledata["url"])));
if (count($r)) {
$profiledata["photo"] = proxy_url($r[0]["avatar"]);
- $profiledata["address"] = proxy_parse_html(bbcode($r[0]["location"]));
- $profiledata["about"] = proxy_parse_html(bbcode($r[0]["about"]));
+ $profiledata["address"] = bbcode($r[0]["location"]);
+ $profiledata["about"] = bbcode($r[0]["about"]);
if ($r[0]["nick"] != "")
$profiledata["nickname"] = $r[0]["nick"];
}
'$request' => $request,
'$location' => bbcode($r[0]["location"]),
'$location_label' => t("Location:"),
- '$about' => proxy_parse_html(bbcode($r[0]["about"], false, false)),
+ '$about' => bbcode($r[0]["about"], false, false),
'$about_label' => t("About:"),
'$keywords' => $r[0]["keywords"],
'$keywords_label' => t("Tags:")
'$fullname' => $rr['name'],
'$location' => bbcode($rr['glocation'], false, false),
'$location_label' => t('Location:'),
- '$about' => proxy_parse_html(bbcode($rr['gabout'], false, false)),
+ '$about' => bbcode($rr['gabout'], false, false),
'$about_label' => t('About:'),
'$keywords' => $rr['gkeywords'],
'$keywords_label' => t('Tags:'),