user-setting.html 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {template 'common/header'}
  2. {template 'system/user-setting-header'}
  3. <form action="" method="post" class="we7-form">
  4. {if $do == 'login'}
  5. <div id="login">
  6. <div class="form-group">
  7. <label class="col-sm-2 control-label" style="text-align:left;">图形验证码</label>
  8. <div class="col-sm-8 form-control-static">
  9. <input type="radio" id="verifycode-1" name="verifycode" {if $settings['verifycode'] == 1} checked="checked" {/if} value="1" />
  10. <label class="radio-inline" for="verifycode-1">
  11. 开启
  12. </label>
  13. <input type="radio" id="verifycode-0" name="verifycode" {if $settings['verifycode'] == 0} checked="checked" {/if} value="0" />
  14. <label class="radio-inline" for="verifycode-0">
  15. 关闭
  16. </label>
  17. <span class="help-block"> 开启后,用户登录需要输入图形验证码</span>
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="col-sm-2 control-label" style="text-align:left;">用户首页设置</label>
  22. <div class="col-sm-8">
  23. <select name="welcome_link" class="form-control">
  24. <option value="{WELCOME_DISPLAY_TYPE}" {if $settings['welcome_link']==WELCOME_DISPLAY_TYPE}selected{/if}>用户欢迎页</option>
  25. <option value="{PLATFORM_DISPLAY_TYPE}" {if $settings['welcome_link']==PLATFORM_DISPLAY_TYPE}selected{/if}>平台</option>
  26. </select>
  27. <div class="help-block">统一设置用户登录后跳转的页面,用户也可以自行设置,以用户设置的为准</div>
  28. </div>
  29. </div>
  30. </div>
  31. {/if}
  32. {if $do == 'binding'}
  33. <div id="binding">
  34. <div class="form-group">
  35. <label class="col-sm-2 control-label" style="text-align:left;">强制绑定信息</label>
  36. <div class="col-sm-8 form-control-static">
  37. <input type="radio" id="bind_status-0" name="bind" value="" {if empty($settings['bind'])}checked{/if}/>
  38. <label class="radio-inline" for="bind_status-0">
  39. </label>
  40. <input type="radio" id="bind_status-1" name="bind" value="qq" {if $settings['bind'] == 'qq'}checked{/if}/>
  41. <label class="radio-inline" for="bind_status-1">
  42. qq
  43. </label>
  44. <input type="radio" id="bind_status-2" name="bind" value="wechat" {if $settings['bind'] == 'wechat'}checked{/if}/>
  45. <label class="radio-inline" for="bind_status-2">
  46. 微信
  47. </label>
  48. <input type="radio" id="bind_status-3" name="bind" value="mobile" {if $settings['bind'] == 'mobile'}checked{/if}/>
  49. <label class="radio-inline" for="bind_status-3">
  50. 手机号
  51. </label>
  52. <span class="help-block"> 选择后,用户登录后,将强制绑定所选方式</span>
  53. </div>
  54. </div>
  55. <div class="form-group">
  56. <label class="col-sm-2 control-label" style="text-align:left;">第三方登录入口</label>
  57. <div class="col-sm-8 form-control-static">
  58. <input type="radio" name="oauth_bind" id="oauth_bind-1" value="1" {if $settings['oauth_bind'] == 1}checked{/if} />
  59. <label class="radio-inline" for="oauth_bind-1">
  60. </label>
  61. <input type="radio" name="oauth_bind" id="oauth_bind-0" value="0" {if $settings['oauth_bind'] == 0}checked{/if}/>
  62. <label class="radio-inline" for="oauth_bind-0">
  63. </label>
  64. <div class="help-block">开启后,登录页面显示第三方登录入口,可以登录已关联账户或注册新帐号</div>
  65. </div>
  66. </div>
  67. </div>
  68. {/if}
  69. <input type="submit" name="submit" value="提交" class="btn btn-primary" style="padding: 6px 50px;">
  70. <input type="hidden" name="token" value="{$_W['token']}" />
  71. </form>
  72. {template 'common/footer'}