aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-03-29 18:38:52 +0200
committerGitHub <noreply@github.com>2017-03-29 18:38:52 +0200
commite96be632f5a7e8a8d39d99526ddd028084653b2f (patch)
tree978c88832501e6bb3e7fc87ce7b7dba84fc90c6f
parentf9c179ce07ed924a55700416a75a05ca3acd7b09 (diff)
parent935222b8b2d9744511cc95b2b5c17f555503582e (diff)
downloadShaarli-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.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.php b/index.php
index 4a1f00cc..ca998885 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(),