Diff for /rat/client/Attic/code.html between versions 1.32 and 1.33

version 1.32, 2001/05/28 22:23:00 version 1.33, 2001/06/02 17:19:53
Line 14  Resource Assembly Tool Line 14  Resource Assembly Tool
 March/April 01 Scott Harrison  March/April 01 Scott Harrison
 04/20 Gerd Kortemeyer  04/20 Gerd Kortemeyer
 04/30 Scott Harrison  04/30 Scott Harrison
   05/31 Scott Harrison
 -->  -->
   
   
Line 79  var srch; Line 80  var srch;
 var srchflag=-1; // 1 means currently open  var srchflag=-1; // 1 means currently open
                  // 0 means closed (but has been open)                   // 0 means closed (but has been open)
                  // -1 means never yet opened/defined                   // -1 means never yet opened/defined
   var srchmode='';
   
 var idx;  var idx;
 var idxflag=-1; // 1 means currently open  var idxflag=-1; // 1 means currently open
                  // 0 means closed (but has been open)                   // 0 means closed (but has been open)
                  // -1 means never yet opened/defined                   // -1 means never yet opened/defined
   var idxmode='';
   
 function testfunction() {  function testfunction() {
    inf.document.forms.resinfo.elements.t.value="ABC";     inf.document.forms.resinfo.elements.t.value="ABC";
Line 1509  function srchclose() { Line 1513  function srchclose() {
   
 // -------------------------------------------------------- Open indexer window  // -------------------------------------------------------- Open indexer window
   
 function idxopen() {  function idxopen(mode) {
    var options="scrollbars=1,resizable=1,menubar=0";     var options="scrollbars=1,resizable=1,menubar=0";
      idxmode=mode;
    idxflag=1;     idxflag=1;
    idx=open("/res?catalogmode=interactive","idxout",options);     idx=open("/res?catalogmode="+mode,"idxout",options);
    idx.focus();     idx.focus();
 }  }
   
 // --------------------------------------------------------- Open search window  // --------------------------------------------------------- Open search window
   
 function srchopen() {  function srchopen(mode) {
    var options="scrollbars=1,resizable=1,menubar=0";     var options="scrollbars=1,resizable=1,menubar=0";
      srchmode=mode;
    srchflag=1;     srchflag=1;
    srch=open("/adm/searchcat?catalogmode=interactive","srchout",options);     srch=open("/adm/searchcat?catalogmode=interactive","srchout",options);
    srch.focus();     srch.focus();
Line 1533  function search() { Line 1539  function search() {
   
 // ------------------------------------------------------- Do srch status check  // ------------------------------------------------------- Do srch status check
   
 function srchcheck() {  function srchcheck(mode) {
    if (!srch || srch.closed) {     if (!srch || srch.closed || srchmode!=mode) {
       srchopen();        srchopen();
    }     }
    srch.focus();     srch.focus();
Line 1542  function srchcheck() { Line 1548  function srchcheck() {
   
 // -------------------------------------------------------- Do idx status check  // -------------------------------------------------------- Do idx status check
   
 function idxcheck() {  function idxcheck(mode) {
    if (!idx || idx.closed) {     if (!idx || idx.closed || idxmode!=mode) {
       idxopen();        idxopen(mode);
    }     }
    idx.focus();     idx.focus();
 }  }
Line 1645  function handler(infostr) { Line 1651  function handler(infostr) {
         +'<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>'          inf.document.write('></td><td align=right>'
         +'<a href="javascript:opener.idxcheck()">Browse</a> '          +'<a href="javascript:opener.idxcheck(\'interactive\')">Browse</a> '
         +'<a href="javascript:opener'          +'<a href="javascript:opener'
  +'.srchcheck()">Search</a></td></tr>'   +'.srchcheck(\'interactive\')">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 2501  function schedule(action) { Line 2507  function schedule(action) {
   
 // ----------------------------------------------------- launch indexer browser  // ----------------------------------------------------- launch indexer browser
   
 function browse() {  function groupsearch() {
    alert('not yet implemented');     alert('not yet implemented');
 }  }
   
 function groupimport() {  function groupimport() {
    alert('not yet implemented');     idxcheck('groupimport');
 }  }
   
 // -------------------------------------------------------------- Store changes  // -------------------------------------------------------------- Store changes
Line 2588  function leave() { Line 2594  function leave() {
 <a href="javascript:revert();">Revert</a>  <a href="javascript:revert();">Revert</a>
 <a href="javascript:undo();">Undo</a>  <a href="javascript:undo();">Undo</a>
 <a href="javascript:redo();">Redo</a>  <a href="javascript:redo();">Redo</a>
 <a href="javascript:browse();">Browse</a>  <a href="javascript:groupsearch();">Group Search</a>
 <a href="javascript:groupimport();">Group Import</a>  <a href="javascript:groupimport();">Group Import</a>
 <a href="javascript:storechange();">Store</a>  <a href="javascript:storechange();">Store</a>
 </body>  </body>

Removed from v.1.32  
changed lines
  Added in v.1.33


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