mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
parent
4265dc5171
commit
63ebe9d251
@ -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' : '';
|
||||
$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 .= "</div>";
|
||||
}
|
||||
@ -153,4 +153,4 @@ function calendar($req_day, $req_month, $req_year, $links = NULL, $ws = "sunday"
|
||||
|
||||
return $text;
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user