From: ArthurHoaro Date: Tue, 28 Mar 2017 18:51:11 +0000 (+0200) Subject: Display daily date in the page title (browser title) X-Git-Tag: v0.9.0~19^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=935222b8b2d9744511cc95b2b5c17f555503582e;hp=b64d83cd2b60b6851741787f8ce2ae2c93092841;p=github%2Fshaarli%2FShaarli.git Display daily date in the page title (browser title) Fixes #211 Depends on #838 --- diff --git a/index.php b/index.php index 5c21c2f6..259d017c 100644 --- a/index.php +++ b/index.php @@ -695,6 +695,7 @@ function showDaily($pageBuilder, $LINKSDB, $conf, $pluginManager) $dayDate = DateTime::createFromFormat(LinkDB::LINK_DATE_FORMAT, $day.'_000000'); $data = array( + 'pagetitle' => $conf->get('general.title') .' - '. format_date($dayDate, false), 'linksToDisplay' => $linksToDisplay, 'cols' => $columns, 'day' => $dayDate->getTimestamp(),