[www-doc] [Git][VideoLAN.org/websites][master] Downloads: prettify the webpage

Jean-Baptiste Kempf gitlab at videolan.org
Wed Jan 9 18:37:40 CET 2019


Jean-Baptiste Kempf pushed to branch master at VideoLAN organization / websites


Commits:
6d9c22ed by Jean-Baptiste Kempf at 2019-01-09T17:37:31Z
Downloads: prettify the webpage

- - - - -


1 changed file:

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


Changes:

=====================================
www.videolan.org/vlc/stats/downloads.php
=====================================
@@ -197,6 +197,12 @@
                     "2.2.6"   => array( "Windows" => 0,                 "Macintosh" => 0,                   "Total" => 0 ),
                     "2.2.7"   => array( "Windows" => 0,                 "Macintosh" => 0,                   "Total" => 0 ),
                     "2.2.8"   => array( "Windows" => 0,                 "Macintosh" => 0,                   "Total" => 0 ),
+                    "3.0.0"   => array( "Windows" => 0,                 "Macintosh" => 0,                   "Total" => 0 ),
+                    "3.0.1"   => array( "Windows" => 0,                 "Macintosh" => 0,                   "Total" => 0 ),
+                    "3.0.2"   => array( "Windows" => 0,                 "Macintosh" => 0,                   "Total" => 0 ),
+                    "3.0.3"   => array( "Windows" => 0,                 "Macintosh" => 0,                   "Total" => 0 ),
+                    "3.0.4"   => array( "Windows" => 0,                 "Macintosh" => 0,                   "Total" => 0 ),
+                    "3.0.5"   => array( "Windows" => 0,                 "Macintosh" => 0,                   "Total" => 0 ),
     );
 
     $table = array_merge( $table_old, $table_sf );
@@ -486,34 +492,30 @@
         echo "</tr>\n";
     }
 
-    $android_old = 77956777;
-    $android_new = 163799330;
+    // Android Installs by users (downloads are higher)
+    $android_old = 77956940;
+    $android_new = 163917190;
     echo "
-<tr><td>  </td></tr>
-<tr><td class=\"category\" style=\"text-align: left;\"><strong>Android Beta</strong></td>
-<td></td>
-<td></td>
-<td></td>
-<td style=\"text-align: right;\">$android_old</td>
-</tr>";
+    <tr><td>  </td></tr>
+    <tr><td class=\"category\" style=\"text-align: left;\"><strong>Android Beta</strong></td>
+    <td></td><td></td><td></td>";
+    f($android_old);
+    echo "</tr>";
 
     echo "
-<tr><td class=\"category\" style=\"text-align: left;\"><strong>Android App</strong></td>
-<td></td>
-<td></td>
-<td></td>
-<td style=\"text-align: right;\">$android_new</td>
-</tr>";
+    <tr><td class=\"category\" style=\"text-align: left;\"><strong>Android App</strong></td>
+    <td></td><td></td><td></td>";
+    f($android_new);
+    echo "</tr>";
 
+    // iOS
     $ios_new = 25041841;
 
     echo "
-<tr><td class=\"category\" style=\"text-align: left;\"><strong>iOS App</strong></td>
-<td></td>
-<td></td>
-<td></td>
-<td style=\"text-align: right;\">$ios_new</td>
-</tr>";
+    <tr><td class=\"category\" style=\"text-align: left;\"><strong>iOS App</strong></td>
+    <td></td><td></td><td></td>";
+    f($ios_new);
+    echo "</tr>";
 
     $maxtotal = $wintotal + $mactotal + $srctotal + $android_old + $android_new + $ios_new;
     echo "



View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/commit/6d9c22ed1f3d9d9a5f63bd9d56b68c83ea8ed5e5

-- 
View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/commit/6d9c22ed1f3d9d9a5f63bd9d56b68c83ea8ed5e5
You're receiving this email because of your account on code.videolan.org.


More information about the www-doc mailing list