aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Manning <andrew@reticu.li>2016-12-03 15:17:31 -0500
committerAndrew Manning <andrew@reticu.li>2016-12-03 15:17:31 -0500
commit153cd0a2059296efbcb0bc2cd20e165ebf33f2e2 (patch)
treec233d027b1546f6688c00a8b26ad45c873cf5a7f
parent8e6ff32c97fe6abbbc93e3d7d2769142c285b948 (diff)
downloadvolse-hubzilla-153cd0a2059296efbcb0bc2cd20e165ebf33f2e2.tar.gz
volse-hubzilla-153cd0a2059296efbcb0bc2cd20e165ebf33f2e2.tar.bz2
volse-hubzilla-153cd0a2059296efbcb0bc2cd20e165ebf33f2e2.zip
Remove classes from the doco content region to simplify the appearance. Instead of loading /doc/main.bb, redirect to /doc/about/about_hubzilla/. These edits are minimal for demo purposes and not the proper way to do it.
-rw-r--r--include/help.php1
-rw-r--r--view/tpl/help.tpl7
2 files changed, 3 insertions, 5 deletions
diff --git a/include/help.php b/include/help.php
index 6efeeb57e..03d01d1a1 100644
--- a/include/help.php
+++ b/include/help.php
@@ -55,6 +55,7 @@ function get_help_content($tocpath = false) {
if(! $text) {
$doctype = 'bbcode';
$text = load_doc_file('doc/main.bb');
+ goaway('/help/about/about_hubzilla');
\App::$page['title'] = t('Help');
}
diff --git a/view/tpl/help.tpl b/view/tpl/help.tpl
index 96d52e0e9..de4b53ab0 100644
--- a/view/tpl/help.tpl
+++ b/view/tpl/help.tpl
@@ -1,8 +1,5 @@
-<div id="help-content" class="generic-content-wrapper">
- <div class="section-title-wrapper" style="display: none;">
- <h2>{{$title}}</h2>
- </div>
- <div class="section-content-wrapper" id="doco-content">
+<div id="help-content" class="">
+ <div id="doco-content">
{{$content}}
</div>
</div>