diff --git a/panels/topListe/getTasks.php b/panels/topListe/getTasks.php index 8dce5a57346d86280d73e7590a26388958388195..dc10d563346f39f58a736ed6bf9960cb11622d4e 100644 --- a/panels/topListe/getTasks.php +++ b/panels/topListe/getTasks.php @@ -1,4 +1,4 @@ -<?php - - +<?php + + ?> \ No newline at end of file diff --git a/panels/ufc/script.js b/panels/ufc/script.js index ba8a426795696b0ca844ab6b4ddbd319e544ff0e..688a8e45a1ca51fbafa177da8916c079ea2481e2 100644 --- a/panels/ufc/script.js +++ b/panels/ufc/script.js @@ -31,12 +31,12 @@ this.checkShowCondition=function() { } this.dow = function(d) { - if (typeof(d)!='number' || d <= 0 || d >= 7) + if (typeof(d)!='number' || d < 0 || d >= 7) return undefined; return ["So","Mo","Di","Mi","Do","Fr,","Sa"][d]; } this.getLongMonth = function(month){ - if (typeof(month)!='number' || month <= 0 || month >= 12) + if (typeof(month)!='number' || month < 0 || month >= 12) return undefined; return ["Januar","Feburar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"][month]; } @@ -65,7 +65,7 @@ this.show=function() { tag = tag < 10 ? "0" + tag : tag; h = h < 10 ? "0" + h : h; m = m < 10 ? "0" + m : m; - + zeitDiv.text( this.dow(d.getDay()) + ", " + tag + ". " +