mirror of
https://gh.wpcy.net/https://github.com/netcccyun/easypanel.git
synced 2026-04-23 03:52:25 +08:00
42 lines
1.3 KiB
HTML
42 lines
1.3 KiB
HTML
{{include file='common/head.html'}}
|
|
{{if $msg}}
|
|
<div align="center">
|
|
<div class="block tb_wid2 mar_top" align="center">
|
|
<font color='red'>{{$msg}}</font>
|
|
</div>
|
|
</div>
|
|
{{/if}}
|
|
<div><br /></div>
|
|
<div align="center">
|
|
<div class="block tb_wid2">
|
|
<table id="table_2" cellpadding="0" cellspacing="1">
|
|
<form action='?c=setting&a=set&sub={{$sub}}' method='post'>
|
|
{{foreach item=e from=$env}}
|
|
|
|
<tr>
|
|
<td class="td_bgc right_2">{{$lang[$e.name]}}</td>
|
|
<td class="td_bgc right_2">
|
|
<input type='hidden' name='name[]' value='{{$e.name}}'/>
|
|
{{if $e.value.0=='TEXT'}}
|
|
<input type='text' name='{{$e.name}}' {{if $e.value.2}}size='{{$e.value.2}}'{{/if}} value='{{if !$e.password}}{{$val[$e.name].value}}{{/if}}'>
|
|
{{else if $e.value.0=='RADIO'}}
|
|
{{foreach item=v from=$e.value.1}}
|
|
<input type='radio' name='{{$e.name}}' {{if $val[$e.name].value==$v.1}}checked{{/if}} value='{{$v.1}}'>
|
|
{{$lang[$v.0]}}
|
|
{{/foreach}}
|
|
{{else if $e.value.0=='CHECKBOX'}}
|
|
CHECKBOX
|
|
{{/if}}
|
|
</td>
|
|
</tr>
|
|
{{/foreach}}
|
|
<tr>
|
|
<td colspan="2" class="td_bgc td_hg" align="center">
|
|
<input type='submit' value='设置'>
|
|
</td>
|
|
</tr>
|
|
</form>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
{{dispatch c='index' a='foot'}}
|