国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
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.

77 lines
1.5KB

  1. function selAll()
  2. {
  3. var celements = document.getElementsByName('aids[]');
  4. for(i=0;i<celements.length;i++)
  5. {
  6. if(!celements[i].checked) celements[i].checked = true;
  7. else celements[i].checked = false;
  8. }
  9. }
  10. function noselAll()
  11. {
  12. var celements = document.getElementsByName('aids[]');
  13. for(i=0;i<celements.length;i++)
  14. {
  15. if(celements[i].checked = true)
  16. {
  17. celements[i].checked = false;
  18. }
  19. }
  20. }
  21. function delkey()
  22. {
  23. if(window.confirm("你确实要删除选定的关键字么?"))
  24. {
  25. document.form3.dopost.value = 'del';
  26. document.form3.submit();
  27. }
  28. }
  29. function diskey()
  30. {
  31. if(window.confirm("你确实要禁用选定的关键字么?"))
  32. {
  33. document.form3.dopost.value = 'dis';
  34. document.form3.submit();
  35. }
  36. }
  37. function enakey()
  38. {
  39. if(window.confirm("你确实要启用选定的关键字么?"))
  40. {
  41. document.form3.dopost.value = 'ena';
  42. document.form3.submit();
  43. }
  44. }
  45. function urlkey()
  46. {
  47. if(window.confirm("你确实要更新选定的关键字的网址么?"))
  48. {
  49. document.form3.dopost.value = 'url';
  50. document.form3.submit();
  51. }
  52. }
  53. function rankey()
  54. {
  55. if(window.confirm("你确实要改变选定的关键字的频率么?"))
  56. {
  57. document.form3.dopost.value = 'ran';
  58. document.form3.submit();
  59. }
  60. }
  61. // 批量删除搜多关键字
  62. function delall()
  63. {
  64. if(window.confirm("你确实要删除选定的关键字么?"))
  65. {
  66. document.form3.dopost.value = 'delall';
  67. document.form3.submit();
  68. }
  69. }