You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
2.6 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. <div class="page-header">
  2. <h1 class="page-title">회원 설정</h1>
  3. </div>
  4. <?=form_open("admin/setting/update",array('class'=>'form-flex'))?>
  5. <input type="hidden" name="reurl" value="<?=base_url('admin/setting/member')?>">
  6. <div data-ax-tbl>
  7. <div data-ax-tr>
  8. <div data-ax-td>
  9. <div data-ax-td-label><?=$this->site->config('point_name')?></div>
  10. <div data-ax-td-wrap>
  11. <label class="w-radio"><input type="radio" class="radio-point-use" name="setting[point_use]" value="Y" <?=$this->site->config('point_use')=='Y'?'checked':''?>><span>사용</span></label>
  12. <label class="w-radio"><input type="radio" class="radio-point-use" name="setting[point_use]" value="N" <?=$this->site->config('point_use')=='N'?'checked':''?>><span>미사용</span></label>
  13. </div>
  14. </div>
  15. </div>
  16. <div id="point-fieldset">
  17. <div data-ax-tr>
  18. <div data-ax-td>
  19. <div data-ax-td-label><?=$this->site->config('point_name')?> 명칭</div>
  20. <div data-ax-td-wrap>
  21. <input class="form-control form-control-inline" name="setting[point_name]" value="<?=$this->site->config('point_name')?>">
  22. </div>
  23. </div>
  24. </div>
  25. <div data-ax-tr>
  26. <div data-ax-td>
  27. <div data-ax-td-label>회원가입 <?=$this->site->config('point_name')?></div>
  28. <div data-ax-td-wrap>
  29. <input class="form-control form-control-inline" name="setting[point_member_register]" value="<?=$this->site->config('point_member_register')?>">
  30. </div>
  31. </div>
  32. <div data-ax-td>
  33. <div data-ax-td-label>로그인 <?=$this->site->config('point_name')?></div>
  34. <div data-ax-td-wrap>
  35. <input class="form-control form-control-inline" name="setting[point_member_login]" value="<?=$this->site->config('point_member_login')?>">
  36. </div>
  37. </div>
  38. </div>
  39. </div>
  40. </div>
  41. <div class="text-center MT10">
  42. <button class="btn btn-primary">저장하기</button>
  43. </div>
  44. <?=form_close()?>
  45. <script>
  46. $(document).ready(function(){
  47. $('input[type=radio].radio-point-use').change(function(){
  48. if( $('input[type=radio].radio-point-use:checked').val() == 'Y' )
  49. {
  50. $('#point-fieldset').removeAttr('readonly');
  51. $('#point-fieldset .form-control').removeAttr('readonly');
  52. }
  53. else {
  54. $('#point-fieldset').attr('readonly','readonly');
  55. $('#point-fieldset .form-control').attr('readonly','readonly');
  56. }
  57. }).change();
  58. });
  59. </script>