[www-doc] [Git][VideoLAN.org/websites][master] fix stupid php error

Christoph Miebach gitlab at videolan.org
Mon Jan 16 11:38:16 CET 2017


Christoph Miebach pushed to branch master at VideoLAN organization / websites


Commits:
b1a01f56 by Christoph Miebach at 2017-01-16T05:38:11-05:00
fix stupid php error

- - - - -


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
@@ -26,8 +26,6 @@
     }
     </script>
     <?php
-    echo ("<span dir='ltr' lang='en'>");
-
     $file=fopen("news.msg","r");
     $count = 0;
     $msg = "";
@@ -35,6 +33,8 @@
     if(!$file)
       return(0);
 
+    echo ("<span dir='ltr' lang='en'>");
+
     while( !feof($file) )
     {
         $line=ereg_replace("\n","",fgets($file,4096));
@@ -92,5 +92,4 @@
 function shownews_mockup($style,$max) {
     shownews($style,$max,true);
 }
-</span>
 ?>



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


More information about the www-doc mailing list