Commit e7bd2b5e authored by Marvin Scholz's avatar Marvin Scholz

videolan.org: Change doctype to HTML5, remove XHTML namespace/language

parent 2d423f24
......@@ -127,15 +127,9 @@ function start_head( $title,
bindtextdomain("website", $_SERVER["DOCUMENT_ROOT"]."/locale");
textdomain("website");
}
/* We love xml, right? */
echo '<?xml version="1.0" encoding="utf-8" ?>'."\n"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $language?>" lang="<?php echo $language?>"
<?php if ( isRTL( $language ) ) { echo ' dir="rtl"'; } ?>
>
?>
<!DOCTYPE html>
<html lang="<?php echo $language?>" <?php if ( isRTL( $language ) ) { echo ' dir="rtl"'; } ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment