From ec1ef8e7bbe343227b71f57490464f669cb64b80 Mon Sep 17 00:00:00 2001 From: Manuel Hiebel Date: Thu, 29 Nov 2018 15:53:40 +0100 Subject: Use correct url iso name for classical install still in version 6, not 6.1 --- en/6/download_index.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'en/6/download_index.php') diff --git a/en/6/download_index.php b/en/6/download_index.php index 36d0bce9e..2dc82b5e7 100644 --- a/en/6/download_index.php +++ b/en/6/download_index.php @@ -1,7 +1,8 @@ ' + '-'; - file = $('#live').is(':checked') ? format + '-' + desktop + '-' + arch + '-' + 'DVD.iso' : $('#classical').is(':checked') ? arch + '-' + format + '.iso' : format + nat + arch + '-CD.iso'; - file = (this.id == 'torrentlink') ? getname + file + '&torrent=1' : getname + file ; + + getnameOld ='' + '-'; + file = $('#live').is(':checked') ? getname + format + '-' + desktop + '-' + arch + '-' + 'DVD.iso' : $('#classical').is(':checked') ? getnameOld + arch + '-' + format + '.iso' : getname + format + nat + arch + '-CD.iso'; + + file = $('#live').is(':checked') ? getname + format + '-' + desktop + '-' + arch + '-' + 'DVD.iso' : $('#classical').is(':checked') ? getname + arch + '-' + format + '.iso' : getname + format + nat + arch + '-CD.iso'; + + file = (this.id == 'torrentlink') ? file + '&torrent=1' : file ; $("a.btn").attr('href','../downloads/get/?q=' + file); }); -- cgit v1.2.1