]> git.mxchange.org Git - friendica.git/blobdiff - mod/help.php
Bugfix Diaspora: We exited with the wrong return values and the guid for messages...
[friendica.git] / mod / help.php
index 0512e0f2e0d1839391e2e2c34f95e510030920f4..1d5c831ef45ba32dab6297d22fcac25e8d609207 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+
+use Friendica\App;
+
 require_once('library/markdown.php');
 
 if (!function_exists('load_doc_file')) {
@@ -18,7 +21,7 @@ if (!function_exists('load_doc_file')) {
 
 }
 
-function help_content(&$a) {
+function help_content(App $a) {
 
        nav_set_selected('help');
 
@@ -87,7 +90,7 @@ function help_content(&$a) {
                for($k=0;$k<$lastlevel; $k++) $toc.="</ul>";
                $html = implode("\n",$lines);
 
-               $a->page['aside'] = $toc.$a->page['aside'];
+               $a->page['aside'] = '<section class="help-aside-wrapper">' . $toc . $a->page['aside'] . '</section>';
        }
 
        $html = "