Merge pull request #6008 from eileenmcnaughton/tests
[civicrm-core.git] / templates / CRM / Block / LangSwitch.tpl
index 0c02cf258b6b825965f7fd89543b78e6a4cbcb9c..40ad083efb4d72ce653e416c8ff4f6d199ab9325 100644 (file)
@@ -1,8 +1,8 @@
 {*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -25,7 +25,7 @@
 *}
 {if isset($langSwitch) and $langSwitch|@count > 1}
   <form action="#">
-    <select name="lcMessages" onchange="window.location='{crmURL p="civicrm/admin" q="lcMessages="}'+this.value">
+    <select name="lcMessages" onchange="window.location='{crmURL q="$queryString"}'+this.value">
       {foreach from=$langSwitch item=language key=locale}
         <option value="{$locale}" {if $locale == $tsLocale}selected="selected"{/if}>{$language}</option>
       {/foreach}