| Line 125... |
Line 125... |
| 125 |
|
125 |
|
| 126 |
' Can only Edit on the Test / Development System not on the Live System
|
126 |
' Can only Edit on the Test / Development System not on the Live System
|
| 127 |
If (Not IsEmpty(Application("TestSystem"))) Then
|
127 |
If (Not IsEmpty(Application("TestSystem"))) Then
|
| 128 |
gHideLogin = false
|
128 |
gHideLogin = false
|
| 129 |
gHideWikiFooter = false
|
129 |
gHideWikiFooter = false
|
| - |
|
130 |
Else
|
| - |
|
131 |
gHideLogin = true
|
| - |
|
132 |
gHideWikiFooter = true
|
| 130 |
End If
|
133 |
End If
|
| 131 |
|
134 |
|
| 132 |
'set destination URL
|
135 |
'set destination URL
|
| 133 |
gScriptURL = gScript & "?db=" & gDataSourceFile ' removed & "&dbname=" & server.urlencode(gDataSourceName)
|
136 |
gScriptURL = gScript & "?db=" & gDataSourceFile ' removed & "&dbname=" & server.urlencode(gDataSourceName)
|
| 134 |
gHomeTopic = gDataSourceFile ' default home topic is the same as ms access db name unless overwritten by .ini
|
137 |
gHomeTopic = gDataSourceFile ' default home topic is the same as ms access db name unless overwritten by .ini
|
| Line 1553... |
Line 1556... |
| 1553 |
end sub
|
1556 |
end sub
|
| 1554 |
|
1557 |
|
| 1555 |
'ElreyRonald 4/2004
|
1558 |
'ElreyRonald 4/2004
|
| 1556 |
Sub HandleDelete
|
1559 |
Sub HandleDelete
|
| 1557 |
Dim pwd, topic, sh
|
1560 |
Dim pwd, topic, sh
|
| - |
|
1561 |
Response.Write("<center><h2>Page Deletion</h2></center><hr>")
|
| 1558 |
sh = "<br><a href='" & gScriptURL & "' >Click here proceed to home page</a>"
|
1562 |
sh = "<br><a href='" & gScriptURL & "' >Click here proceed to home page</a>"
|
| 1559 |
If Request.QueryString("pw") <> gDeletePassword Then
|
1563 |
If Request.QueryString("pw") <> gDeletePassword Then
|
| 1560 |
Response.Write( "Authorization to delete failed" & sh)
|
1564 |
Response.Write( "Authorization to delete failed. Try adding &pw=SomePassword" & sh)
|
| 1561 |
Response.End
|
1565 |
Response.End
|
| 1562 |
End If
|
1566 |
End If
|
| 1563 |
topic = Request.QueryString("o") ' Topic to delete
|
1567 |
topic = Request.QueryString("o") ' Topic to delete
|
| 1564 |
If IsNull(topic) or topic = "" Then
|
1568 |
If IsNull(topic) or topic = "" Then
|
| 1565 |
Response.Write( "Specify page name to delete i.e. &o=MyPage" & sh)
|
1569 |
Response.Write( "Specify page name to delete i.e. &o=MyPage" & sh)
|
| Line 1863... |
Line 1867... |
| 1863 |
|
1867 |
|
| 1864 |
EmitDebug 44, 2, "<br/>query(" & sqlQuery & ")<br/>" & vbcrlf
|
1868 |
EmitDebug 44, 2, "<br/>query(" & sqlQuery & ")<br/>" & vbcrlf
|
| 1865 |
|
1869 |
|
| 1866 |
'set rs= gDataConn.execute(sqlQuery)
|
1870 |
'set rs= gDataConn.execute(sqlQuery)
|
| 1867 |
set rs = WrappedQueryExecute( gDataConn, sqlQuery ) ' ERV 3/2007
|
1871 |
set rs = WrappedQueryExecute( gDataConn, sqlQuery ) ' ERV 3/2007
|
| 1868 |
|
1872 |
|
| - |
|
1873 |
Call WriteBanner(pageTitle,"")
|
| 1869 |
|
1874 |
|
| 1870 |
if not rs.eof then
|
1875 |
if not rs.eof then
|
| - |
|
1876 |
' Response.write("<h2>" & pageTitle & ":</h2>)
|
| 1871 |
Response.write("<h2>" & pageTitle & ":</h2><table cellpadding=5 cellspacing=0 border=0 >" & vbcrlf)
|
1877 |
Response.write("<table cellpadding=5 cellspacing=0 border=0 >" & vbcrlf)
|
| 1872 |
i = 1
|
1878 |
i = 1
|
| 1873 |
if not isEmpty(initialRow) then
|
1879 |
if not isEmpty(initialRow) then
|
| 1874 |
Response.write initialRow & vbcrlf
|
1880 |
Response.write initialRow & vbcrlf
|
| 1875 |
end if
|
1881 |
end if
|
| 1876 |
Do while (Not rs.eof )
|
1882 |
Do while (Not rs.eof )
|
| Line 1898... |
Line 1904... |
| 1898 |
end if
|
1904 |
end if
|
| 1899 |
rs.MoveNext
|
1905 |
rs.MoveNext
|
| 1900 |
Loop
|
1906 |
Loop
|
| 1901 |
Response.write("</table>" & vbcrlf)
|
1907 |
Response.write("</table>" & vbcrlf)
|
| 1902 |
else
|
1908 |
else
|
| - |
|
1909 |
' Response.write("<h2>" & pageTitle & ":</h2>)
|
| 1903 |
Response.write("<h2>" & pageTitle & ":</h2><table style='border: 1px solid gainsboro'>" & vbcrlf)
|
1910 |
Response.write("<table style='border: 1px solid gainsboro'>" & vbcrlf)
|
| 1904 |
Response.write("<tr><td>This topic is not mentioned on any other page! </td></tr>" & vbcrlf)
|
1911 |
Response.write("<tr><td>This topic is not mentioned on any other page! </td></tr>" & vbcrlf)
|
| 1905 |
Response.write("</table>" & vbcrlf)
|
1912 |
Response.write("</table>" & vbcrlf)
|
| 1906 |
end if
|
1913 |
end if
|
| 1907 |
|
1914 |
|
| 1908 |
response.write "</td></tr><tr bgcolor='#CCCCCC'><td><br>"
|
- |
|
| 1909 |
response.write "<a href='" & gScriptURL & "'>Home</a> | "
|
- |
|
| 1910 |
response.write "<a href='" & gScriptURL & "&a=list&o=ByTitle' title='this may take a loooong time'>List all pages</a> | "
|
- |
|
| 1911 |
response.write "<a href='" & gScriptURL & "&a=list&o=recent'>List Recently modified pages</a> "
|
- |
|
| 1912 |
response.write "<form method='POST' action=""" & gScript & """ id=""form1"" name=""form1"">"& gSearchLabel &"<input title='Type in your search terms and press [Enter]' type='text' name='o' value=''/><input type='hidden' name='db' value='"& gDataSourceFile & "'><input type='hidden' name='dbname' value='" & gDataSourceName & "'><input type='hidden' name='a' value='search'></form>"
|
1915 |
Call WriteFooter("","","" )
|
| 1913 |
response.write "<center><font size='1'>WikiAsp Engine version: " & gEngineVersion & "</font></center>" & vbcrlf
|
- |
|
| 1914 |
end sub
|
1916 |
end sub
|
| 1915 |
|
1917 |
|
| 1916 |
|
1918 |
|
| 1917 |
sub handleSave
|
1919 |
sub handleSave
|
| 1918 |
if gDisableSave = "yes" then
|
1920 |
if gDisableSave = "yes" then
|
| Line 2031... |
Line 2033... |
| 2031 |
'Response.Redirect gScript & "?" & glsTopic
|
2033 |
'Response.Redirect gScript & "?" & glsTopic
|
| 2032 |
Response.Redirect gScriptURL & "&o=" & glsTopic
|
2034 |
Response.Redirect gScriptURL & "&o=" & glsTopic
|
| 2033 |
|
2035 |
|
| 2034 |
end sub
|
2036 |
end sub
|
| 2035 |
|
2037 |
|
| 2036 |
|
- |
|
| 2037 |
Sub HandleBrowse
|
- |
|
| 2038 |
|
- |
|
| 2039 |
' Prevent this page from being viewed.
|
- |
|
| 2040 |
if not IsEmpty(Request.Form("pwd")) then Session("pwd") = Request.Form("pwd")
|
- |
|
| 2041 |
if glsTopic = "RegisteredUsers" then
|
- |
|
| 2042 |
If IsEmpty( Session("pwd")) or Session("pwd") <> gPassword then
|
- |
|
| 2043 |
exit sub
|
- |
|
| 2044 |
End If
|
- |
|
| 2045 |
end if
|
- |
|
| 2046 |
|
- |
|
| 2047 |
sqlQuery = "select PageData,Title,LastEditor,LastUpdate from " & gDbTableName & " where title='" & glsTopic & "'"
|
- |
|
| 2048 |
EmitDebug 50, 2, "Browse query(" & sqlQuery & ")<br/>" & vbcrlf
|
- |
|
| 2049 |
|
- |
|
| 2050 |
set rs = gDataConn.execute(sqlQuery)
|
- |
|
| 2051 |
|
- |
|
| 2052 |
if rs.eof=true then
|
- |
|
| 2053 |
response.write("Sorry! The page --> <b>" & glsTopic & "</b> <--- is not existing or it is a page that must be created </h4>")
|
- |
|
| 2054 |
response.write( "<br><a href='" & gScriptURL & "&a=edit&o=" & glsTopic & "'>Click this link to create this page.</a>" )
|
- |
|
| 2055 |
response.write( "<br><br><a href='" & gScriptURL & "'>No, don't create it.</a>" )
|
- |
|
| 2056 |
|
- |
|
| 2057 |
else
|
- |
|
| 2058 |
EmitDebug 51, 3, "found...(" & rs("PageData") & ")<br/>" & vbcrlf
|
- |
|
| 2059 |
|
- |
|
| 2060 |
If Not gHideLogin Then
|
- |
|
| 2061 |
response.write" <body ondblclick=" & chr(34) & "document.location.href='" & _
|
- |
|
| 2062 |
gScriptURL & "&a=edit&o=" & glsTopic & "'" & chr(34) &">"
|
- |
|
| 2063 |
Else
|
- |
|
| 2064 |
response.write" <body >"
|
2038 |
Sub WriteBanner(title,search)
|
| 2065 |
|
- |
|
| 2066 |
End If
|
- |
|
| 2067 |
|
- |
|
| 2068 |
|
- |
|
| 2069 |
''''''''''''''''''''''''' removed
|
- |
|
| 2070 |
' response.write "<table border='0' width='100%' cellpadding='10' cellspacing='0'><tr height=10pt ><td class='h1background' ><h1 class='h1text'><a href='" & gScriptURL & _
|
- |
|
| 2071 |
' "'><img src=" & gIconName & " border=0 alt='Go to Start Page'></a> "
|
- |
|
| 2072 |
' response.write "<a title=""search for references to '" & rs("title") & "'"" href='" & gScriptURL & "&a=search&o=" & rs("title") & "'>" & _
|
- |
|
| 2073 |
' SpaceName(rs("title")) & "</a></h1></td></tr></table>"
|
- |
|
| 2074 |
|
- |
|
| 2075 |
Dim iconPart, bannerPart, bannerTextPart
|
2039 |
Dim iconPart, bannerPart, bannerTextPart
|
| 2076 |
|
- |
|
| 2077 |
iconPart = "<a href='" & gScriptURL & "'><img src='" & gIconName & "' border='0' alt='Go to Start Page'></a>"
|
2040 |
iconPart = "<a href='" & gScriptURL & "'><img src='" & gIconName & "' border='0' alt='Go to Start Page'></a>"
|
| 2078 |
|
2041 |
|
| - |
|
2042 |
if search <> "" then
|
| 2079 |
bannerTextPart = "<a title='Search for references to " & rs("title") & "' href='" & gScriptURL & "&a=search&o=" & rs("title") & "'>" & SpaceName(rs("title")) & "</a>"
|
2043 |
bannerTextPart = "<a title='Search for references to " & title & "' href='" & gScriptURL & "&a=search&o=" & search & "'>" & SpaceName(title) & "</a>"
|
| - |
|
2044 |
else
|
| - |
|
2045 |
bannerTextPart = SpaceName(title)
|
| - |
|
2046 |
end if
|
| 2080 |
|
2047 |
|
| 2081 |
If gBannerTemplate = "" Then
|
2048 |
If gBannerTemplate = "" Then
|
| 2082 |
bannerPart = ""
|
2049 |
bannerPart = ""
|
| 2083 |
bannerPart = bannerPart & "<a href='" & gScriptURL & "'>Wiki Home</a>"
|
2050 |
bannerPart = bannerPart & "<a href='" & gScriptURL & "'>Wiki Home</a>"
|
| 2084 |
bannerPart = bannerPart & " | <a href='" & gScriptURL & "&a=list&o=ByTitle' title='this may take a loooong time'>List all pages</a>"
|
2051 |
bannerPart = bannerPart & " | <a href='" & gScriptURL & "&a=list&o=ByTitle' title='this may take a loooong time'>List all pages</a>"
|
| 2085 |
if ( Not IsEmpty(Application("TestSystem")) ) Then
|
2052 |
if ( Not gHideLogin ) Then
|
| 2086 |
bannerPart = bannerPart & " | <span style='color: #FF0000;font-weight: bold;'>Development Web Server</span>"
|
- |
|
| 2087 |
bannerPart = bannerPart & " | <a href='" & gScriptURL & "&a=list&o=recent'>Recent pages</a>"
|
2053 |
bannerPart = bannerPart & " | <a href='" & gScriptURL & "&a=list&o=recent'>Recent pages</a>"
|
| - |
|
2054 |
bannerPart = bannerPart & " | <span style='color: #FF0000;font-weight: bold;'>Development Web Server</span>"
|
| - |
|
2055 |
if search <> "" then
|
| 2088 |
bannerPart = bannerPart & " | <a href='" & gScriptURL & "&a=edit&o=" & rs("title") & "'>Edit page</a>"
|
2056 |
bannerPart = bannerPart & " | <a href='" & gScriptURL & "&a=edit&o=" & search & "'>Edit page</a>"
|
| - |
|
2057 |
bannerPart = bannerPart & " | <a href='" & gScriptURL & "&a=del&o=" & search & "'>Del page</a>"
|
| - |
|
2058 |
end if
|
| 2089 |
bannerPart = bannerPart & " | <a href='" & gScriptURL & "&o=TextFormattingRules'>Text Formatting Rules</a>"
|
2059 |
bannerPart = bannerPart & " | <a href='" & gScript & "?db=ReleaseNotes&o=TextFormattingRules'>Formatting Rules</a>"
|
| - |
|
2060 |
bannerPart = bannerPart & " | <a href='" & gScript & "?db=ReleaseNotes'>Release Notes</a>"
|
| - |
|
2061 |
bannerPart = bannerPart & " | <a href='" & gScript & "?db=ImplementationNotes'>RM Dev Notes</a>"
|
| 2090 |
bannerPart = bannerPart & " | <a href='" & gScriptURL & "&a=logout&o=" & rs("title") & "'>Log out</a>"
|
2062 |
bannerPart = bannerPart & " | <a href='" & gScriptURL & "&a=logout'>Log out</a>"
|
| 2091 |
End If
|
2063 |
End If
|
| 2092 |
bannerPart = bannerPart & "<hr>"
|
2064 |
bannerPart = bannerPart & "<hr>"
|
| 2093 |
|
2065 |
|
| 2094 |
bannerPart = bannerPart & " <table class='cssBannerTable' id='idBannerTable' cellSpacing='0' cellPadding='0' border='0'>"
|
2066 |
bannerPart = bannerPart & " <table class='cssBannerTable' id='idBannerTable' cellSpacing='0' cellPadding='0' border='0'>"
|
| 2095 |
bannerPart = bannerPart & " </tr>"
|
2067 |
bannerPart = bannerPart & " </tr>"
|
| Line 2116... |
Line 2088... |
| 2116 |
bannerPart = Replace( bannerPart, "$$banner_text$$", bannerTextPart)
|
2088 |
bannerPart = Replace( bannerPart, "$$banner_text$$", bannerTextPart)
|
| 2117 |
|
2089 |
|
| 2118 |
|
2090 |
|
| 2119 |
Response.Write ( bannerPart )
|
2091 |
Response.Write ( bannerPart )
|
| 2120 |
|
2092 |
|
| 2121 |
response.write " <div class='wikibody'>" & WalkWiki( xform( "<span id=bodyPrefix>" & vbcrlf & gWikiBodyPrefix & VbCrLF & "</span>" & VbCrLF & rs("PageData"))) ' Elrey - xform func now removes html
|
- |
|
| 2122 |
|
- |
|
| 2123 |
response.write "</b></i></font></u></strong></font>"
|
- |
|
| 2124 |
|
- |
|
| 2125 |
|
2093 |
End Sub
|
| 2126 |
dim hideScript
|
- |
|
| 2127 |
hideScript = "var div1=document.getElementById('wikifooter'); if (div1) {div1.style.display='none';}"
|
- |
|
| 2128 |
hideScript = hideScript & "div1=document.getElementById('bodyPrefix'); if (div1) {div1.style.display='none';}"
|
- |
|
| 2129 |
hideScript = hideScript & "div1=document.getElementById('idTopSearch'); if (div1) {div1.style.display='none';}"
|
- |
|
| 2130 |
|
- |
|
| 2131 |
|
2094 |
|
| - |
|
2095 |
Sub WriteFooter(hideScript,lastUpdate,lastEditor)
|
| 2132 |
If Not gHideWikiFooter Then
|
2096 |
If Not gHideWikiFooter Then
|
| 2133 |
response.write "<div id=wikifooter class=footer ><form method='POST' action=""" & gScript & """ id=""formFooter"" name=""formFooter""><br>"
|
2097 |
response.write "<div id=wikifooter class=footer ><form method='POST' action=""" & gScript & """ id=""formFooter"" name=""formFooter""><br>"
|
| 2134 |
response.write "<hr size=1 noshade=true>"
|
2098 |
response.write "<hr size=1 noshade=true>"
|
| - |
|
2099 |
|
| 2135 |
If Not gHideLastEditor Then
|
2100 |
If Not gHideLastEditor Then
|
| - |
|
2101 |
if lastUpdate <> "" Then
|
| 2136 |
response.write "<span title='Click this now to prepare page for Printing by removing unnecessary portions! ' onclick=""" & hideScript & """ > <font size=-1>Last Updated " & rs("LastUpdate") & " by '" & rs("LastEditor") & "' </font></span><br/>"
|
2102 |
response.write "<span title='Click this now to prepare page for Printing by removing unnecessary portions! ' onclick=""" & hideScript & """ ><font size=-1>Last Updated " & lastUpdate & " by '" & lastEditor & "' </font></span><br/>"
|
| - |
|
2103 |
End If
|
| 2137 |
end if
|
2104 |
end if
|
| 2138 |
response.write "<font size=-1>Domain: " & gHttpDomain & "</font><br>"
|
2105 |
response.write "<font size=-1>Domain: " & gHttpDomain & "</font><br>"
|
| 2139 |
|
2106 |
|
| 2140 |
' response.write "<a href='" & gScriptURL & "' title='GO TO START PAGE'>Home</a> | "
|
2107 |
' response.write "<a href='" & gScriptURL & "' title='GO TO START PAGE'>Home</a> | "
|
| 2141 |
' if Not gHideLogin Then
|
2108 |
' if Not gHideLogin Then
|
| Line 2147... |
Line 2114... |
| 2147 |
' If gHttpDomain <> "" Then
|
2114 |
' If gHttpDomain <> "" Then
|
| 2148 |
' response.write " | <a href='" & gScriptURL & "&a=rss' ><span style='background:#FF6600;text-decoration:none;font-family:tahoma;' > <b><font color=white>RSS</font></b> </span></a>"
|
2115 |
' response.write " | <a href='" & gScriptURL & "&a=rss' ><span style='background:#FF6600;text-decoration:none;font-family:tahoma;' > <b><font color=white>RSS</font></b> </span></a>"
|
| 2149 |
' End If
|
2116 |
' End If
|
| 2150 |
'
|
2117 |
'
|
| 2151 |
' response.write " "&gSearchLabel&" <input title='Type in your search terms and press [Enter]' type='text' name='o' value=''/><input type='hidden' name='db' value='"& gDataSourceFile & "'><input type='hidden' name='dbname' value='" & gDataSourceName & "'><input type='hidden' name='a' value='search'></form></div> "
|
2118 |
' response.write " "&gSearchLabel&" <input title='Type in your search terms and press [Enter]' type='text' name='o' value=''/><input type='hidden' name='db' value='"& gDataSourceFile & "'><input type='hidden' name='dbname' value='" & gDataSourceName & "'><input type='hidden' name='a' value='search'></form></div> "
|
| - |
|
2119 |
|
| - |
|
2120 |
response.write "<font size='-1'>WikiAsp Engine version: " & gEngineVersion & "</font>" & vbcrlf
|
| 2152 |
response.write "</div>"
|
2121 |
response.write "</div>"
|
| 2153 |
End If
|
2122 |
End If
|
| - |
|
2123 |
|
| - |
|
2124 |
End Sub
|
| - |
|
2125 |
|
| - |
|
2126 |
Sub HandleBrowse
|
| - |
|
2127 |
|
| - |
|
2128 |
' Prevent this page from being viewed.
|
| - |
|
2129 |
if not IsEmpty(Request.Form("pwd")) then Session("pwd") = Request.Form("pwd")
|
| - |
|
2130 |
if glsTopic = "RegisteredUsers" then
|
| - |
|
2131 |
If IsEmpty( Session("pwd")) or Session("pwd") <> gPassword then
|
| - |
|
2132 |
exit sub
|
| - |
|
2133 |
End If
|
| - |
|
2134 |
end if
|
| - |
|
2135 |
|
| - |
|
2136 |
sqlQuery = "select PageData,Title,LastEditor,LastUpdate from " & gDbTableName & " where title='" & glsTopic & "'"
|
| - |
|
2137 |
EmitDebug 50, 2, "Browse query(" & sqlQuery & ")<br/>" & vbcrlf
|
| - |
|
2138 |
|
| - |
|
2139 |
set rs = gDataConn.execute(sqlQuery)
|
| - |
|
2140 |
|
| - |
|
2141 |
if rs.eof=true then
|
| - |
|
2142 |
Response.Write("<center><h2>Page Creation</h2><hr>")
|
| - |
|
2143 |
if gHideLogin Then
|
| - |
|
2144 |
Response.Write("The page --> <b>" & glsTopic & "</b> <--- Does not exit and it cannot be created on this Server")
|
| - |
|
2145 |
Else
|
| - |
|
2146 |
response.write("Sorry! The page --> <b>" & glsTopic & "</b> <--- is not existing or it is a page that must be created </h4>")
|
| - |
|
2147 |
response.write( "<br><a href='" & gScriptURL & "&a=edit&o=" & glsTopic & "'>Click this link to create this page.</a>" )
|
| - |
|
2148 |
response.write( "<br><br><a href='" & gScriptURL & "'>No, don't create it.</a>" )
|
| - |
|
2149 |
End If
|
| - |
|
2150 |
Response.Write("</center>")
|
| - |
|
2151 |
|
| - |
|
2152 |
else
|
| - |
|
2153 |
EmitDebug 51, 3, "found...(" & rs("PageData") & ")<br/>" & vbcrlf
|
| - |
|
2154 |
|
| - |
|
2155 |
If Not gHideLogin Then
|
| - |
|
2156 |
response.write" <body ondblclick=" & chr(34) & "document.location.href='" & _
|
| - |
|
2157 |
gScriptURL & "&a=edit&o=" & glsTopic & "'" & chr(34) &">"
|
| - |
|
2158 |
Else
|
| - |
|
2159 |
response.write" <body >"
|
| - |
|
2160 |
|
| - |
|
2161 |
End If
|
| - |
|
2162 |
|
| - |
|
2163 |
Call WriteBanner(rs("title"),rs("title"))
|
| - |
|
2164 |
response.write " <div class='wikibody'>" & WalkWiki( xform( "<span id=bodyPrefix>" & vbcrlf & gWikiBodyPrefix & VbCrLF & "</span>" & VbCrLF & rs("PageData"))) ' Elrey - xform func now removes html
|
| - |
|
2165 |
response.write "</b></i></font></u></strong></font>"
|
| - |
|
2166 |
|
| - |
|
2167 |
|
| - |
|
2168 |
dim hideScript
|
| - |
|
2169 |
hideScript = "var div1=document.getElementById('wikifooter'); if (div1) {div1.style.display='none';}"
|
| - |
|
2170 |
hideScript = hideScript & "div1=document.getElementById('bodyPrefix'); if (div1) {div1.style.display='none';}"
|
| - |
|
2171 |
hideScript = hideScript & "div1=document.getElementById('idTopSearch'); if (div1) {div1.style.display='none';}"
|
| - |
|
2172 |
|
| - |
|
2173 |
Call WriteFooter(hideScript, rs("LastUpdate"), rs("LastEditor") )
|
| 2154 |
end if
|
2174 |
end if
|
| 2155 |
|
2175 |
|
| 2156 |
end sub
|
2176 |
end sub
|
| 2157 |
|
2177 |
|
| 2158 |
|
2178 |
|
| 2159 |
|
2179 |
|
| 2160 |
sub handleCreate
|
2180 |
sub handleCreate
|
| - |
|
2181 |
If gHideLogin Then
|
| - |
|
2182 |
Response.Write("<br/><br/><br/><br/><br/><center><h2>Editing is not allowed</h2></center>")
|
| - |
|
2183 |
Response.End
|
| - |
|
2184 |
exit sub
|
| - |
|
2185 |
End If
|
| - |
|
2186 |
|
| 2161 |
on error resume next
|
2187 |
on error resume next
|
| 2162 |
VerifyWikiTable
|
2188 |
VerifyWikiTable
|
| 2163 |
on error goto 0
|
2189 |
on error goto 0
|
| 2164 |
Response.Redirect gScriptURL
|
2190 |
Response.Redirect gScriptURL
|
| 2165 |
end sub
|
2191 |
end sub
|
| 2166 |
|
2192 |
|
| 2167 |
|
2193 |
|
| 2168 |
|
- |
|
| 2169 |
'Intercept RSS request here
|
2194 |
'Intercept RSS request here
|
| 2170 |
if ( glsMode = "rss" ) then
|
2195 |
if ( glsMode = "rss" ) then
|
| 2171 |
If ( gHttpDomain = "" ) then
|
2196 |
If ( gHttpDomain = "" ) then
|
| 2172 |
response.write("RSS is not enabled")
|
2197 |
response.write("RSS is not enabled")
|
| 2173 |
Else
|
2198 |
Else
|