added todo
parent
82418d8d1a
commit
4bffffc256
|
|
@ -478,4 +478,3 @@ function fileToLastSet($file){
|
||||||
$temp=explode(";",$last);
|
$temp=explode(";",$last);
|
||||||
return $temp[0];
|
return $temp[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -66,6 +66,7 @@ if($mode==1){
|
||||||
}else{
|
}else{
|
||||||
$date=array($_GET['year'],$_GET['month'],$_GET['day']);
|
$date=array($_GET['year'],$_GET['month'],$_GET['day']);
|
||||||
$future=false;
|
$future=false;
|
||||||
|
#TODO: replace logic?
|
||||||
if($_GET['year']>$today[2]){
|
if($_GET['year']>$today[2]){
|
||||||
$future=true;
|
$future=true;
|
||||||
}else{
|
}else{
|
||||||
|
|
@ -98,5 +99,3 @@ $runtime=microtime(true)-$start;
|
||||||
$html.="<div style='position:fixed;bottom:20px;right:50px;' >Runtime: ".$runtime." s</div>";
|
$html.="<div style='position:fixed;bottom:20px;right:50px;' >Runtime: ".$runtime." s</div>";
|
||||||
$html.=$calendar."</body>";
|
$html.=$calendar."</body>";
|
||||||
echo $html;
|
echo $html;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue