From 2e93ab867c55d1ad7e982520c22a191364663987 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Thu, 1 Jun 2017 23:45:35 +0200 Subject: [PATCH] Hide language switcher if only one locale is supported --- templates/inc/header.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/inc/header.tpl b/templates/inc/header.tpl index 3596b07..7ce65db 100644 --- a/templates/inc/header.tpl +++ b/templates/inc/header.tpl @@ -1,5 +1,5 @@
- {if isset($supportedLocales)} + {if isset($supportedLocales) AND count($supportedLocales) > 1}