[www-doc] [Git][VideoLAN.org/websites][master] close div even if not at end of news file

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


Christoph Miebach pushed to branch master at VideoLAN organization / websites


Commits:
e6990d34 by Christoph Miebach at 2017-01-16T14:38:44-05:00
close div even if not at end of news file

- - - - -


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
@@ -82,7 +82,10 @@
                 if($max != 0 ) echo '<div class="horizontalRule"></div>';
                 if( $mockup ) echo "</td>";
 
-                if($max == 0) return;
+                if($max == 0) {
+                    echo ('</div><!-- news are en only -->');
+                    return;
+                }
                 $msg="";
              }
             $msg.=" ".$line;



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


More information about the www-doc mailing list