]> git.mxchange.org Git - friendica.git/blobdiff - mod/update_profile.php
group select on network page
[friendica.git] / mod / update_profile.php
index a0cb10f5d3584483182ff652ef9d77ad621a20ea..367a5568d85636403d0bfe40069b03825178cf71 100644 (file)
@@ -6,9 +6,12 @@ require_once('mod/profile.php');
 
 function update_profile_content(&$a) {
 
-       echo "<html>\r\n";
-       echo profile_content($a,true);
-       echo "</html>\r\n";
+       header("Content-type: text/html");
+       echo "<!DOCTYPE html><html><body>\r\n";
+       echo (($_GET['msie'] == 1) ? '<div>' : '<section>');
+       echo str_replace("\t",'       ',profile_content($a,true));
+       echo (($_GET['msie'] == 1) ? '</div>' : '</section>');
+       echo "</body></html>\r\n";
        killme();
 
 }
\ No newline at end of file