[www-doc] [Git][VideoLAN.org/websites][master] 2 commits: videolan.org: Remove Content-Language http-equiv meta tag

Marvin Scholz gitlab at videolan.org
Sat Jan 14 19:28:39 CET 2017


Marvin Scholz pushed to branch master at VideoLAN organization / websites


Commits:
1d6906d4 by Marvin Scholz at 2017-01-14T19:28:35+01:00
videolan.org: Remove Content-Language http-equiv meta tag

- - - - -
448840c4 by Marvin Scholz at 2017-01-14T19:28:35+01:00
videolan.org: Small php codestyle cleanup in header.php

- - - - -


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
@@ -132,13 +132,10 @@ function start_head( $title,
     <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
-            if ($new_design) {
-                echo '<meta http-equiv="X-UA-Compatible" content="IE=edge" />';
-                echo '<meta name="viewport" content="width=device-width, initial-scale=1" />';
-            }
-        ?>
-        <meta http-equiv="Content-Language" content="<?php echo $language?>" />
+        <?php if ($new_design): ?>
+            <meta http-equiv="X-UA-Compatible" content="IE=edge" />
+            <meta name="viewport" content="width=device-width, initial-scale=1" />
+        <?php endif; ?>
 
         <meta name="Author" content="VideoLAN" />
         <meta name="Keywords" content="VideoLAN, VLC, VLC player, VLC media player, download,



View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/compare/4fe9a90a5515ae38e50ef9b71c3e1dc76ec1a460...448840c42db2607467ea1b1b670063f2b074e926
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/www-doc/attachments/20170114/44e5d0d8/attachment.html>


More information about the www-doc mailing list