Back to the Source Listing 

<!--#Include file="includes/FacConn.inc" -->
<%
'Developer: Angela Johnston
'Date: January 21, 2002
'
'editUser.asp - This page allows users with admin privileges to add new faculty members to the
' application. The information on this page gets sent to addUser.asp.
'
'***************************************************************************************************************
'Included pages
' FacConn.inc - Checks whether the user has application priviledges
' formStyle.css - The style sheet for the Faculty Application
' adovbs.inc - A page usually included with ASP to make openning tables and running queries easier.
' It assigns names to numbers, so that you don't have to remember what each number means.
' footer.asp - Contains the menu that should be located at the bottom of the page
'
'QueryStrings (name - value)
' None
'
'Recordsets (name - value)
' None
'
'Variables
' None
'
'Forms
' frmUser - contains the following form fields.
'
'Form Fields
' LogonName - The oznet logon name that will be used for the faculty member. Must consist of
' the first character of his/her first name and the first eight characters of his/her
' last name.
' FacultyName - The full name of the faculty member.
'
'***************************************************************************************************************
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%
'If user does not have admin privileges, redirect to agronomy intranet
If Not bAdmin = "True" Then
Response.Redirect "http://intranet.oznet.ksu.edu/agronomy/"
End If
%>
<html lang="EN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Faculty Form</title>
<script Language="JavaScript">
<!--
function verifyData()
{
 

if (isEmpty(document.frmUser.LogonName.value))
{
alert("Your Logon Name field is empty - please reenter");
return false;
}
if (isEmpty(document.frmUser.FacultyName.value))
{
alert("The Faculty Name field is empty - please reenter");
return false;
}
 

return 1;
 

}
 

// Check whether string s is empty.
function isEmpty(s)
{ return ((s == null) || (s.length == 0))
}
//-->
</script>
<link rel="stylesheet" type="text/css" href="includes/formStyle.css">
</head>
<body background="../newhierarchy/images/backgroundtile.gif">
<div align="center">
<table summary=" " width="600" cellspacing="0" cellpadding="10">
<tr>
<td>
<h1 align="center">Faculty Web Application - Add New Faculty Member</h1>
<h2 align="center">Enter the Information for the Faculty Member You Want
to Add.</h2>
<h1 align="center">&nbsp;</h1>
<p>Please enter the faculty members full name and oznet logon name.</p>
<p>The oznet logon name usually consists of the first letter of the
first name followed by the first seven characters of the last name.</p>
<form action="addUser.asp" name="frmUser" method="Post" onsubmit="return verifyData()">
<table summary=" " width="600" cellspacing="0" cellpadding="10">
<tr>
<td>&nbsp;
<div align="center">
<table width="525">
<tr>
<td><label title="label for LogonName text box">Logon
Name*:</label></td>
<td><input alt="Logon Name" type="Text" name="LogonName" size="10"></td>
</tr>
<tr>
<td><label title="label for FacultyName text box">Faculty
Name*:</label></td>
<td><input alt="Faculty Name" name="FacultyName" value size="50"></td>
</tr>
<tr>
<td></td>
<td><br>
<input alt="Submit Registrationg" type="Submit" value="Submit Registration">&nbsp;&nbsp;
<input alt="Reset" type="reset"></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</form>
<hr>
<div align="center">
<table summary=" " width="600">
<tr>
<td><a href="facultyMenu.asp">Faculty Menu</a></td>
<td><a href="http://intranet.oznet.ksu.edu/ap_AccountForms/Change_Password/">Change
Oznet Password</a></td>
<td><a href="http://intranet.oznet.ksu.edu/agronomy/">Intranet
Home Page</a></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
</body>
</html>