diff options
author | redmatrix <git@macgirvin.com> | 2016-03-29 14:14:17 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-03-29 14:14:17 -0700 |
commit | e4f360505466d4701ea4ac8f8bec18fac5b4c3ec (patch) | |
tree | 34732b5489f3af3700c17b41b32efe2f9545c719 | |
parent | f65ede9c38b52e9585c4db8440156b41f9083687 (diff) | |
download | volse-hubzilla-e4f360505466d4701ea4ac8f8bec18fac5b4c3ec.tar.gz volse-hubzilla-e4f360505466d4701ea4ac8f8bec18fac5b4c3ec.tar.bz2 volse-hubzilla-e4f360505466d4701ea4ac8f8bec18fac5b4c3ec.zip |
add page title to the html title
-rw-r--r-- | mod/page.php | 3 | ||||
-rw-r--r-- | version.inc | 2 |
2 files changed, 4 insertions, 1 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']); 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 |