3 // See update_profile.php for documentation
5 require_once('mod/network.php');
8 function update_network_content(&$a) {
10 header("Content-type: text/html");
11 echo "<!DOCTYPE html><html><body>\r\n";
12 echo (($_GET['msie'] == 1) ? '<div>' : '<section>');
15 $text = network_content($a,true);
16 $pattern = "/<img([^>]*) src=\"([^\"]*)\"/";
17 $replace = "<img\${1} dst=\"\${2}\"";
18 $text = preg_replace($pattern, $replace, $text);
20 echo str_replace("\t",' ',$text);
21 echo (($_GET['msie'] == 1) ? '</div>' : '</section>');
22 echo "</body></html>\r\n";