Diff for /rat/client/ratcode.js between versions 1.10 and 1.13.2.1

version 1.10, 2009/04/23 13:09:44 version 1.13.2.1, 2011/11/22 00:22:09
Line 1403  function draw () { Line 1403  function draw () {
 function infoclear() {  function infoclear() {
  if (notclear!=1) {   if (notclear!=1) {
   infcheck();    infcheck();
   inf.document.clear();    inf.document.open();
   inf.document.writeln    inf.document.writeln
    ('<html><body bgcolor="#FFFFFF"><table><tr><td>'+     ('<html><body bgcolor="#FFFFFF"><table><tr><td>'+
     '<img src="/adm/lonIcons/lonlogos.gif" /></td>');      '<img src="/adm/lonIcons/lonlogos.gif" /></td>');
Line 1468  function info(infostr) { Line 1468  function info(infostr) {
  if ((editmode!=1) && (infostr!=lastinfo)) {   if ((editmode!=1) && (infostr!=lastinfo)) {
   notclear=1;    notclear=1;
   infcheck();    infcheck();
   inf.document.clear();    inf.document.open();
   inf.document.writeln(    inf.document.writeln(
    '<html><body bgcolor="#FFFFFF">'+     '<html><body bgcolor="#FFFFFF">'+
    '<table><tr><td width="32"><img src="'+raticons+'info.gif" /></td><td bgcolor="#AAFFAA">');     '<table><tr><td width="32"><img src="'+raticons+'info.gif" /></td><td bgcolor="#AAFFAA">');
Line 1622  function insertcondlink(cid,lnr) { Line 1622  function insertcondlink(cid,lnr) {
   
 // ------------------------------------------------------ Clears indexer window  // ------------------------------------------------------ Clears indexer window
 function idxclear() {  function idxclear() {
   idx.document.clear();    idx.document.open();
     idx.document.close();
 }  }
   
 // --------------------------------------------------------- Clears copy window  // --------------------------------------------------------- Clears copy window
 function copydxclear() {  function copydxclear() {
   copydx.document.clear();    copydx.document.open();
     copydx.document.close();
 }  }
 // ------------------------------------------------------- Clears search window  // ------------------------------------------------------- Clears search window
 function srchclear() {  function srchclear() {
   srch.document.clear();    srch.document.open();
     srch.document.close();
 }  }
   
 // --------------------------------------------------------- Clears parm window  // --------------------------------------------------------- Clears parm window
 function parmclear() {  function parmclear() {
   parm.document.clear();    parm.document.open();
     parm.document.close();
 }  }
   
 // ------------------------------------------------------ Closes indexer window  // ------------------------------------------------------ Closes indexer window
Line 1684  function groupopen(url) { Line 1688  function groupopen(url) {
    var options="scrollbars=1,resizable=1,menubar=0";     var options="scrollbars=1,resizable=1,menubar=0";
    idxmode=mode;     idxmode=mode;
    idxflag=1;     idxflag=1;
    idx=open("/adm/groupsort?mode=rat&recover=1&readfile="+url,"idxout",options);     idx=open("/adm/groupsort?inhibitmenu=yes&mode=rat&recover=1&readfile="+url,"idxout",options);
    idx.focus();     idx.focus();
 }  }
 // ------------------------------------------------------- Open bookmark window  // ------------------------------------------------------- Open bookmark window
Line 1692  function bookmarkopen() { Line 1696  function bookmarkopen() {
    var options="scrollbars=1,resizable=1,menubar=0";     var options="scrollbars=1,resizable=1,menubar=0";
    idxmode=mode;     idxmode=mode;
    idxflag=1;     idxflag=1;
    idx=open("/adm/groupsort?mode=rat&bookmarks=1","idxout",options);     idx=open("/adm/groupsort?inhibitmenu=yes&mode=rat&bookmarks=1","idxout",options);
    idx.focus();     idx.focus();
 }  }
 // ------------------------------------------------- Open browser to select map  // ------------------------------------------------- Open browser to select map
Line 1724  function copydxopen(mode) { Line 1728  function copydxopen(mode) {
    copydxmode=mode;     copydxmode=mode;
    copydxflag=1;     copydxflag=1;
    copydx=open("",'copydxout',options);     copydx=open("",'copydxout',options);
    copydx.document.clear('');     copydx.document.open('');
    copydx.document.writeln(     copydx.document.writeln(
  '<html><body bgcolor="#FFFFFF"><h1>Copy from Map</h1>'+   '<html><body bgcolor="#FFFFFF"><h1>Copy from Map</h1>'+
  '<form name="mapload"><input type="text" size="40" name="importmap">'+   '<form name="mapload"><input type="text" size="40" name="importmap">'+
Line 1782  function handler(infostr) { Line 1786  function handler(infostr) {
   editmode=1;    editmode=1;
   notclear=1;    notclear=1;
   infcheck();    infcheck();
   inf.document.clear();    inf.document.open();
   inf.document.writeln(    inf.document.writeln(
    '<html><body bgcolor="#FFFFFF">'+     '<html><body bgcolor="#FFFFFF">'+
    '<table><tr><td width="32"><img src="'+raticons+'edit.gif" /></td><td bgcolor="#AAFFAA">');     '<table><tr><td width="32"><img src="'+raticons+'edit.gif" /></td><td bgcolor="#AAFFAA">');
Line 1954  function empty(rid,k) { Line 1958  function empty(rid,k) {
   notclear=1;    notclear=1;
   linkmode=0;    linkmode=0;
   infcheck();    infcheck();
   inf.document.clear();    inf.document.open();
   inf.document.writeln(    inf.document.writeln(
    '<html><body bgcolor="#FFFFFF">'+     '<html><body bgcolor="#FFFFFF">'+
    '<table><tr><td width="32"><img src="'+raticons+'edit.gif" /></td><td bgcolor="#AAFFAA">'+     '<table><tr><td width="32"><img src="'+raticons+'edit.gif" /></td><td bgcolor="#AAFFAA">'+

Removed from v.1.10  
changed lines
  Added in v.1.13.2.1


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>