Нет описания
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

vertify_users_retrieve_password.htm 6.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. {include file="header.htm" /}
  2. <body style="background-color: #FFF; overflow: auto;">
  3. <div id="toolTipLayer" style="position: absolute; z-index: 9999; display: none; visibility: visible; left: 95px; top: 573px;"></div>
  4. <div id="append_parent"></div>
  5. <div id="ajaxwaitid"></div>
  6. <div class="page">
  7. {include file="vertify_bar.htm" /}
  8. <form class="form-horizontal" id="post_form" action="" method="post">
  9. <div class="ncap-form-default">
  10. <dl class="row">
  11. <dt class="tit">
  12. <label for="adminlogin_is_on">是否启用</label>
  13. </dt>
  14. <dd class="opt">
  15. <div class="onoff">
  16. <label for="adminlogin_is_on1" class="cb-enable {if condition='!empty($row.is_on)'}selected{/if}">启用</label>
  17. <label for="adminlogin_is_on0" class="cb-disable {if condition='empty($row.is_on)'}selected{/if}">关闭</label>
  18. <input id="adminlogin_is_on1" name="captcha[users_retrieve_password][is_on]" value="1" type="radio" {if condition='!empty($row.is_on)'}checked="checked"{/if}>
  19. <input id="adminlogin_is_on0" name="captcha[users_retrieve_password][is_on]" value="0" type="radio" {if condition='empty($row.is_on)'}checked="checked"{/if}>
  20. </div>
  21. <span class="err"></span>
  22. <p class="notic"></p>
  23. </dd>
  24. </dl>
  25. <dl class="row">
  26. <dt class="tit">
  27. <label for="adminlogin_codeSet">预置字符</label>
  28. </dt>
  29. <dd class="opt">
  30. <input type="text" name="captcha[users_retrieve_password][config][codeSet]" placeholder="验证码预置字符" value="{$row.config.codeSet|default=$row.default.codeSet}" id="codeSet" class="input-txt" onkeyup="this.value=this.value.replace(/[^\w]/g,'');" onpaste="this.value=this.value.replace(/[^\w]/g,'')">
  31. <span class="err"></span>
  32. <p class="notic"></p>
  33. </dd>
  34. </dl>
  35. <dl class="row">
  36. <dt class="tit">
  37. <label for="adminlogin_fontSize">字号大小</label>
  38. </dt>
  39. <dd class="opt">
  40. <input type="text" name="captcha[users_retrieve_password][config][fontSize]" placeholder="验证码字体大小(px)" value="{$row.config.fontSize|default=$row.default.fontSize}" id="fontSize" class="input-txt">
  41. <span class="err"></span>
  42. <p class="notic"></p>
  43. </dd>
  44. </dl>
  45. <dl class="row">
  46. <dt class="tit">
  47. <label for="adminlogin_useCurve">混淆曲线</label>
  48. </dt>
  49. <dd class="opt">
  50. <div class="onoff">
  51. <label for="adminlogin_useCurve1" class="cb-enable {if condition="$row.config.useCurve == '1'"}selected{/if}">开</label>
  52. <label for="adminlogin_useCurve0" class="cb-disable {if condition="empty($row.config.useCurve)"}selected{/if}">关</label>
  53. <input id="adminlogin_useCurve1" name="captcha[users_retrieve_password][config][useCurve]" value="1" type="radio" {if condition="$row.config.useCurve == '1'"}checked="checked"{/if}>
  54. <input id="adminlogin_useCurve0" name="captcha[users_retrieve_password][config][useCurve]" value="0" type="radio" {if condition="empty($row.config.useCurve)"}checked="checked"{/if}>
  55. </div>
  56. <span class="err"></span>
  57. <p class="notic"></p>
  58. </dd>
  59. </dl>
  60. <dl class="row">
  61. <dt class="tit">
  62. <label for="adminlogin_useNoise">添加杂点</label>
  63. </dt>
  64. <dd class="opt">
  65. <div class="onoff">
  66. <label for="adminlogin_useNoise1" class="cb-enable {if condition="$row.config.useNoise == '1'"}selected{/if}">是</label>
  67. <label for="adminlogin_useNoise0" class="cb-disable {if condition="empty($row.config.useNoise)"}selected{/if}">否</label>
  68. <input id="adminlogin_useNoise1" name="captcha[users_retrieve_password][config][useNoise]" value="1" type="radio" {if condition="$row.config.useNoise == '1'"}checked="checked"{/if}>
  69. <input id="adminlogin_useNoise0" name="captcha[users_retrieve_password][config][useNoise]" value="0" type="radio" {if condition="empty($row.config.useNoise)"}checked="checked"{/if}>
  70. </div>
  71. <span class="err"></span>
  72. <p class="notic"></p>
  73. </dd>
  74. </dl>
  75. <dl class="row">
  76. <dt class="tit">
  77. <label for="adminlogin_length">显示位数</label>
  78. </dt>
  79. <dd class="opt">
  80. <input type="text" name="captcha[users_retrieve_password][config][length]" placeholder="验证码图片高度" value="{$row.config.length|default=$row.default.length}" id="length" class="input-txt" onkeyup="this.value=this.value.replace(/[^0-9]/g,'');" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/\[^0-9]/g,''));">
  81. <span class="err"></span>
  82. <p class="notic"></p>
  83. </dd>
  84. </dl>
  85. <div class="bot">
  86. <input type="hidden" name="inc_type" id="inc_type" value="{$inc_type|default='default'}">
  87. <a href="JavaScript:void(0);" onclick="checkForm();" class="ncap-btn-big ncap-btn-green" id="submitBtn">确认提交</a>
  88. </div>
  89. </div>
  90. </form>
  91. </div>
  92. <script type="text/javascript">
  93. // 判断输入框是否为空
  94. function checkForm(){
  95. if($('#codeSet').val() == ''){
  96. showErrorMsg('预置字符不能为空');
  97. $('#codeSet').focus();
  98. return false;
  99. }
  100. if($('#fontSize').val() == '' || 0 == $('#fontSize').val()){
  101. showErrorMsg('字体大小必须大于0');
  102. $('#fontSize').focus();
  103. return false;
  104. }
  105. if($('#length').val() == '' || 0 == $('#length').val()){
  106. showErrorMsg('显示位数必须大于0');
  107. $('#length').focus();
  108. return false;
  109. } else if ($('#length').val() > 8) {
  110. showErrorMsg('显示位数不能大于8');
  111. $('#length').focus();
  112. return false;
  113. }
  114. layer_loading('正在处理');
  115. $('#post_form').submit();
  116. }
  117. </script>
  118. {include file="footer.htm" /}