File: links.js

package info (click to toggle)
phppgadmin 3.5.2-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,552 kB
  • ctags: 5,060
  • sloc: php: 50,620; makefile: 185; sh: 150; sql: 15; awk: 8
file content (16 lines) | stat: -rw-r--r-- 520 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/**
 * Function for updating browser frame and topbar frame so that sqledit window 
 * pops up with properly selected database.
 *
 * $Id: links.js,v 1.4 2004/07/13 15:24:41 jollytoad Exp $
 */
function updateLinks(getVars) {
	var topbarLink = 'topbar.php' + getVars;
	var browserLink = 'browser.php' + getVars;
	var detailLink = 'redirect.php' + getVars + 'section=database';
		
	parent.frames.topbar.location = topbarLink;
	parent.frames.detail.location = detailLink;
	parent.frames.browser.location = browserLink;
}