人人商城

access.html 3.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {template 'common/header-gw'}
  2. <ol class="breadcrumb">
  3. <li><a href="./?refresh"><i class="fa fa-home"></i></a></li>
  4. <li><a href="{url 'system/welcome'}">系统</a></li>
  5. <li class="active">注册选项</li>
  6. </ol>
  7. <ul class="nav nav-tabs">
  8. <li class="active"><a href="{php echo url('user/registerset');}">注册选项</a></li>
  9. </ul>
  10. <div class="clearfix">
  11. <h5 class="page-header">注册设置</h5>
  12. <form action="" method="post" class="form-horizontal" role="form">
  13. <div class="form-group">
  14. <label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">是否开启用户注册</label>
  15. <div class="col-sm-9 col-xs-12">
  16. <label for="isshow1" class="radio-inline"><input type="radio" name="open" value="1" id="isshow1" {if !empty($settings['open'])} checked{/if}> 是</label>&nbsp;&nbsp;&nbsp;
  17. <label for="isshow2" class="radio-inline"><input type="radio" name="open" value="0" id="isshow2" {if empty($settings['open'])} checked{/if}> 否</label>
  18. <div class="help-block"></div>
  19. </div>
  20. </div>
  21. <div class="form-group">
  22. <label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">是否审核新用户</label>
  23. <div class="col-sm-9 col-xs-12">
  24. <label for="isshow3" class="radio-inline"><input type="radio" name="verify" value="1" id="isshow3"{if !empty($settings['verify'])} checked{/if}> 是</label>&nbsp;&nbsp;&nbsp;
  25. <label for="isshow4" class="radio-inline"><input type="radio" name="verify" value="0" id="isshow4"{if empty($settings['verify'])} checked{/if}> 否</label>
  26. <span class="help-block"></span>
  27. </div>
  28. </div>
  29. <div class="form-group">
  30. <label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">启用注册验证码</label>
  31. <div class="col-sm-9 col-xs-12">
  32. <label for="isshow5" class="radio-inline"><input type="radio" name="code" value="1" id="isshow5"{if !empty($settings['code'])} checked{/if}> 是</label>&nbsp;&nbsp;&nbsp;
  33. <label for="isshow6" class="radio-inline"><input type="radio" name="code" value="0" id="isshow6"{if empty($settings['code'])} checked{/if}> 否</label>
  34. <span class="help-block"></span>
  35. </div>
  36. </div>
  37. <div class="form-group">
  38. <label class="col-xs-12 col-sm-3 col-md-2 col-lg-2 control-label">默认所属用户组</label>
  39. <div class="col-sm-9 col-xs-12">
  40. <select name="groupid" class="form-control">
  41. <option value="0">请选择所属用户组</option>
  42. {loop $groups $row}
  43. <option value="{$row['id']}" {if $settings['groupid'] == $row['id']}selected{/if}>{$row['name']}</option>
  44. {/loop}
  45. </select>
  46. <span class="help-block">当开启用户注册后,新注册用户将会分配到该用户组里,并直接拥有该组的模块操作权限。</span>
  47. </div>
  48. </div>
  49. <div class="form-group">
  50. <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">
  51. <input name="submit" type="submit" value="提交" class="btn btn-primary span3" />
  52. <input type="hidden" name="token" value="{$_W['token']}" />
  53. </div>
  54. </div>
  55. </form>
  56. </div>
  57. {template 'common/footer-gw'}