Source code of Windows XP (NT5)
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.

82 lines
2.2 KiB

  1. <%@ LANGUAGE = VBScript %>
  2. <% Option Explicit %>
  3. <!-- #include file="directives.inc" -->
  4. <!--#include file="iibkup.str"-->
  5. <!--#include file="iibkupls.str"-->
  6. <!--#include file="iisetfnt.inc"-->
  7. <HTML>
  8. <HEAD>
  9. <TITLE></TITLE>
  10. <SCRIPT LANGUAGE="JavaScript">
  11. <!--#include file="iijsfuncs.inc"-->
  12. function chgStatus(indexnum){
  13. parent.head.listFunc.sel =indexnum;
  14. self.location.href="iibkupls.asp"
  15. }
  16. function SetUpdated(){
  17. }
  18. </SCRIPT>
  19. </HEAD>
  20. <BODY BGCOLOR="#FFFFFF" LEFTMARGIN=0 TOPMARGIN=0>
  21. <% if Request.Querystring("text") <> "" then %>
  22. <%= sFont("","","",True) %>
  23. <%= Request.Querystring("text") %>
  24. </font>
  25. <% else %>
  26. <FORM NAME="listform">
  27. <SCRIPT LANGUAGE="JavaScript">
  28. var wrtstr = "";
  29. var editOK=false;
  30. var sel=eval(parent.head.listFunc.sel);
  31. var writestr = "<TABLE WIDTH=<%= L_BKUPTABLEWIDTH_NUM %> BORDER=0 CELLPADDING = 2 CELLSPACING = 0>"
  32. for (var i=0;i < parent.head.cachedList.length; i++) {
  33. if (sel !=i) {
  34. if (parent.head.cachedList[i].deleted){
  35. }
  36. else{
  37. writestr += "<TR>";
  38. writestr += parent.head.listFunc.writeCol(1,<%= L_BACKUPNAMECOLWIDTH_NUM %>,"<A HREF='javascript:chgStatus("+i+");'>" + crop(parent.head.cachedList[i].blocation,20) +"</A>","");
  39. writestr += parent.head.listFunc.writeCol(1,<%= L_NUMCOLWIDTH_NUM %>,parent.head.cachedList[i].bversion,"");
  40. writestr += parent.head.listFunc.writeCol(1,<%= L_BACKUPDATECOLWIDTH_NUM %>,crop(parent.head.cachedList[i].bdate,20),"");
  41. writestr += "</TR>";
  42. }
  43. }
  44. else{
  45. writestr += "<TR BGCOLOR='#DDDDDD'>";
  46. writestr += parent.head.listFunc.writeCol(1,<%= L_BACKUPNAMECOLWIDTH_NUM %>,crop(parent.head.cachedList[i].blocation,20),"");
  47. writestr += parent.head.listFunc.writeCol(1,<%= L_NUMCOLWIDTH_NUM %>,parent.head.cachedList[i].bversion,"");
  48. writestr += parent.head.listFunc.writeCol(1,<%= L_BACKUPDATECOLWIDTH_NUM %>,crop(parent.head.cachedList[i].bdate,20),"");
  49. writestr += "</TR>";
  50. }
  51. }
  52. writestr += "</TABLE>";
  53. document.write(writestr);
  54. </SCRIPT>
  55. <P>&nbsp;
  56. <P>&nbsp;
  57. </FORM>
  58. <SCRIPT LANGUAGE="JavaScript">
  59. if (editOK){
  60. document.listform.editMe.focus();
  61. document.listform.editMe.select();
  62. }
  63. </SCRIPT>
  64. <% end if %>
  65. </BODY>
  66. </HTML>