diff options
author | zotlabs <mike@macgirvin.com> | 2017-04-26 20:11:12 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-04-26 20:11:12 -0700 |
commit | 88149f56bb2d2fb8f4a02cc320e5ba83435d8acc (patch) | |
tree | 8fd1c67cc364af4dee4ce81cd37befe4a9857e44 /include/conversation.php | |
parent | 6fcfab34883e5e93e9438ed4872de304e22b0f00 (diff) | |
parent | 1c304eb8ba5395e62c0245133d58a3f00adaeaac (diff) | |
download | volse-hubzilla-88149f56bb2d2fb8f4a02cc320e5ba83435d8acc.tar.gz volse-hubzilla-88149f56bb2d2fb8f4a02cc320e5ba83435d8acc.tar.bz2 volse-hubzilla-88149f56bb2d2fb8f4a02cc320e5ba83435d8acc.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'include/conversation.php')
-rw-r--r-- | include/conversation.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/conversation.php b/include/conversation.php index 93a6d7406..b6832e22c 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1533,6 +1533,15 @@ function prepare_page($item) { // the template will get passed an unobscured title. $body = prepare_body($item, true); + if(App::$page['template'] == 'none') { + $tpl = 'page_display_empty.tpl'; + + return replace_macros(get_markup_template($tpl), array( + '$body' => $body['html'] + )); + + } + $tpl = get_pconfig($item['uid'], 'system', 'pagetemplate'); if (! $tpl) $tpl = 'page_display.tpl'; |