aboutsummaryrefslogtreecommitdiffstats
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
parentf65ede9c38b52e9585c4db8440156b41f9083687 (diff)
downloadvolse-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.php3
-rw-r--r--version.inc2
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