aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Render/Comanche.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-10-09 15:14:44 -0700
committerzotlabs <mike@macgirvin.com>2017-10-09 15:14:44 -0700
commit87970491441cb15462d3fe7a7641d2f2755cb45b (patch)
tree455abf25ed534ddcadfd595f3484c4ef6ff74a2a /Zotlabs/Render/Comanche.php
parent09009d4b32d5014d77de941dba695fe2bc577616 (diff)
parentcc1ffff7cdfe5881636b6d2de3fe16f0094b5d69 (diff)
downloadvolse-hubzilla-87970491441cb15462d3fe7a7641d2f2755cb45b.tar.gz
volse-hubzilla-87970491441cb15462d3fe7a7641d2f2755cb45b.tar.bz2
volse-hubzilla-87970491441cb15462d3fe7a7641d2f2755cb45b.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'Zotlabs/Render/Comanche.php')
-rw-r--r--Zotlabs/Render/Comanche.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/Zotlabs/Render/Comanche.php b/Zotlabs/Render/Comanche.php
index d126cb3da..ca664cba6 100644
--- a/Zotlabs/Render/Comanche.php
+++ b/Zotlabs/Render/Comanche.php
@@ -121,6 +121,11 @@ class Comanche {
if($cnt)
\App::$layout['theme'] = trim($matches[1]);
+ $cnt = preg_match("/\[navbar\](.*?)\[\/navbar\]/ism", $s, $matches);
+ if($cnt)
+ \App::$layout['navbar'] = trim($matches[1]);
+
+
$cnt = preg_match_all("/\[webpage\](.*?)\[\/webpage\]/ism", $s, $matches, PREG_SET_ORDER);
if($cnt) {
// only the last webpage definition is used if there is more than one