diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-03-28 20:51:11 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2017-03-28 20:51:11 +0200 |
commit | 935222b8b2d9744511cc95b2b5c17f555503582e (patch) | |
tree | 88faf6c65b2547a4285ed171aa73b0447d476c9b | |
parent | b64d83cd2b60b6851741787f8ce2ae2c93092841 (diff) | |
download | Shaarli-935222b8b2d9744511cc95b2b5c17f555503582e.tar.gz Shaarli-935222b8b2d9744511cc95b2b5c17f555503582e.tar.zst Shaarli-935222b8b2d9744511cc95b2b5c17f555503582e.zip |
Display daily date in the page title (browser title)
Fixes #211
Depends on #838
-rw-r--r-- | index.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -695,6 +695,7 @@ function showDaily($pageBuilder, $LINKSDB, $conf, $pluginManager) | |||
695 | 695 | ||
696 | $dayDate = DateTime::createFromFormat(LinkDB::LINK_DATE_FORMAT, $day.'_000000'); | 696 | $dayDate = DateTime::createFromFormat(LinkDB::LINK_DATE_FORMAT, $day.'_000000'); |
697 | $data = array( | 697 | $data = array( |
698 | 'pagetitle' => $conf->get('general.title') .' - '. format_date($dayDate, false), | ||
698 | 'linksToDisplay' => $linksToDisplay, | 699 | 'linksToDisplay' => $linksToDisplay, |
699 | 'cols' => $columns, | 700 | 'cols' => $columns, |
700 | 'day' => $dayDate->getTimestamp(), | 701 | 'day' => $dayDate->getTimestamp(), |