Fixes some HTML5 errors #4400

skala
Julio Montoya 13 years ago
parent fe60131f16
commit ec742a0dc3
  1. 4
      main/inc/lib/display.lib.php
  2. 6
      main/template/default/layout/head.tpl
  3. 13
      main/template/default/layout/main_header.tpl

@ -328,7 +328,7 @@ class Display {
$message = api_htmlentities($message, ENT_QUOTES, api_is_xml_http_request() ? 'UTF-8' : api_get_system_encoding());
//$message = Security::remove_XSS($message);
}
$class = " ";
$class = "";
switch($type) {
case 'warning':
$class .= 'warning-message';
@ -345,7 +345,7 @@ class Display {
default:
$class .= 'normal-message';
}
return self::div($message, array('class'=>$class));
return self::div($message, array('class'=> $class));
}
/**

@ -2,14 +2,13 @@
<link href="http://www.chamilo.org/documentation.php" rel="Help" />
<link href="http://www.chamilo.org/team.php" rel="Author" />
<link href="http://www.chamilo.org" rel="Copyright" />
<!-- <link rel="top" href="{$_p.web_main}index.php" title="" />
<link rel="courses" href="{$_p.web_main}auth/courses.php" title="{"OtherCourses"|get_lang}"/>
<link rel="profil" href="{$_p.web_main}auth/profile.php" title="{"ModifyProfile"|get_lang}"/> -->
<meta name="Generator" content="{$_s.software_name} {$_s.system_version|substr:0:1}" />
<meta charset="{$system_charset}" />
<meta http-equiv="content-language" content="{$document_language}">
<meta charset="{$system_charset}" />
<title>{$title_string}</title>
<style type="text/css" media="screen, projection">
@ -47,7 +46,6 @@ var online_button = '{$online_button}';
var offline_button = '{$offline_button}';
var connect_lang = '{"ChatConnected"|get_lang}';
var disconnect_lang = '{"ChatDisconnected"|get_lang}';
</script>
{$js_file_to_string}

@ -1,15 +1,15 @@
<!DOCTYPE html>
<html>
<html lang="{$document_language}">
<head>
{include file="default/layout/head.tpl"}
</head>
<body dir="{$text_direction}" class="{$section_name}">
<div class="skip">
<ul>
<li><a href="#menu">{"WCAGGoMenu"|get_lang}</a></li>
<li><a href="#content" accesskey="2">{"WCAGGoContent"|get_lang}</a></li>
</ul>
<ul>
<li><a href="#menu">{"WCAGGoMenu"|get_lang}</a></li>
<li><a href="#content" accesskey="2">{"WCAGGoContent"|get_lang}</a></li>
</ul>
</div>
<div id="wrapper">
@ -27,8 +27,7 @@
{* header1 - logo *}
<div id="header1">
{$header1}
</div>
</div>
{$plugin_header}
{* header 2 - right menu (notifications) *}

Loading…
Cancel
Save