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.

71 lines
1.9 KiB

  1. <tr>
  2. <td colspan = 2 align="right">
  3. <script language="JavaScript">
  4. var iNextPage = <%= iNextPage %>
  5. var iPrevPage = <%= iPrevPage %>
  6. function setNav(iNewNextPage)
  7. {
  8. iNextPage = iNewNextPage
  9. }
  10. </script>
  11. <%= sFont("","","",True) %>
  12. <% if iThisPage > LAST then %>
  13. <% if CANRESTART then %>
  14. <input type="BUTTON" value="&lt; <%= L_RESTART_TEXT %>" onclick="document.userform.iThisPage.value = 0;document.userform.submit();">
  15. <% else %>
  16. <input type="BUTTON" value="&lt; <%= L_BACK_TEXT %>" DISABLED>
  17. <% end if %>
  18. <% else %>
  19. <% if iThisPage > WELCOME then %>
  20. <input type="BUTTON" value="&lt; <%= L_BACK_TEXT %>" onclick="prevPage();">
  21. <% else %>
  22. <input type="BUTTON" value="&lt; <%= L_BACK_TEXT %>" DISABLED>
  23. <% end if %>
  24. <% end if %>
  25. <% if iThisPage = LAST then %>
  26. <input type="BUTTON" value=" <%= L_FINISH_TEXT %>" onclick="nextPage();">
  27. <% else %>
  28. <% if iNextPage <= LAST then %>
  29. <input type="BUTTON" value="<%= L_NEXT_TEXT %> &gt;" onclick="nextPage();">
  30. <% else %>
  31. <input type="BUTTON" value="<%= L_NEXT_TEXT %> &gt;" DISABLED>
  32. <% end if %>
  33. <% end if %>
  34. <% if iThisPage > LAST then %>
  35. <input type="BUTTON" value="<%= L_CLOSE_TEXT %>" onclick="top.window.close();">
  36. <% else %>
  37. <input type="BUTTON" value="<%= L_CANCEL_TEXT %>" onclick="top.window.close();">
  38. <% end if %>
  39. <input type="hidden" name="iThisPage" value="<%= Request("iThisPage") %>">
  40. <IMG SRC="images/Space.gif" WIDTH=4 HEIGHT=1 BORDER=0>
  41. </FONT>
  42. <SCRIPT LANGUAGE="JavaScript">
  43. function nextPage()
  44. {
  45. if (bNextPageOk())
  46. {
  47. document.userform.iThisPage.value = iNextPage;
  48. document.userform.submit();
  49. }
  50. }
  51. function prevPage()
  52. {
  53. document.userform.iThisPage.value = iPrevPage;
  54. document.userform.submit();
  55. }
  56. </SCRIPT>
  57. </td>
  58. </tr>