[www-doc] [Git][VideoLAN.org/websites][master] development blogs are english only

Christoph Miebach gitlab at videolan.org
Mon Jan 16 18:50:10 CET 2017


Christoph Miebach pushed to branch master at VideoLAN organization / websites


Commits:
e25233ec by Christoph Miebach at 2017-01-16T12:50:05-05:00
development blogs are english only

- - - - -


1 changed file:

- www.videolan.org/index.php


Changes:

=====================================
www.videolan.org/index.php
=====================================
--- a/www.videolan.org/index.php
+++ b/www.videolan.org/index.php
@@ -218,7 +218,7 @@ include($_SERVER["DOCUMENT_ROOT"] . "/include/magpierss/rss_fetch.inc");
         <div class="col-md-6">
             <h1 style='margin-bottom: 13px;'><a href="http://planet.videolan.org"><?php echo _("Development Blogs"); ?></a></h1>
 
-            <div>
+            <div lang="en">
                 <?php
                 define('MAGPIE_INPUT_ENCODING', 'UTF-8');
                 define('MAGPIE_OUTPUT_ENCODING', 'UTF-8');
@@ -229,9 +229,9 @@ include($_SERVER["DOCUMENT_ROOT"] . "/include/magpierss/rss_fetch.inc");
                 $columns = 1;
                 foreach ($rss->items as $item) {
                     if (isset($item['link'])) {
-                        echo "<p style='direction:ltr; text-align:left;'>";
+                        echo "<p dir='ltr' style='text-align:left;'>";
                         echo "<b><a href=\"" . $item['link'] . '" style="color: black;">' . htmlentities($item['title'], ENT_COMPAT, "UTF-8") . "</a></b></p>";
-                        echo '<p style="border-bottom: 1px dashed #CCC;padding-bottom:5px;margin-bottom:5px;direction:ltr; text-align:left;">';
+                        echo '<p dir='ltr' style="border-bottom: 1px dashed #CCC;padding-bottom:5px;margin-bottom:5px; text-align:left;">';
                         echo substr(strip_tags(html_entity_decode($item['content']['encoded'], ENT_COMPAT, "UTF-8")), 0, $chars_per_entry);
                         echo "<a href=\"" . $item['link'] . "\">[...]</a><br/>";
                         echo "</p>";



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


More information about the www-doc mailing list