mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
@@ -142,7 +142,7 @@ function calendar($req_day, $req_month, $req_year, $links = NULL, $ws = "sunday"
|
|||||||
{
|
{
|
||||||
$active = date("n-Y") == ($req_month."-".$req_year) ? 'active' : '';
|
$active = date("n-Y") == ($req_month."-".$req_year) ? 'active' : '';
|
||||||
$text = "<div class='item {$active}'>";
|
$text = "<div class='item {$active}'>";
|
||||||
$text .= "<h5>".$marray[$req_month]." ".$req_year."</h5>";
|
$text .= "<h5>".$marray[$req_month - 1]." ".$req_year."</h5>";
|
||||||
$text .= $calendar;
|
$text .= $calendar;
|
||||||
$text .= "</div>";
|
$text .= "</div>";
|
||||||
}
|
}
|
||||||
@@ -153,4 +153,4 @@ function calendar($req_day, $req_month, $req_year, $links = NULL, $ws = "sunday"
|
|||||||
|
|
||||||
return $text;
|
return $text;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user