Merge pull request #20251 from larssandergreen/change-registration-button-text
[civicrm-core.git] / templates / CRM / Block / LangSwitch.tpl
CommitLineData
6a488035
TO
1{*
2 +--------------------------------------------------------------------+
1188c7a8 3 | Copyright CiviCRM LLC. All rights reserved. |
6a488035 4 | |
1188c7a8
TO
5 | This work is published under the GNU AGPLv3 license with some |
6 | permitted exceptions and without any warranty. For full license |
7 | and copyright information, see https://civicrm.org/licensing |
6a488035
TO
8 +--------------------------------------------------------------------+
9*}
faed105b 10{if $langSwitch|@count > 1}
6a488035 11 <form action="#">
bf2ab287 12 <select name="lcMessages" onchange="window.location='{crmURL q="$queryString"}'+this.value">
6a488035
TO
13 {foreach from=$langSwitch item=language key=locale}
14 <option value="{$locale}" {if $locale == $tsLocale}selected="selected"{/if}>{$language}</option>
15 {/foreach}
16 </select>
17 </form>
18{/if}