<!--#
##
#	Project: PHPDISK File Storage Solution
#	This is NOT a freeware, use is subject to license terms.
#
#	Site: http://www.phpdisk.com
#
#	$Id: lang.tpl.html 2 2011-05-27 02:59:23Z along $
#
#	Copyright (C) 2008-2011 PHPDisk Team. All Rights Reserved.
#
##
#-->
<div id="container">
<h1>{$L['lang_list_title']}<!--#sitemap_tag($L['lang_list_title']);#--></h1>
<div class="tips_box"><img class="img_light" src="images/light.gif" align="absmiddle"> <b>{$L['tips']}: </b>
<span class="txtgray">{$L['lang_tips']}</span>
</div>
<form action="{#urr("admincp","item=lang")#}" method="post">
<input type="hidden" name="action" value=""/>
<input type="hidden" name="task" value="update"/>
<input type="hidden" name="formhash" value="{$formhash}" />
<table align="center" width="100%" cellpadding="4" cellspacing="0" border="0" class="td_line">
<tr>
	<td width="50%"><span class="bold">{$L['open_switch_langs']}</span>: <br /><span class="txtgray">{$L['open_switch_langs_tips']}</span></td>
	<td><input type="radio" name="setting[open_switch_langs]" value="1" {#ifchecked(1,$settings['open_switch_langs'])#} /> {$L['yes']}&nbsp;&nbsp;<input type="radio" name="setting[open_switch_langs]" value="0" {#ifchecked(0,$settings['open_switch_langs'])#}/> {$L['no']}</td>
</tr>
<tr>
	<td>&nbsp;</td>
	<td><input type="submit" class="btn" value="{$L['btn_submit']}" /></td>
</tr>
</table>
</form>
<br />
<table align="center" width="98%" cellpadding="4" cellspacing="0" border="0" class="td_line">
<tr>
	<td class="bold" width="180">{$L['lang_title']}</td>
	<td class="bold" width="120">{$L['lang_name']}</td>
	<td class="bold" width="50%">{$L['lang_des']}</td>
	<td class="bold" align="right" width="60">{$L['operation']}</td>
</tr>
<!--#
if(count($languages_arr)){
	foreach($languages_arr as $k => $v){
		$color = ($k%2 ==0) ? 'color1' :'color4';
#-->
<tr class="{$color}">
	<td class="f14">{$v['lang_title']}</td>
	<td><img src="languages/{$v['lang_dir']}/{$v['lang_dir']}.gif" align="absmiddle" border="0" />{$v['lang_dir']}</td>
	<td>
	<table>
		<tr>
			<td>{$v['lang_desc']}</td>
		</tr>
		<tr>
			<td>	
				<span class="txtgray">{$L['lang_author']}:</span><a href="{$v['lang_site']}" target="_blank">{$v['lang_author']}</a>&nbsp;
				<span class="txtgray">{$L['lang_version']}:{$v['lang_version']}</span>&nbsp;
				<span class="txtgray">{$L['phpdisk_core']}:{$v['phpdisk_core']}</span>
			</td>
		</tr>
	</table>
	</td>
	<td align="right">
	<!--# if($v['actived']){#-->
	<span class="txtgray">{$L['is_using']}</span>
	<!--# }else{#-->
	<a href="{#urr("admincp","item=lang&lang_name=".$v['lang_dir']."&action=active")#}" class="txtblue">{$L['set_default']}</a>
	<!--#}#-->
	</td>
</tr>
<!--#
	}
	unset($languages_arr);
}else{
#-->
<tr>
	<td colspan="5">{$L['lang_not_found']}</td>
</tr>
<!--#
}
#-->
</table>
</div>
