Added language selector menu for Help pages

This commit is contained in:
Andrew Manning
2017-08-24 18:57:41 +00:00
parent 592cf893c0
commit cf2609530f
4 changed files with 93 additions and 2 deletions

View File

@@ -88,12 +88,15 @@ class Help extends \Zotlabs\Web\Controller {
$heading = $headings[argv(1)];
$content = get_help_content();
$language = determine_help_language()['language'];
return replace_macros(get_markup_template('help.tpl'), array(
'$title' => t('$Projectname Documentation'),
'$tocHeading' => t('Contents'),
'$content' => $content,
'$heading' => $heading
'$heading' => $heading,
'$language' => $language
));
}