1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- {template 'common/header-gw'}
- <ol class="breadcrumb">
- <li><a href="./?refresh"><i class="fa fa-home"></i></a></li>
- <li><a href="{url 'system/welcome'}">系统</a></li>
- <li class="active">注册选项</li>
- </ol>
- <ul class="nav nav-tabs">
- <li class="active"><a href="{php echo url('user/registerset');}">注册选项</a></li>
- </ul>
- <div class="clearfix">
- <h5 class="page-header">注册设置</h5>
- <form action="" method="post" class="form-horizontal" role="form">
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">是否开启用户注册</label>
- <div class="col-sm-9 col-xs-12">
- <label for="isshow1" class="radio-inline"><input type="radio" name="open" value="1" id="isshow1" {if !empty($settings['open'])} checked{/if}> 是</label>
- <label for="isshow2" class="radio-inline"><input type="radio" name="open" value="0" id="isshow2" {if empty($settings['open'])} checked{/if}> 否</label>
- <div class="help-block"></div>
- </div>
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">是否审核新用户</label>
- <div class="col-sm-9 col-xs-12">
- <label for="isshow3" class="radio-inline"><input type="radio" name="verify" value="1" id="isshow3"{if !empty($settings['verify'])} checked{/if}> 是</label>
- <label for="isshow4" class="radio-inline"><input type="radio" name="verify" value="0" id="isshow4"{if empty($settings['verify'])} checked{/if}> 否</label>
- <span class="help-block"></span>
- </div>
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">启用注册验证码</label>
- <div class="col-sm-9 col-xs-12">
- <label for="isshow5" class="radio-inline"><input type="radio" name="code" value="1" id="isshow5"{if !empty($settings['code'])} checked{/if}> 是</label>
- <label for="isshow6" class="radio-inline"><input type="radio" name="code" value="0" id="isshow6"{if empty($settings['code'])} checked{/if}> 否</label>
- <span class="help-block"></span>
- </div>
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">默认所属用户组</label>
- <div class="col-sm-9 col-xs-12">
- <select name="groupid" class="form-control">
- <option value="0">请选择所属用户组</option>
- {loop $groups $row}
- <option value="{$row['id']}" {if $settings['groupid'] == $row['id']}selected{/if}>{$row['name']}</option>
- {/loop}
- </select>
- <span class="help-block">当开启用户注册后,新注册用户将会分配到该用户组里,并直接拥有该组的模块操作权限。</span>
- </div>
- </div>
- <div class="form-group">
- <div class="col-sm-offset-3 col-md-offset-2 col-lg-offset-2 col-xs-12 col-sm-9 col-md-10 col-lg-10">
- <input name="submit" type="submit" value="提交" class="btn btn-primary span3" />
- <input type="hidden" name="token" value="{$_W['token']}" />
- </div>
- </div>
- </form>
- </div>
-
- {template 'common/footer-gw'}
|