aboutsummaryrefslogtreecommitdiffstats
path: root/include/nav.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-03 18:48:01 -0700
committerfriendica <info@friendica.com>2013-09-03 18:48:01 -0700
commitc6df954fc00e4fdc7e2888e7dc3fe3a7c8f930e4 (patch)
tree7c4db0180b6b5e6b6d2de9678dbb467e8c30fb9e /include/nav.php
parent879ac359523623d779f3097e5aa02937d6518950 (diff)
downloadvolse-hubzilla-c6df954fc00e4fdc7e2888e7dc3fe3a7c8f930e4.tar.gz
volse-hubzilla-c6df954fc00e4fdc7e2888e7dc3fe3a7c8f930e4.tar.bz2
volse-hubzilla-c6df954fc00e4fdc7e2888e7dc3fe3a7c8f930e4.zip
make displaying the language selector configurable
Diffstat (limited to 'include/nav.php')
-rw-r--r--include/nav.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nav.php b/include/nav.php
index 626caf981..dd11f10d5 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -200,7 +200,7 @@ EOT;
$a->page['nav'] .= replace_macros($tpl, array(
'$baseurl' => $a->get_baseurl(),
- '$langselector' => lang_selector(),
+ '$langselector' => ((get_config('system','select_language')) ? lang_selector() : ''),
'$sitelocation' => $sitelocation,
'$nav' => $nav,
'$banner' => $banner,