version 1.16, 2001/03/05 16:01:35
|
version 1.23, 2001/03/15 14:48:44
|
Line 72 var data4=new Array(1024);
|
Line 72 var data4=new Array(1024);
|
var data5=new Array(1024); |
var data5=new Array(1024); |
|
|
var inf; |
var inf; |
|
var srch; |
|
|
|
function testfunction() { |
|
inf.document.forms.resinfo.elements.t.value="ABC"; |
|
} |
|
|
// ------------------------------------------------ Insert a row into the table |
// ------------------------------------------------ Insert a row into the table |
|
|
Line 1281 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 1453 function insertcondlink(cid,lnr) {
|
Line 1460 function insertcondlink(cid,lnr) {
|
joinres(nobj,tobj,0); |
joinres(nobj,tobj,0); |
} |
} |
|
|
|
|
|
|
|
|
|
// ------------------------------------------------------- Clears search window |
|
|
|
function srchclear() { |
|
srch.document.clear(); |
|
} |
|
|
|
// ------------------------------------------------------- Closes search window |
|
|
|
function srchclose() { |
|
if (!srch.closed) { |
|
srch.close(); |
|
} |
|
} |
|
|
|
// --------------------------------------------------------- Open search window |
|
|
|
function srchopen() { |
|
var options="scrollbars=1,resizable=1,menubar=0"; |
|
srch=open("/adm/searchcat?catalogmode=interactive","srchout",options); |
|
srch.focus(); |
|
} |
|
|
|
// -------------------------------------------- Interface function to searching |
|
|
|
function search() { |
|
alert("Searching not yet implemented"); |
|
} |
|
|
|
// ------------------------------------------------------- Do srch status check |
|
|
|
function srchcheck() { |
|
if (!srch || srch.closed) { |
|
srchopen(); |
|
} |
|
srch.focus(); |
|
} |
|
|
// ---------------------------------------------------- Handles "click to edit" |
// ---------------------------------------------------- Handles "click to edit" |
|
|
function handler(infostr) { |
function handler(infostr) { |
Line 1540 function handler(infostr) {
|
Line 1587 function handler(infostr) {
|
} |
} |
} |
} |
inf.document.write( |
inf.document.write( |
'<form name=resinfo><table><tr><td>Title:</td><td>' |
'<form name=resinfo><table><tr><td>Title:</td><td colspan=2>' |
+'<input type=text name=t size=30 value="' |
+'<input type=text name=t size=30 value="' |
+data2[0]+'"><input type=hidden name=h value='+data2[3]+'></td></tr>'); |
+data2[0]+'"><input type=hidden name=h value='+data2[3]+'></td></tr>'); |
if ((data2[3]!='start') && (data2[3]!='finish')) { |
if ((data2[3]!='start') && (data2[3]!='finish')) { |
inf.document.write('<tr><td>URL:</td><td>' |
inf.document.write('<tr><td>URL:</td><td colspan=2>' |
+'<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></tr>' |
inf.document.write('></td><td align=right><a href="javascript:opener.srchcheck()">Search</a></td></tr>' |
+'<tr><td colspan=2>' |
+'<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'"+'"'); |
if (data2[3]=='normal') { inf.document.write(' checked'); } |
if (data2[3]=='normal') { inf.document.write(' checked'); } |
Line 1568 function handler(infostr) {
|
Line 1615 function handler(infostr) {
|
+'<input type=hidden name=u value=""></td></tr>'); |
+'<input type=hidden name=u value=""></td></tr>'); |
} |
} |
inf.document.writeln( |
inf.document.writeln( |
'<tr><td colspan=2><a href="javascript:opener.editmode=0;' |
'<tr><td colspan=3><a href="javascript:opener.editmode=0;' |
+'opener.notclear=0;opener.objcont['+data1[1] |
+'opener.notclear=0;opener.objcont['+data1[1] |
+']=opener.escape(self.document.forms.resinfo.elements.t.value)+'+"':'" |
+']=opener.escape(self.document.forms.resinfo.elements.t.value)+'+"':'" |
+'+opener.escape(self.document.forms.resinfo.elements.u.value)+'+"':'" |
+'+opener.escape(self.document.forms.resinfo.elements.u.value)+'+"':'" |
Line 2458 function leave() {
|
Line 2505 function leave() {
|
if (!inf.closed) { |
if (!inf.closed) { |
inf.close(); |
inf.close(); |
} |
} |
|
if (!srch.closed) { |
|
srchclose(); |
|
} |
} |
} |
|
|
</script> |
</script> |