version 1.20, 2001/03/13 14:10:09
|
version 1.26, 2001/03/15 18:07:01
|
Line 1286 function infoclear() {
|
Line 1286 function infoclear() {
|
} |
} |
inf.document.writeln('</tr></table></body></html>'); |
inf.document.writeln('</tr></table></body></html>'); |
inf.document.close(); |
inf.document.close(); |
|
srchclose(); |
|
|
parent.top.focus(); |
parent.top.focus(); |
parent.mapout.focus(); |
parent.mapout.focus(); |
notclear=1; |
notclear=1; |
Line 1470 function srchclear() {
|
Line 1472 function srchclear() {
|
// ------------------------------------------------------- Closes search window |
// ------------------------------------------------------- Closes search window |
|
|
function srchclose() { |
function srchclose() { |
srch.close(); |
if (srch && !srch.closed) { |
|
srch.close(); |
|
} |
} |
} |
|
|
// --------------------------------------------------------- Open search window |
// --------------------------------------------------------- Open search window |
Line 1478 function srchclose() {
|
Line 1482 function srchclose() {
|
function srchopen() { |
function srchopen() { |
var options="scrollbars=1,resizable=1,menubar=0"; |
var options="scrollbars=1,resizable=1,menubar=0"; |
srch=open("/adm/searchcat?catalogmode=interactive","srchout",options); |
srch=open("/adm/searchcat?catalogmode=interactive","srchout",options); |
|
srch.focus(); |
} |
} |
|
|
// -------------------------------------------- Interface function to searching |
// -------------------------------------------- Interface function to searching |
Line 1489 function search() {
|
Line 1494 function search() {
|
// ------------------------------------------------------- Do srch status check |
// ------------------------------------------------------- Do srch status check |
|
|
function srchcheck() { |
function srchcheck() { |
if (srch.closed) { |
if (!srch || srch.closed) { |
srchopen(); |
srchopen(); |
} |
} |
|
srch.focus(); |
} |
} |
|
|
// ---------------------------------------------------- Handles "click to edit" |
// ---------------------------------------------------- Handles "click to edit" |
Line 1589 function handler(infostr) {
|
Line 1595 function handler(infostr) {
|
+'<input type=text name=u size=30 value="'+data2[1]+'"></td></tr>' |
+'<input type=text name=u size=30 value="'+data2[1]+'"></td></tr>' |
+'<tr><td>External:</td><td><input type=checkbox name=e'); |
+'<tr><td>External:</td><td><input type=checkbox name=e'); |
if (data2[2]=='true') { inf.document.write(' checked'); } |
if (data2[2]=='true') { inf.document.write(' checked'); } |
inf.document.write('></td><td align=right><a href="javascript:opener.srchopen()">Search</a></td></tr>' |
inf.document.write('></td><td align=right><a href="javascript:opener.srchcheck()">Search</a></td></tr>' |
+'<tr><td colspan=3>' |
+'<tr><td colspan=3>' |
+'<input type=radio name=y value=normal '+ |
+'<input type=radio name=y value=normal '+ |
'onClick="self.document.forms.resinfo.elements.h.value='+"'normal'"+'"'); |
'onClick="self.document.forms.resinfo.elements.h.value='+"'normal'"+'"'); |
Line 2484 function togglemode() {
|
Line 2490 function togglemode() {
|
function main() { |
function main() { |
|
|
if (mainrun==0) { |
if (mainrun==0) { |
|
srchopen(); |
|
srchclose(); |
infopen(); |
infopen(); |
infoclear(); |
infoclear(); |
load(); |
load(); |
Line 2499 function leave() {
|
Line 2507 function leave() {
|
if (!inf.closed) { |
if (!inf.closed) { |
inf.close(); |
inf.close(); |
} |
} |
if (!srch.closed) { |
if (srch && !srch.closed) { |
srch.close(); |
srchclose(); |
} |
} |
} |
} |
|
|