diff options
author | git-marijus <mario@mariovavti.com> | 2017-08-24 21:58:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-24 21:58:44 +0200 |
commit | 9cb856d5fd1505577fb50de299a63ef4ac7b5783 (patch) | |
tree | ad24adea25fbc6649a102f14889729661013c386 /Zotlabs | |
parent | 2d5768b71c0fa588524849749cfb0b6ffe6300b7 (diff) | |
parent | 90ec3340e44a3d3c69779f0db33ee49e864f326d (diff) | |
download | volse-hubzilla-9cb856d5fd1505577fb50de299a63ef4ac7b5783.tar.gz volse-hubzilla-9cb856d5fd1505577fb50de299a63ef4ac7b5783.tar.bz2 volse-hubzilla-9cb856d5fd1505577fb50de299a63ef4ac7b5783.zip |
Merge pull request #849 from anaqreon/doco
Added language selector menu for Help pages
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Help.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Zotlabs/Module/Help.php b/Zotlabs/Module/Help.php index e98cb9d4d..f3cc3aa5f 100644 --- a/Zotlabs/Module/Help.php +++ b/Zotlabs/Module/Help.php @@ -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 )); } |