aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Helpindex.php
diff options
context:
space:
mode:
authorAndrew Manning <andrewmanning@grid.reticu.li>2017-08-25 11:32:18 +0000
committerAndrew Manning <andrewmanning@grid.reticu.li>2017-08-25 11:32:18 +0000
commit75f3e9202e191486b8c9079b08cc6de4e1251b8d (patch)
tree6cb75e7683e9309dab509395d8168fd56aecc35f /Zotlabs/Widget/Helpindex.php
parent90ec3340e44a3d3c69779f0db33ee49e864f326d (diff)
downloadvolse-hubzilla-75f3e9202e191486b8c9079b08cc6de4e1251b8d.tar.gz
volse-hubzilla-75f3e9202e191486b8c9079b08cc6de4e1251b8d.tar.bz2
volse-hubzilla-75f3e9202e191486b8c9079b08cc6de4e1251b8d.zip
Removed duplicated table of contents (TOC) in Help pages by breaking hierarchical TOC loading.
Diffstat (limited to 'Zotlabs/Widget/Helpindex.php')
-rw-r--r--Zotlabs/Widget/Helpindex.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Widget/Helpindex.php b/Zotlabs/Widget/Helpindex.php
index 8299cf16a..6c8748194 100644
--- a/Zotlabs/Widget/Helpindex.php
+++ b/Zotlabs/Widget/Helpindex.php
@@ -25,6 +25,7 @@ class Helpindex {
// TODO: Implement support for translations in hierarchical table of content files
+ /*
if(argc() > 2) {
$path = '';
for($x = 1; $x < argc(); $x ++) {
@@ -36,6 +37,7 @@ class Helpindex {
$levels[] = preg_replace('/\<ul(.*?)\>/','<ul class="nav nav-pills flex-column">',$y);
}
}
+ */
if($level_0)
$o .= $level_0;