mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 19:44:09 +02:00
Date Class terms() method corrected. 'months' now uses the correct key. terms() method usage updated throughout.
Chart Class debug() method added
This commit is contained in:
@@ -129,11 +129,11 @@ for($i = 1; $i <= 12; $i++)
|
||||
// href the current month regardless of newsposts or any month with news
|
||||
if (($req_year == $cur_year && $i == $cur_month) || $day_links[$i])
|
||||
{
|
||||
$archive .= "<a class='forumlink' href='".e107::getUrl()->create('news/list/month', 'id='.formatDate($req_year, $i))."'>".$marray[$i-1]."</a>";
|
||||
$archive .= "<a class='forumlink' href='".e107::getUrl()->create('news/list/month', 'id='.formatDate($req_year, $i))."'>".$marray[$i]."</a>";
|
||||
}
|
||||
else
|
||||
{
|
||||
$archive .= $marray[$i-1];
|
||||
$archive .= $marray[$i];
|
||||
}
|
||||
|
||||
$archive .= "</div>";
|
||||
|
Reference in New Issue
Block a user