version 1.56, 2002/05/24 16:39:23
|
version 1.60, 2002/09/04 16:54:44
|
Line 1636 function idxopen(mode) {
|
Line 1636 function idxopen(mode) {
|
idx=open("/res/?launch=1&mode=rat&catalogmode="+mode,"idxout",options); |
idx=open("/res/?launch=1&mode=rat&catalogmode="+mode,"idxout",options); |
idx.focus(); |
idx.focus(); |
} |
} |
|
// ------------------------------------------------- Open browser to select map |
|
var editbrowser; |
|
function openbrowser(formname,elementname,only,omit) { |
|
var url = '/res/?'; |
|
if (editbrowser == null) { |
|
url += 'launch=1&'; |
|
} |
|
url += 'catalogmode=interactive&'; |
|
url += 'mode=edit&'; |
|
url += 'form=' + formname + '&'; |
|
if (only != null) { |
|
url += 'only=' + only + '&'; |
|
} |
|
if (omit != null) { |
|
url += 'omit=' + omit + '&'; |
|
} |
|
url += 'element=' + elementname + ''; |
|
var title = 'Browser'; |
|
var options = 'scrollbars=1,resizable=1,menubar=0'; |
|
options += ',width=700,height=600'; |
|
editbrowser = copydx.open(url,title,options,'1'); |
|
editbrowser.focus(); |
|
} |
// ----------------------------------------------------------- Open copy window |
// ----------------------------------------------------------- Open copy window |
function copydxopen(mode) { |
function copydxopen(mode) { |
var options="scrollbars=1,resizable=1,menubar=0"; |
var options="scrollbars=1,resizable=1,menubar=0"; |
Line 1645 function copydxopen(mode) {
|
Line 1667 function copydxopen(mode) {
|
copydx=open("",'copydxout',options); |
copydx=open("",'copydxout',options); |
copydx.document.clear(''); |
copydx.document.clear(''); |
copydx.document.writeln( |
copydx.document.writeln( |
'<html><body bgcolor="#FFFFFF"><h1>Group Copy from Map</h1>'); |
'<html><body bgcolor="#FFFFFF"><h1>Copy from Map</h1>'+ |
|
'<form name="mapload"><input type=text size=40 name=importmap>'+ |
|
'<input type=button onClick="javascript:opener.openbrowser'+ |
|
"('mapload','importmap','sequence,page','')"+ |
|
'" value="Browse"><input type=button value="Load Map" '+ |
|
'onClick="window.location=document.mapload.importmap.value+'+ |
|
"'?launch=1&forceselect=1'"+'"></form>'); |
|
|
copydx.document.writeln('</body></html>'); |
copydx.document.writeln('</body></html>'); |
copydx.focus(); |
copydx.focus(); |
} |
} |
Line 1774 function handler(infostr) {
|
Line 1803 function handler(infostr) {
|
inf.document.write( |
inf.document.write( |
'<form name=resinfo><table><tr><td>Title:</td><td colspan=2>' |
'<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>'); |
+escape(data2[0])+'"><input type=hidden name=h value='+data2[3]+'></td></tr>'); |
inf.document.write('<tr><td>URL:</td><td colspan=2>' |
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'); |
Line 2006 function graphreset() {
|
Line 2035 function graphreset() {
|
|
|
objcont[0]=''; |
objcont[0]=''; |
objlinks[0]=''; |
objlinks[0]=''; |
if (((typeof(objcont[1])=="undefined")&&(typeof(objcont[2])=="undefined")) || |
|
((objcont[1]=='')&&(objcont[2]==''))) { |
|
objcont[1]='Start::false:start:res' |
|
objcont[2]='Finish::false:finish:res'; |
|
} |
|
graphdef='no'; |
graphdef='no'; |
|
|
} |
} |
Line 2558 function finishload() {
|
Line 2583 function finishload() {
|
for (k=1;k<=maxrow;k++) { |
for (k=1;k<=maxrow;k++) { |
if (typeof(rowcont[k])=="undefined") { rowcont[k]=''; } |
if (typeof(rowcont[k])=="undefined") { rowcont[k]=''; } |
} |
} |
|
} else { |
|
var hasstart=0; |
|
var hasfinish=0; |
|
for (k=0;k<objcont.length;k++) { |
|
if (typeof(objcont[k])!="undefined") { |
|
var objfunctype=(objcont[k].split(':'))[3]; |
|
if (objfunctype=='start') { hasstart=1; } |
|
if (objfunctype=='finish') { hasfinish=1; } |
|
} |
|
} |
|
if (!hasstart) { |
|
if ((typeof(objcont[1])=="undefined") || (objcont[1]=='')) { |
|
objcont[1]='Start::false:start:res'; |
|
} |
|
} |
|
if (!hasfinish) { |
|
if ((typeof(objcont[2])=="undefined") || (objcont[2]=='')) { |
|
objcont[2]='Finish::false:finish:res'; |
|
} |
|
} |
} |
} |
} |
} |
|
|
Line 2751 function leave() {
|
Line 2796 function leave() {
|
<td bgcolor="#ffffcc"><a href="javascript:revert();"><b>R</b>evert</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:revert();"><b>R</b>evert</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:undo();"><b>U</b>ndo</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:undo();"><b>U</b>ndo</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:redo();"><b>R</b>edo</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:redo();"><b>R</b>edo</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:groupsearch();"><b>G</b>roup search</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:groupsearch();"><b>S</b>earch</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:groupimport();"><b>G</b>roup import</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:groupimport();"><b>I</b>mport</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:groupcopy();"><b>G</b>roup copy</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:groupcopy();"><b>C</b>opy</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:graphdef='no';save();storechange();"><b>S</b>ave map</a> </td> |
<td bgcolor="#ffffcc"><a href="javascript:graphdef='no';save();storechange();"><b>S</b>ave map</a> </td> |
<td bgcolor="#ccffcc"><a href="javascript:storechange();"><b>S</b>ave map and layout</a> </td> |
<td bgcolor="#ccffcc"><a href="javascript:storechange();"><b>S</b>ave map and layout</a> </td> |
</tr></table> |
</tr></table> |