sforkowany z mirror/friendica
Merge pull request #6548 from MrPetovan/bug/frio-fix-help-toc
[frio] Fix help TOC display2022.09-rc
commit
d0727e33d3
|
@ -84,7 +84,7 @@ function help_content(App $a)
|
|||
$level = intval($level);
|
||||
if ($level < $lastlevel) {
|
||||
for ($k = $level; $k < $lastlevel; $k++) {
|
||||
$toc .= "</ul>";
|
||||
$toc .= "</ul></li>";
|
||||
}
|
||||
|
||||
for ($k = $level + 1; $k < count($idnum); $k++) {
|
||||
|
@ -93,7 +93,7 @@ function help_content(App $a)
|
|||
}
|
||||
|
||||
if ($level > $lastlevel) {
|
||||
$toc .= "<ul>";
|
||||
$toc .= "<li><ul>";
|
||||
}
|
||||
|
||||
$idnum[$level] ++;
|
||||
|
|
Ładowanie…
Reference in New Issue