home *** CD-ROM | disk | FTP | other *** search
- <HTML>
- <HEAD><TITLE>Sambar Server Document Manager</TITLE>
- <SCRIPT language="JavaScript">
- <!--
-
- var strValid = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_";
-
- function Form_Validator(theForm)
- {
- var alertstr = "Please correct the following\n";
-
- if (theForm.name.value == "")
- {
- alert(alertstr + "Enter a value for the document \"name\" field.");
- theForm.name.focus();
- return (false);
- }
-
- for (j = 0; j < theForm.name.value.length; j++)
- {
- if (strValid.indexOf(theForm.name.value.charAt(j)) == -1)
- {
- alert(alertstr + "The \"name\" contains invalid characters.");
- theForm.name.focus();
- return (false);
- }
- }
- }
- //-->
- </SCRIPT>
- </HEAD>
- <BODY bgcolor=#ffffff>
- <A HREF="/sysadmin/index.stm" TARGET=_top>
- <IMG border=0 ALIGN=left SRC="/sysimage/system/console.gif"></A>
- <center><FONT SIZE=6>Sambar Server Document Manager</FONT>
- <P>
- <TABLE border=0 cellspacing=8>
- <TR><TD>
- <br>
- <B><FONT SIZE=+2 COLOR=#000088>Upload File</FONT></B><BR>
- <FORM METHOD="POST" ACTION="/session/dm-create" onsubmit="return Form_Validator(this)" enctype="multipart/form-data">
- <input type=hidden name="home" value="<RCSbrowse>">
- <input type=hidden name="path" value="<RC@txt2html(RC$path)>">
- <TABLE border=0 cellspacing=4>
- <TR><TD><B>Path:</B></TD>
- <TD><FONT SIZE=+1><I><RC$path></I></FONT></TD></TR>
- <TR><TD><B>File:</B></TD>
- <TD><input type=text name="name" value="new.htm" size=40></TD></TR>
- <TR><TD></TD><TD><I>(Note: File name may not contain spaces!)</I></TD></TR>
- </TABLE>
- <br>
- <input type=file name="upfile" size=60>
- <br>
- <I>(Maximum file size is 100KB).</I>
- <br>
- <br>
- <input type=submit value="Upload File">
- </FORM>
- <BR>
- Return to browsing:
- <A HREF="<RCSbrowse>/browse.stm?path=<RC@urlescape(RC$path)>"><RC$path></A>
- <BR>
- </TD></TR>
- </TABLE>
- </CENTER>
- </BODY>
- </HTML>
-