aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-03-28 20:51:11 +0200
committerArthurHoaro <arthur@hoa.ro>2017-03-28 20:51:11 +0200
commit935222b8b2d9744511cc95b2b5c17f555503582e (patch)
tree88faf6c65b2547a4285ed171aa73b0447d476c9b /index.php
parentb64d83cd2b60b6851741787f8ce2ae2c93092841 (diff)
downloadShaarli-935222b8b2d9744511cc95b2b5c17f555503582e.tar.gz
Shaarli-935222b8b2d9744511cc95b2b5c17f555503582e.tar.zst
Shaarli-935222b8b2d9744511cc95b2b5c17f555503582e.zip
Display daily date in the page title (browser title)
Fixes #211 Depends on #838
Diffstat (limited to 'index.php')
-rw-r--r--index.php1
1 files changed, 1 insertions, 0 deletions
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)
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(),