Display daily date in the page title (browser title)
Fixes #211 Depends on #838
This commit is contained in:
parent
b64d83cd2b
commit
935222b8b2
1 changed files with 1 additions and 0 deletions
|
@ -695,6 +695,7 @@ function showDaily($pageBuilder, $LINKSDB, $conf, $pluginManager)
|
||||||
|
|
||||||
$dayDate = DateTime::createFromFormat(LinkDB::LINK_DATE_FORMAT, $day.'_000000');
|
$dayDate = DateTime::createFromFormat(LinkDB::LINK_DATE_FORMAT, $day.'_000000');
|
||||||
$data = array(
|
$data = array(
|
||||||
|
'pagetitle' => $conf->get('general.title') .' - '. format_date($dayDate, false),
|
||||||
'linksToDisplay' => $linksToDisplay,
|
'linksToDisplay' => $linksToDisplay,
|
||||||
'cols' => $columns,
|
'cols' => $columns,
|
||||||
'day' => $dayDate->getTimestamp(),
|
'day' => $dayDate->getTimestamp(),
|
||||||
|
|
Loading…
Reference in a new issue