[www-doc] [Git][VideoLAN.org/websites][master] Add windows Phone in the download dropdown

Jean-Baptiste Kempf gitlab at videolan.org
Mon May 9 14:15:48 CEST 2016


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


Commits:
9d719ad4 by David Loiret at 2016-05-09T14:15:41+02:00
Add windows Phone in the download dropdown

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

- - - - -


1 changed file:

- www.videolan.org/include/os-specific.php


Changes:

=====================================
www.videolan.org/include/os-specific.php
=====================================
--- a/www.videolan.org/include/os-specific.php
+++ b/www.videolan.org/include/os-specific.php
@@ -117,6 +117,11 @@ function getOS($os = null, $offset = 0, $count = null, $encode = null) {
             "latestVersion" => $win32version,
             "location"      => $windowsLocation
         ),
+        "windowsphone"      => array(
+            "name"          => "Windows Phone",
+            "latestVersion" => $winrtversion,
+            "location"      => "/vlc/download-windowsphone.html"
+        ),
         "osx"       => array(
             "name"          => "Mac OS X",
             "size"          => "33 MB",
@@ -195,11 +200,6 @@ function getOS($os = null, $offset = 0, $count = null, $encode = null) {
             "latestVersion" => $winrtversion,
             "location"      => "/vlc/download-winrt.html"
         ),
-        "windowsphone"      => array(
-            "name"          => "Windows Phone",
-            "latestVersion" => $winrtversion,
-            "location"      => "/vlc/download-windowsphone.html"
-        ),
         "chromeos"  => array(
             "name"          => "Chrome OS",
             "location"      => "/vlc/download-chromeos.html"
@@ -226,7 +226,7 @@ function downloadButton2($dropdownItems = null, $targetOS = null, $displayMainOS
     global $win32version;
     global $windowsLocation;
     global $osxLocation;
-    $dropdownItems = is_null($dropdownItems) ? getOS(null, 0, 5) : $dropdownItems;
+    $dropdownItems = is_null($dropdownItems) ? getOS(null, 0, 6) : $dropdownItems;
     $defaultOS = is_null($targetOS) || $targetOS == 'All' ? "windows" : $targetOS;
     $defaultDetail = getOS($defaultOS);
     ?>



View it on GitLab: https://code.videolan.org/VideoLAN.org/websites/commit/9d719ad480fe4a941cc99edafa8db3a9038678ac
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/www-doc/attachments/20160509/3666042b/attachment.html>


More information about the www-doc mailing list