diff options
Diffstat (limited to 'mod/update_profile.php')
-rw-r--r-- | mod/update_profile.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/mod/update_profile.php b/mod/update_profile.php index a0cb10f5d..367a5568d 100644 --- a/mod/update_profile.php +++ b/mod/update_profile.php @@ -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 |