weibo.html 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {// 引入标签库 }
  2. <tagLib name="html" />
  3. <include file="Public:header" />
  4. <script type="text/javascript">
  5. //完全删除
  6. function foreverdel_weibo(id)
  7. {
  8. if(!id)
  9. {
  10. idBox = $(".key:checked");
  11. if(idBox.length == 0)
  12. {
  13. alert(LANG['DELETE_EMPTY_WARNING']);
  14. return;
  15. }
  16. idArray = new Array();
  17. $.each( idBox, function(i, n){
  18. idArray.push($(n).val());
  19. });
  20. id = idArray.join(",");
  21. }
  22. if(confirm(LANG['CONFIRM_DELETE']))
  23. $.ajax({
  24. url: ROOT+"?"+VAR_MODULE+"="+MODULE_NAME+"&"+VAR_ACTION+"=foreverdelete_weibo&id="+id,
  25. data: "ajax=1",
  26. dataType: "json",
  27. success: function(obj){
  28. $("#info").html(obj.info);
  29. if(obj.status==1)
  30. location.href=location.href;
  31. }
  32. });
  33. }
  34. </script>
  35. <div class="main">
  36. <div class="main_title">{$user_info.user_name} 微博列表</div>
  37. <div class="blank5"></div>
  38. <div class="button_row">
  39. <input type="button" class="button" value="{%FOREVERDEL}" onclick="foreverdel_weibo();" />
  40. </div>
  41. <div class="blank5"></div>
  42. <html:list
  43. id="dataTable"
  44. style="dataTable"
  45. name="log"
  46. checkbox="true"
  47. action="true"
  48. datasource="list"
  49. show="id:{%ID}|50px,weibo_url:微博地址"
  50. actionlist="foreverdel_weibo:{%FOREVERDEL}" />
  51. <div class="blank5"></div>
  52. <div class="page">{$page}</div>
  53. </div>
  54. <include file="Public:footer" />