
<form action="" method="post">
<div class="header">{#Settings_languages_a#}</div>
<div class="subheaders">{#Settings_languagea_inf#}</div>
<table width="100%"  border="0" cellpadding="3" cellspacing="0" class="tableborder">
 <tr class="firstrow">
   <td width="100" class="headers">{#Settings_language_lang#}</td>
 <th width="140" class="headers">{#Global_Active#}</th>
   <td class="headers">{#Global_Position#}</td>
 </tr>
 {foreach from=$languages item=c}
 <tr class="{cycle name=pm values='first,second'}">
   <td width="100">
   <input type="hidden" name="Sprache[{$c->Id}]" value="{$c->Sprachcode}" />
   <input type="hidden" name="Sprachcode[{$c->Id}]" value="{$c->Sprachcode}" />
   {foreach from=$folders item=f}
    {if $f->Name==$c->Sprachcode}{$f->Long}{/if}
    {/foreach}   </td>
<td width="140" align="center">

{if $c->Id==1}
<input type="hidden" name="Aktiv[{$c->Id}]" value="1" />
{#Yes#}
{else}

{if $c->Exists==1}
  <label><input type="radio" name="Aktiv[{$c->Id}]" value="1" {if $c->Aktiv==1}checked="checked"{/if}>{#Yes#}</label>  <label><input type="radio" name="Aktiv[{$c->Id}]" value="2" {if $c->Aktiv!=1}checked="checked"{/if}>{#No#}</label>
{else}
<input type="hidden" name="Aktiv[{$c->Id}]" value="0" />
<em>{#Settings_languages_ni#}</em>
{/if}
{/if}

</td>
<td><input name="Posi[{$c->Id}]" type="text" class="input" id="Posi[{$c->Id}]" style="width:40px" value="{$c->Posi}" maxlength="2"></td>
 </tr>
{/foreach}
</table>
<input name="save" type="hidden" value="1" />
<input type="submit" value="{#Save#}" class="button big">
</form>



