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_149349189 / newpage.conf < prev    next >
Text File  |  1999-02-12  |  3KB  |  130 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. <META NAME="DESCRIPTION" CONTENT="$meta_description">
  25. <META NAME="KEYWORDS" CONTENT="$meta_keywords">
  26. <META NAME="ROBOTS" CONTENT="$meta_robots">
  27. <SCRIPT LANGUAGE="JavaScript">
  28. <!-- ;
  29. function setStatus(msg) {
  30.   window.status = msg;
  31.   return true;
  32. }
  33. function initpage () {
  34.   window.defaultStatus = "$str"
  35.   if (document.userpass) {
  36.     if (document.userpass.username) {
  37.       document.userpass.username.value = readcookie("user$COOKIE_ID")
  38.     }
  39.     if (document.userpass.passwd) {
  40.       document.userpass.passwd.value = readcookie("rpwd$COOKIE_ID")
  41.     }
  42.   }
  43. }
  44. function readcookie(name) {
  45.   var i = 0; var lookfor = name + "="
  46.   while (i < document.cookie.length) {
  47.     var j = i + lookfor.length
  48.     if (document.cookie.substring(i,j) == lookfor) {
  49.       var endstr = document.cookie.indexOf(";", j)
  50.       if (endstr == -1) {
  51.         endstr = document.cookie.length
  52.       }
  53.       return unescape(document.cookie.substring(j, endstr))
  54.     }
  55.     i = document.cookie.indexOf(" ", i) + 1
  56.     if (i == 0) {
  57.       break
  58.     }
  59.   }
  60.   return ""
  61. }
  62. // end hide -->
  63. </SCRIPT>
  64. </HEAD>
  65.  
  66. <BODY BGCOLOR="$bgcolor" TEXT="$text" LINK="$link" VLINK="$vlink" ALINK="$alink" BACKGROUND="$image" onLoad="initpage()">
  67. <BASEFONT SIZE="$size"><FONT FACE="$face">
  68. <A NAME="$timestr">
  69. <a name=MT>
  70. <!--Bigtitle-->
  71. <FONT SIZE=+1><CENTER><B>$pagetitle</B></CENTER></FONT><HR>
  72. <!--/Bigtitle-->
  73.  
  74. <!--Navbar-->
  75. <B>
  76.  
  77. </B>
  78. <!--/Navbar-->
  79.  
  80. <!--Announcement-->
  81. <HR>
  82. $announcement_variable
  83. <!--Announcement Source:
  84. $announcement_source_variable
  85. -->
  86. <!--/Announcement-->
  87.  
  88. <!--Sublist-->
  89. <HR>
  90. <UL>
  91. $subtopic_variable
  92. <!-EndSub-!>
  93. </UL>
  94. <!--/Sublist-->
  95.  
  96. <!--Create-->
  97. <HR>
  98. <FORM ACTION="$script_url/board-post-form.$cgi_extension" METHOD=POST>
  99. <INPUT TYPE=HIDDEN NAME=HTTP_REFERER VALUE="//$topic/$page.$ext">
  100. <CENTER><INPUT NAME=SUBMIT VALUE="Create New Conversation" TYPE=SUBMIT></CENTER>
  101. </FORM>
  102. <!--/Create-->
  103.  
  104. <!--About-->
  105. <HR>
  106. $about_variable
  107. <!--Source:
  108. $about_source_variable
  109. -->
  110. <!--/About-->
  111.  
  112. <!--Messages-->
  113. $message_variable
  114. <!-End-!>
  115. <a name=MB>
  116. <!--/Messages-->
  117.  
  118. <!--Add-->
  119. [Read addmessage.txt]
  120. <!--/Add-->
  121.  
  122. <!--Message Source
  123. $message_source_variable
  124. -->
  125. </FONT>
  126. <BR>
  127. <BR>
  128. </BODY>
  129. </HTML>
  130.