]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Display daily date in the page title (browser title) 839/head
authorArthurHoaro <arthur@hoa.ro>
Tue, 28 Mar 2017 18:51:11 +0000 (20:51 +0200)
committerArthurHoaro <arthur@hoa.ro>
Tue, 28 Mar 2017 18:51:11 +0000 (20:51 +0200)
Fixes #211
Depends on #838

index.php

index 5c21c2f6a7f967c2f2f54e43225b22ec926248b5..259d017cb3c12ab4952567493934914f9b4275e2 100644 (file)
--- 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(),