[www-doc] [Git][VideoLAN.org/websites][master] comment on closing tag

Christoph Miebach gitlab at videolan.org
Mon Jan 16 14:17:53 CET 2017


Christoph Miebach pushed to branch master at VideoLAN organization / websites


Commits:
64933e0f by Christoph Miebach at 2017-01-16T08:14:34-05:00
comment on closing tag

- - - - -


1 changed file:

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


Changes:

=====================================
www.videolan.org/include/news.php
=====================================
--- a/www.videolan.org/include/news.php
+++ b/www.videolan.org/include/news.php
@@ -6,6 +6,8 @@
  */
     function shownews($style,$max,$mockup=false) {
     ?>
+    <div dir="ltr" lang="en">
+
     <script type="text/javascript">
     function toggle(count) {
         var text = "news-span-"+count;
@@ -33,8 +35,6 @@
     if(!$file)
       return(0);
 
-    echo ("<div dir='ltr' lang='en'>");
-
     while( !feof($file) )
     {
         $line=ereg_replace("\n","",fgets($file,4096));
@@ -86,7 +86,7 @@
         }
     }
     fclose($file);
-    echo ("</div><!-- english only news -->");
+    echo "</div><!-- english only -->";
 }
 
 function shownews_mockup($style,$max) {



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


More information about the www-doc mailing list