[www-doc] [Git][VideoLAN.org/websites][master] videolan.org: Change doctype to HTML5, remove XHTML namespace/language

Marvin Scholz gitlab at videolan.org
Sat Jan 14 17:16:52 CET 2017


Marvin Scholz pushed to branch master at VideoLAN organization / websites


Commits:
e7bd2b5e by Marvin Scholz at 2017-01-14T17:13:05+01:00
videolan.org: Change doctype to HTML5, remove XHTML namespace/language

- - - - -


1 changed file:

- www.videolan.org/include/header.php


Changes:

=====================================
www.videolan.org/include/header.php
=====================================
--- a/www.videolan.org/include/header.php
+++ b/www.videolan.org/include/header.php
@@ -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



View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/commit/e7bd2b5eab2077048f38e528691641edbfb5c8af
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/www-doc/attachments/20170114/7f0d872e/attachment.html>


More information about the www-doc mailing list