From e4f360505466d4701ea4ac8f8bec18fac5b4c3ec Mon Sep 17 00:00:00 2001 From: redmatrix Date: Tue, 29 Mar 2016 14:14:17 -0700 Subject: add page title to the html title --- mod/page.php | 3 +++ version.inc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/mod/page.php b/mod/page.php index ae572ca1e..d4aefc1cd 100644 --- a/mod/page.php +++ b/mod/page.php @@ -91,6 +91,9 @@ function page_init(&$a) { return; } + if($r[0]['title']) + $a->page['title'] = escape_tags($r[0]['title']); + if($r[0]['item_type'] == ITEM_TYPE_PDL) { require_once('include/comanche.php'); comanche_parser(get_app(),$r[0]['body']); diff --git a/version.inc b/version.inc index 78cecd709..60ac151ba 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2016-03-28.1349H +2016-03-29.1350H -- cgit v1.2.3