diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-03-29 18:38:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-29 18:38:52 +0200 |
commit | e96be632f5a7e8a8d39d99526ddd028084653b2f (patch) | |
tree | 978c88832501e6bb3e7fc87ce7b7dba84fc90c6f | |
parent | f9c179ce07ed924a55700416a75a05ca3acd7b09 (diff) | |
parent | 935222b8b2d9744511cc95b2b5c17f555503582e (diff) | |
download | Shaarli-e96be632f5a7e8a8d39d99526ddd028084653b2f.tar.gz Shaarli-e96be632f5a7e8a8d39d99526ddd028084653b2f.tar.zst Shaarli-e96be632f5a7e8a8d39d99526ddd028084653b2f.zip |
Merge pull request #839 from ArthurHoaro/theme/daily-page-title
Display daily date in the page title (browser title)
-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(), |