From 7a3ff1c6d4ee9a1c73f3679405ee7ebbf3559d04 Mon Sep 17 00:00:00 2001 From: "M. Voerman" Date: Sun, 13 Jul 2014 21:37:45 +0200 Subject: Fixed show timers info when using restfulapi --- index.html | 25 ++++++++++--------------- settings.js | 2 +- 2 files changed, 11 insertions(+), 16 deletions(-) diff --git a/index.html b/index.html index b6487be..f34c409 100644 --- a/index.html +++ b/index.html @@ -2886,7 +2886,7 @@ if(menu == 9) { // INFO2 Menu if (experimental) { htmltext += "\n \uE017 "; } else { htmltext += "\n \uE016 "; } htmltext += "Experimental"; if (Number(is.getObject("vip.testing2"))) { htmltext += "\n \uE017 "; } else { htmltext += "\n \uE016 "; } - htmltext += "Experimental 2"; + htmltext += "Experimental 2 (Info box 'not in package')"; if (smartTVplugin) { htmltext += "\n\n \uE017 "; } else { htmltext += "\n \uE016 "; } htmltext += "Has smartTVplugin" htmltext += "\n gettimers from"; @@ -3001,6 +3001,7 @@ try { timersDay[i] = x[i].getElementsByTagName("day")[0].childNodes[0].nodeValue; timersDays[i] = new Date(timersDay[i]*1000); timersDays[i] = timersDays[i].getDate() + "\uE003" + Left(months[timersDays[i].getMonth()],4); + timersFile[i] = x[i].getElementsByTagName("file")[0].childNodes[0].nodeValue + fill + fill; if (timersFlag[i] == "1") { timers[i] = "\uE003\uE00C\uE003"; @@ -3011,7 +3012,6 @@ try { } else { timers[i] = "\uE003?\uE003"; } - timersFile[i] = x[i].getElementsByTagName("file")[0].childNodes[0].nodeValue + fill + fill; timers[i] += timersDays[i] + "\uE003" + timersStrt[i] + "\uE003" + timersStop[i] + "\uE003" + Left(timersName[i],8) + "\uE003" + Left(timersFile[i],15) + "\n" ; timerOK = 1; @@ -3025,34 +3025,29 @@ try { maxTimers = x.length; for (var i=0;i