Commit Graph
6 Commits
Author SHA1 Message Date
Filippos Karapetis a6b133059b WEB: Don't use undefined variables when the user-agent can't be matched 2013-11-13 13:06:44 +02:00
Filippos Karapetis 5d372e6411 WEB: Only show the recommended d/l button if a user agent match is found
Also, the creation of the button itself has been pushed to Javascript.
The recommended d/l section is now only shown if JS is enabled and an
appropriate user-agent has been matched
2013-11-08 11:13:02 +02:00
Filippos Karapetis 3bbb230b3d WEB: Generate the list of recommended downloads from the XML data
Add a new XML field, "user_agent", used to find the user agent string
where the download item in question will be suggested to the user. Only
items with the "user_agent" field can be provided as recommended
downloads
2013-11-08 02:49:25 +02:00
Filippos Karapetis 21b8849eaf WEB: Cleanup download paths for the recommended download 2013-11-05 04:24:50 +02:00
Filippos Karapetis c2724c75ea WEB: Bugfix for the default value of the recommended download 2013-11-05 03:45:27 +02:00
Filippos Karapetis 83631f7eb0 WEB: Add a "Recommended download" button to the downloads page
The idea has been taken and adapted from the VideoLAN web site
(http://www.videolan.org). A big 'download' button is shown,
which links to the most appropriate version for the user, depending
on the OS reported by the user's browser. Only OSes with a browser
have been added. Known browser user-agent strings have been taken
from http://user-agent-string.info/list-of-ua/os
2013-11-05 02:23:13 +02:00