As a first shot, this script hides unwanted list items. Bad: It still ignores .debs and langpacks. Good: Does not require any change on the page, but adding the code itself.
function get_item_recommendation() { var ua = navigator.userAgent; if (ua.indexOf('Win') > -1) return 'win32'; if (ua.indexOf('Mac') > -1) return 'mac'; if (ua.indexOf('x86_64') > -1) return 'linux64'; return 'linux32'; } function hide_items() { var items = Array('win32', 'linux32', 'linux64', 'mac', 'source'); var rec = get_item_recommendation(); for (var i = 0; i < items.length; i++) { if (items[i] != rec) document.getElementsByClassName('dlnav-' + items[i])[0].style.display = 'none'; } } document.addEventListener('DOMContentLoaded', hide_items, false); Test http://vipinnova.com/libreoffice/download/transitional/ On Tue, Dec 7, 2010 at 1:14 PM, Christian Lohmaier <lohmaier+ooofut...@googlemail.com> wrote: > Hi *, > > On Tue, Dec 7, 2010 at 1:10 PM, Stefan Weigel > <stefan.wei...@bildungskreis.org> wrote: >> Am 07.12.2010 12:34, schrieb David Nelson: >> >>> Our users are *not* supposed to be downloading from the test site. >> >> I do not propose that users download from the test site. I am asking >> for quick improvement of the currently official download page >> http://www.documentfoundation.org/download/. >> >>> test.libreoffice.org is a test and staging facility >> >> No, it´s the construction site. > > Yes, exactly. When going live just the "test" will be removed from the > URL, but the contents will be the same. > >> The test site is: http://pumbaa.ooodev.org:7780 > > Correct again. All technical stuff affecting the CMS will be tried out > there before going live. > Also if you want to try major changes to the theme (the css), I'm > happy to try them out on pumbaa first. > > ciao > Christian > > -- > Unsubscribe instructions: E-mail to website+h...@libreoffice.org > List archive: http://www.libreoffice.org/lists/website/ > *** All posts to this list are publicly archived for eternity *** > > -- "Make sure that Office documents very well depends on PROPRIETARY IE capabilities." Bill Gates, 1998. -- Unsubscribe instructions: E-mail to website+h...@libreoffice.org List archive: http://www.libreoffice.org/lists/website/ *** All posts to this list are publicly archived for eternity ***