mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 15:16:30 +02:00
Issue #2970 Blog Calendar Menu fix for Bootstrap 4
This commit is contained in:
@@ -141,7 +141,7 @@ function calendar($req_day, $req_month, $req_year, $links = NULL, $ws = "sunday"
|
|||||||
if(deftrue('BOOTSTRAP'))
|
if(deftrue('BOOTSTRAP'))
|
||||||
{
|
{
|
||||||
$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 carousel-item {$active}'>";
|
||||||
$text .= "<h5>".$marray[$req_month]." ".$req_year."</h5>";
|
$text .= "<h5>".$marray[$req_month]." ".$req_year."</h5>";
|
||||||
$text .= $calendar;
|
$text .= $calendar;
|
||||||
$text .= "</div>";
|
$text .= "</div>";
|
||||||
|
Reference in New Issue
Block a user