blob: 25452788e226860885964fa8a9c95415af203216 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<META HTTP-EQUIV="Expires" CONTENT="Thu, 01 Feb 1996 00:00:00 GMT">
<SCRIPT LANGUAGE="javascript">
// Do the Search
function doSearch(searchstring)
{
if ( searchstring == "" )
{
alert("Please enter something in the search field...");
return false;
}
else
{
if ( navigator.appName == "Microsoft Internet Explorer")
{
self.parent.output_window.location="generating.html";
// the below code in the else block seems to cause things
// not to work in internet explorer
}
else
{
totalInput = "<HTML><BODY><BR><BR><BR><BR><font face=\"verdana, Arial, Helvetica, sans-serif\" style=\"font-size: 14px\"><B>Generating...</B></font></BODY></HTML>";
viewFrame = self.parent.output_window.document;
viewFrame.open();
viewFrame.write(totalInput);
viewFrame.close();
}
//self.parent.output_window.location="../bin/org?data="+escape(searchstring);
return true;
}
}
</SCRIPT>
<LINK REL=stylesheet TYPE="text/css" HREF="styles.css">
</HEAD>
<BODY class="Search" onLoad="self.parent.input_window.focus(); document.form2.data.focus();">
<CENTER>
<TABLE BORDER="0" width="100%" cellpadding=0 cellspacing=0>
<TR>
<TD ALIGN=LEFT VALIGN=CENTER class="appName" nowrap> Netscape Directory Server Org Chart</TD>
<TD ALIGN=LEFT VALIGN=CENTER width="75%">
<TABLE BORDER=0>
<TR><TD nowrap VALIGN=CENTER ALIGN=CENTER>
<span class="apptext"> Search for:</span>
</TD>
<TD nowrap VALIGN=CENTER>
<span class="apptext">
<FORM name="form2" Method=POST action="../bin/org" target="output_window" onsubmit="return doSearch(document.form2.data.value)">
<font face=\"verdana, Arial, Helvetica, sans-serif\" style=\"font-size: 12px\">
<INPUT TYPE="TEXT" NAME="data" SIZE=20 MAXLENGTH=20>
<input type="submit" name="Submit" value="Go">
</font>
</span>
</TD>
</FORM>
</TR></TABLE>
</TD>
<TD ALIGN=RIGHT>
<a href="../bin/myorg" target="output_window" class="searchlinknorm">Customize</a>
</TD>
<TD ALIGN=RIGHT VALIGN=CENTER> <IMG SRC="nslogo.gif"></TD>
</TR>
</TABLE>
</CENTER>
</BODY>
</HTML>
|