~ubuntu-branches/ubuntu/hardy/phpmyadmin/hardy

« back to all changes in this revision

Viewing changes to pmd/scripts/move.js

  • Committer: Bazaar Package Importer
  • Author(s): Thijs Kinkhorst, Thijs Kinkhorst, Translations
  • Date: 2007-06-17 17:52:03 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20070617175203-6oa2mpmgazkhp8tl
Tags: 4:2.10.2-1

[ Thijs Kinkhorst ]
* New upstream release.
* Welcome Michal Čihař as new co-maintainer.

[ Translations ]
* Vietnamese by Clytie Siddall (Closes: #427177).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
$Id: move.js 10044 2007-03-02 14:13:13Z cybot_tm $
 
2
$Id: move.js 10416 2007-05-30 16:55:18Z lem9 $
3
3
@author  Ivan A Kirillov (Ivan.A.Kirillov@gmail.com)
4
4
*/
5
5
var dx, dy, dy2;
373
373
 
374
374
function Save2()
375
375
{
376
 
  var poststr = 'IS_AJAX=1&db='+db+'&token='+token+'&die_save_pos=1';
 
376
  var poststr = 'IS_AJAX=1&server='+server+'&db='+db+'&token='+token+'&die_save_pos=1';
377
377
  poststr += Get_url_pos();
378
378
  makeRequest('pmd_save_pos.php', poststr);
379
379
}
486
486
    document.getElementById('hint').innerHTML = "";
487
487
    document.getElementById('hint').style.visibility = "hidden";
488
488
    document.getElementById('display_field_button').className = 'M_butt';
489
 
    makeRequest('pmd_display_field.php', 'T=' + T + '&F=' + f + '&db=' + db + '&token=' + token );
 
489
    makeRequest('pmd_display_field.php', 'T=' + T + '&F=' + f + '&server=' + server + '&db=' + db + '&token=' + token );
490
490
  }
491
491
}
492
492
 
493
493
function New_relation()
494
494
{
495
495
  document.getElementById('layer_new_relation').style.visibility = 'hidden';
496
 
  link_relation += '&db=' + db + '&token=' + token + '&die_save_pos=0';
 
496
  link_relation += '&server=' + server + '&db=' + db + '&token=' + token + '&die_save_pos=0';
497
497
  link_relation += '&on_delete=' + document.getElementById('on_delete').value + '&on_update=' + document.getElementById('on_update').value;
498
498
  link_relation += Get_url_pos();
499
499
  
505
505
 
506
506
function Start_table_new()
507
507
{
508
 
  window.location.href='db_operations.php?db='+db+'&token='+token;
 
508
  window.location.href='db_operations.php?server='+server+'&db='+db+'&token='+token;
509
509
}
510
510
 
511
511
function Start_tab_upd(table)
512
512
{
513
 
  window.location.href='tbl_structure.php?db='+db+'&token='+token+'&table='+table;
 
513
  window.location.href='tbl_structure.php?server='+server+'&db='+db+'&token='+token+'&table='+table;
514
514
}
515
515
//----------------------------------------------------- hide tables -----------------------------------------------------
516
516
 
651
651
function Upd_relation()
652
652
{
653
653
  document.getElementById('layer_upd_relation').style.visibility = 'hidden';
654
 
  link_relation += '&db=' + db + '&token=' + token + '&die_save_pos=0';
 
654
  link_relation += '&server=' + server + '&db=' + db + '&token=' + token + '&die_save_pos=0';
655
655
  link_relation += Get_url_pos();
656
656
  makeRequest('pmd_relation_upd.php', link_relation);
657
657
}
719
719
{
720
720
  // var WinPDF = 
721
721
  // window.open("pmd_pdf.php?token="+token+"&db="+db,"wind1", "top=200,left=200,width=200,height=100,resizable=yes,scrollbars=yes,menubar=no");
722
 
 Save('pmd_pdf.php?token='+token+'&db='+db);
 
722
 Save('pmd_pdf.php?server=' + server + '&token=' + token + '&db=' + db);
723
723
}
724
724
 
725
725