aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-03-29 14:14:17 -0700
committerredmatrix <git@macgirvin.com>2016-03-29 14:14:17 -0700
commite4f360505466d4701ea4ac8f8bec18fac5b4c3ec (patch)
tree34732b5489f3af3700c17b41b32efe2f9545c719 /mod
parentf65ede9c38b52e9585c4db8440156b41f9083687 (diff)
downloadvolse-hubzilla-e4f360505466d4701ea4ac8f8bec18fac5b4c3ec.tar.gz
volse-hubzilla-e4f360505466d4701ea4ac8f8bec18fac5b4c3ec.tar.bz2
volse-hubzilla-e4f360505466d4701ea4ac8f8bec18fac5b4c3ec.zip
add page title to the html title
Diffstat (limited to 'mod')
-rw-r--r--mod/page.php3
1 files changed, 3 insertions, 0 deletions
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']);