%@ LANGUAGE = VBScript %> <% Option Explicit %> <% if Session("FONTSIZE") = "" then %> <% else %> <% '***************Required custom functions*************** 'this is what happens when you press the finish button... Function sFinish() CreateNewNode() End Function 'This is a completely poor error handler. Function sHandleErrors(errnum) %> <% End Function 'Draw our Welcome screen.... Function sWriteWelcome() Dim sOutputStr sOutputStr = sFont("4","","",True) sOutputStr = sOutputStr & "" & L_WELCOME_HEAD & "
" sOutputStr = sOutputStr & sFont("","","",True) sOutputStr = sOutputStr & L_WELCOME1 & "
" sOutputStr = sOutputStr & L_WELCOME2 & "
" sOutputStr = sOutputStr & L_WELCOME3 & "
" sWriteWelcome = sOutputStr End Function 'Draw our finish page... Function sWriteFinish() Dim sOutputStr sOutputStr = sFont("2","","",True) sOutputStr = sOutputStr & "" & L_FINISH_HEAD & "
" sOutputStr = sOutputStr & sFont("","","",True) sOutputStr = sOutputStr & L_FINISH1 & "
" sOutputStr = sOutputStr & L_FINISH2 & "
" sOutputStr = sOutputStr & L_FINISH3 & "
" sWriteFinish = sOutputStr End Function 'Draw the title bar that runs across the top of the wizard. 'This varies based upon the page, but the basic layout is the same. 'There's a bold title(sHead), a nonbold description(sDescription), 'and an image (same for all...) Function sWriteTitle(iThisPage) Dim sOutputStr, sHead, sDescription, iNodeType,iSiteType Select Case iThisPage Case SITETYPE sHead = L_SITETYPE sDescription = L_SITETYPE_DESC Case NODENAME iNodeType = cInt(Request("NodeType")) iSiteType = cInt(Request("SiteType")) Select Case iNodeType Case SITE '=== Code Change RWS ===' 'sHead = SITETYPES(iSiteType) & " " & L_SITE_NODENAME If iSiteType = WEB Then sHead = L_WEB_SITE_NODENAME Else sHead = L_FTP_SITE_NODENAME End If '=== End Code Change RWS ===' sDescription = L_SITE_NODENAME_DESC Case VDIR sHead = L_VDIR_NODENAME sDescription = L_VDIR_NODENAME_DESC Case DIR sHead = L_DIR_NODENAME sDescription = L_DIR_NODENAME_DESC End Select Case BINDINGS iSiteType = cInt(Request("SiteType")) sHead = SITETYPES(iSiteType) & " " & L_BINDINGS sDescription = L_BINDINGS_DESC Case PATHNAME sHead = L_PATH sDescription = L_PATH_DESC Case ACCESSPERMS sHead = L_ACCESSPERMS sDescription = L_ACCESSPERMS_DESC End Select sOutputStr = "
"
if true then
sOutputStr = sOutputStr & "
| "
sOutputStr = sOutputStr & "" sOutputStr = sOutputStr & " | " sOutputStr = sOutputStr & "" sOutputStr = sOutputStr & " | " sOutputStr = sOutputStr & "
" sOutputStr = sOutputStr & " | "
sOutputStr = sOutputStr & "
| "
sOutputStr = sOutputStr & "