<% REM Directories Page head frame (in frameset with head, list) %>
<%
L_PAGETITLE_TEXT = "Microsoft Internet Service Manager"
L_NEWSGROUPSUBTREE_TEXT = "Newsgroup Subtree"
L_PATH_TEXT = "Path"
L_REMOVEDIRQUESTION_TEXT = "Are you sure you want to remove this directory?"
L_REMOVEHOMEDIR_TEXT = "If you remove the home directory, you may not be able to configure the server in the future. Are you sure you want to remove the home directory?"
L_REMOVEDIR_ERRORMESSAGE = "Cannot remove directory. A minimum of one directory is required."
%>
<% REM Get variables %>
<% REM svr = Server name %>
<% REM a = Action to be performed by server-side code (remove) %>
<% svr = Session("svr") %>
<% a = Request("a") %>
<% REM Index of Directory to Remove %>
<% removeIndex = Request("removeIndex") %>
<% REM Include _cnst file to force logon by anonymous users (if access denied, body of file ignored) %>
<!--#include file="_cnst.asp" -->
<% if (cont = true) then %>
<% On Error Resume Next %>
<% Set admin = Server.CreateObject("Nntpadm.Admin.1") %>
<% if (Err <> 0) then %>
<script language="javascript">
alert("<% = Err.description %>");
</script>
<% end if %>
<% REM Instantiate Virtual Server object %>
<% On Error Resume Next %>
<% Set VServer = CreateObject("NntpAdm.VirtualServer") %>