diff options
author | Andrew Manning <andrewmanning@grid.reticu.li> | 2017-08-24 18:57:41 +0000 |
---|---|---|
committer | Andrew Manning <andrewmanning@grid.reticu.li> | 2017-08-24 18:57:41 +0000 |
commit | cf2609530fcffdc7f5477336232b7cfde8b6403f (patch) | |
tree | f93c35c66cbc636a92ba53ca3bb60e6c8fbe38b7 /Zotlabs/Module/Help.php | |
parent | 592cf893c006f24c652902fa4fae7d2d94496c3c (diff) | |
download | volse-hubzilla-cf2609530fcffdc7f5477336232b7cfde8b6403f.tar.gz volse-hubzilla-cf2609530fcffdc7f5477336232b7cfde8b6403f.tar.bz2 volse-hubzilla-cf2609530fcffdc7f5477336232b7cfde8b6403f.zip |
Added language selector menu for Help pages
Diffstat (limited to 'Zotlabs/Module/Help.php')
-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 )); } |