blob: 5a50293f7c6cbe92dfa89dc2e47b3e53e9f14aa7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{* $Header$ *}
{strip}
{bitmodule title="$moduleTitle" name="switch_language_dropdown"}
{form method="get" ipackage='languages' ifile='switch_lang.php'}
<select name="language" onchange="this.form.submit();">
{foreach from=$languages item=proc key=langCode}
{if is_disabled ne 'y'}
<option value="{$langCode}"
{if $sel_lang eq $langCode}selected="selected"{/if}>
{$proc.native_name}
</option>
{/if}
{foreachelse}
<option>{tr}No records found{/tr}</option>
{/foreach}
</select>
<noscript>
<div class="form-group submit">
<input type="submit" value="{tr}Translate{/tr}" />
</div>
</noscript>
{/form}
{/bitmodule}
{/strip}
|