<form id="add_style_form" action="admin/ajax_group/add_style/" method="post" onsubmit="return false">
<tfoot class="mod-foot-center">
<tr>
<td colspan="3">
<div class="form-group col-sm-5">
<span class="col-sm-3 col-xs-12 mod-category-foot"><?php _e('风格标题'); ?></span>
<div class="col-sm-6 col-xs-12" style="width:75%">
<input type="text" class="form-control" name="style_name" />
</div>
</div>
</td>
<td>
<div class="form-group">
<span class="col-sm-3 col-xs-3 control-label"><?php _e('是否启用'); ?>:</span>
<div class="col-sm-6 col-xs-8">
<div class="btn-group mod-btn">
<label type="button" class="btn mod-btn-color">
<input type="radio" class="form-control" name="site_close" value="Y"<?php if ($this->setting['site_close'] == 'Y') { ?> checked="checked"<?php } ?> /> <?php _e('是'); ?>
</label>
<label type="button" class="btn mod-btn-color">
<input type="radio" class="form-control" name="site_close" value="N"<?php if ($this->setting['site_close'] != 'Y') { ?> checked="checked"<?php } ?> /> <?php _e('否'); ?>
</label>
</div>
</div>
</div>
</td>
<td>
<div class="col-sm-2 col-xs-12">
<a onclick="AWS.ajax_post($('#add_style_form'));" class="btn-primary btn"><?php _e('添加风格'); ?></a>
</div>
</td>
</tr>
</tfoot>
</form>
阅读全文
收起全文