Răsfoiți Sursa

Adding missing <html> tag.

Julio Montoya 11 ani în urmă
părinte
comite
daa4116bcc
2 a modificat fișierele cu 7 adăugiri și 1 ștergeri
  1. 1 1
      main/chat/chat.php
  2. 6 0
      main/chat/header_frame.inc.php

+ 1 - 1
main/chat/chat.php

@@ -31,7 +31,6 @@ if ($origin != 'whoisonline') {
 /*  TRACKING */
 
 event_access_tool(TOOL_CHAT);
-
 header('Content-Type: text/html; charset='.api_get_system_encoding());
 
 /*
@@ -48,6 +47,7 @@ $cidreq = Security::remove_XSS($_GET['cidReq']);
 
 ?>
 <!DOCTYPE html>
+<html>
 <head>
 <meta charset="<?php echo api_get_system_encoding(); ?>" />
 <?php

+ 6 - 0
main/chat/header_frame.inc.php

@@ -40,12 +40,18 @@ $chat_size_new = isset($chat_size_new) ? $chat_size_new : null;
 $connected_new = isset($connected_new) ? $connected_new : null;
 $connected_old = isset($connected_old) ? $connected_old : null;
 
+header('Content-Type: text/html; charset='.api_get_system_encoding());
+
 ?><!DOCTYPE html>
+<html>
 <head>
     <meta charset="<?php echo api_get_system_encoding(); ?>" />
     <title>Chat</title>
     <link rel="stylesheet" type="text/css" href="<?php echo api_get_path(WEB_CSS_PATH).$my_style; ?>/default.css">
     <style>
+        a {
+            font-size: 12px;
+        }
         .background_submit {
             background: url(../img/chat_little.gif) 2px 2px no-repeat;
             padding: 2px 1px 1px 20px;