[www-doc] [Git][VideoLAN.org/websites][master] stats: iterate

Felix Paul Kühne gitlab at videolan.org
Mon Feb 15 10:33:23 CET 2016


Felix Paul Kühne pushed to branch master at VideoLAN organization / websites


Commits:
8a5468cc by Felix Paul Kühne at 2016-02-15T10:33:17Z
stats: iterate

- - - - -


1 changed file:

- www.videolan.org/vlc/stats/downloads.php


Changes:

=====================================
www.videolan.org/vlc/stats/downloads.php
=====================================
--- a/www.videolan.org/vlc/stats/downloads.php
+++ b/www.videolan.org/vlc/stats/downloads.php
@@ -3,6 +3,7 @@
     $lang = "en";
     $menu = array( "vlc", "overview" );
     require($_SERVER["DOCUMENT_ROOT"]."/include/header.php");
+    require($_SERVER["DOCUMENT_ROOT"]."/include/os-specific.php");
 ?>
 
 <script>
@@ -34,7 +35,7 @@
     <p>We don't show statistics for GNU/Linux, iOS, Android, Chrome OS or Windows Phone as most downloads for those
        platforms are made through distributions or app stores.</p>
 
-    <p align="center" id="wscounter"></p>
+    <p>Our latest release, version <?php echo $version ?>, was downloaded <b><span id"wscounter"></span></b> times so far!</p>
 
     <?php image('events/2billion.png', '2 billion downloads', 'announce-img'); ?>
 



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


More information about the www-doc mailing list