home *** CD-ROM | disk | FTP | other *** search
/ ftp.sunet.sepub/pictures / 2014.11.ftp.sunet.se-pictures.tar / ftp.sunet.se / pub / pictures / ACiD-artpacks / www / mirrors / hirez / discus_admin_90939126 / newpage.txt < prev    next >
Text File  |  1998-12-01  |  3KB  |  117 lines

  1. Default page creation template for Discus board:
  2.  
  3. You can change this page to reflect the 'Style' of your board
  4. Note that this template will apply only to new pages (old pages
  5. will not be changed).
  6.  
  7. ATTENTION!  ANY CHANGES YOU MAKE TO THIS FILE ARE MADE AT YOUR OWN
  8. RISK.  Be aware that the program reads <!-Pseudo comment tags-!> and
  9. <!-- Actual comment tags --> in order to operate.  If you remove or
  10. change any of those, the program probably won't work yet.  Also there
  11. are some $variables that are interpreted by the script so don't
  12. change those.
  13.  
  14. We do not guarantee technical support to anyone who messes up their
  15. board by modifying this file.
  16.  
  17. <!--Start-->
  18. <!-- WARNING!  DO NOT EDIT THIS FILE BY HAND OR USING AN HTML EDITOR! -->
  19. $head
  20. <HTML>
  21. <HEAD>
  22. <TITLE>$title</TITLE>
  23. <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
  24. <SCRIPT LANGUAGE="JavaScript">
  25. <!-- ;
  26. function setStatus(msg) {
  27.   window.status = msg;
  28.   return true;
  29. }
  30. function initpage () {
  31.   window.defaultStatus = "$str"
  32.   if (document.userpass) {
  33.     if (document.userpass.username) {
  34.       document.userpass.username.value = readcookie("user")
  35.     }
  36.     if (document.userpass.passwd) {
  37.       document.userpass.passwd.value = readcookie("rpwd")
  38.     }
  39.   }
  40. }
  41. function readcookie(name) {
  42.   var i = 0; var lookfor = name + "="
  43.   while (i < document.cookie.length) {
  44.     var j = i + lookfor.length
  45.     if (document.cookie.substring(i,j) == lookfor) {
  46.       var endstr = document.cookie.indexOf(";", j)
  47.       if (endstr == -1) {
  48.         endstr = document.cookie.length
  49.       }
  50.       return unescape(document.cookie.substring(j, endstr))
  51.     }
  52.     i = document.cookie.indexOf(" ", i) + 1
  53.     if (i == 0) {
  54.       break
  55.     }
  56.   }
  57.   return ""
  58. }
  59. // end hide -->
  60. </SCRIPT>
  61. </HEAD>
  62.  
  63. <BODY BGCOLOR="$bgcolor" TEXT="$text" LINK="$link" VLINK="$vlink" ALINK="$alink" BACKGROUND="$image" onLoad="initpage()">
  64. <BASEFONT SIZE="$size"><FONT FACE="$face">
  65. <A NAME="$timestr">
  66.  
  67. <!--Bigtitle-->
  68. <FONT SIZE=+1><CENTER><B>$pagetitle</B></CENTER></FONT><HR>
  69. <!--/Bigtitle-->
  70.  
  71. <!--Navbar-->
  72. <B>
  73.  
  74. </B>
  75. <!--/Navbar-->
  76.  
  77. <!--Sublist-->
  78. <HR>
  79. <UL>
  80. $subtopic_variable
  81. <!-EndSub-!>
  82. </UL>
  83. <!--/Sublist-->
  84.  
  85. <!--Create-->
  86. <HR>
  87. <FORM ACTION="$script_url/board-post-form.$cgi_extension" METHOD=POST>
  88. <CENTER><INPUT NAME=SUBMIT VALUE="Create New Conversation" TYPE=SUBMIT></CENTER>
  89. </FORM>
  90. <!--/Create-->
  91.  
  92. <!--About-->
  93. <HR>
  94. $about_variable
  95. <!--Source:
  96. $about_source_variable
  97. -->
  98. <!--/About-->
  99.  
  100. <!--Messages-->
  101. $message_variable
  102. <!-End-!>
  103. <!--/Messages-->
  104.  
  105. <!--Add-->
  106. [Read addmessage.txt]
  107. <!--/Add-->
  108.  
  109. <!--Message Source
  110. $message_source_variable
  111. -->
  112. </FONT>
  113. <BR>
  114. <BR>
  115. </BODY>
  116. </HTML>
  117.