aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorAndrew Manning <andrewmanning@grid.reticu.li>2017-08-24 18:57:41 +0000
committerAndrew Manning <andrewmanning@grid.reticu.li>2017-08-24 18:57:41 +0000
commitcf2609530fcffdc7f5477336232b7cfde8b6403f (patch)
treef93c35c66cbc636a92ba53ca3bb60e6c8fbe38b7 /Zotlabs
parent592cf893c006f24c652902fa4fae7d2d94496c3c (diff)
downloadvolse-hubzilla-cf2609530fcffdc7f5477336232b7cfde8b6403f.tar.gz
volse-hubzilla-cf2609530fcffdc7f5477336232b7cfde8b6403f.tar.bz2
volse-hubzilla-cf2609530fcffdc7f5477336232b7cfde8b6403f.zip
Added language selector menu for Help pages
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Help.php5
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
));
}