get rid of propicon
This commit is contained in:
@@ -63,6 +63,19 @@ function setTable(new_table) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* reloads mian frame
|
||||
*
|
||||
* @uses goTo()
|
||||
* @uses opendb_url
|
||||
* @uses db
|
||||
* @uses server
|
||||
* @uses table
|
||||
* @uses lang
|
||||
* @uses collation_connection
|
||||
* @uses encodeURIComponent()
|
||||
* @param string url name of page to be loaded
|
||||
*/
|
||||
function refreshMain(url) {
|
||||
if (! url) {
|
||||
if (db) {
|
||||
@@ -71,20 +84,31 @@ function refreshMain(url) {
|
||||
url = 'main.php';
|
||||
}
|
||||
}
|
||||
goTo( url + '?server=' + server +
|
||||
'&db=' + db +
|
||||
'&table=' + table +
|
||||
'&lang=' + lang +
|
||||
'&collation_connection=' + collation_connection,
|
||||
'main' );
|
||||
goTo(url + '?server=' + encodeURIComponent(server) +
|
||||
'&db=' + encodeURIComponent(db) +
|
||||
'&table=' + encodeURIComponent(table) +
|
||||
'&lang=' + encodeURIComponent(lang) +
|
||||
'&collation_connection=' + encodeURIComponent(collation_connection),
|
||||
'main');
|
||||
}
|
||||
|
||||
/**
|
||||
* reloads navigation frame
|
||||
*
|
||||
* @uses goTo()
|
||||
* @uses db
|
||||
* @uses server
|
||||
* @uses table
|
||||
* @uses lang
|
||||
* @uses collation_connection
|
||||
* @uses encodeURIComponent()
|
||||
*/
|
||||
function refreshNavigation() {
|
||||
goTo('navigation.php?server=' + server +
|
||||
'&db=' + db +
|
||||
'&table=' + table +
|
||||
'&lang=' + lang +
|
||||
'&collation_connection=' + collation_connection
|
||||
goTo('navigation.php?server=' + encodeURIComponent(server) +
|
||||
'&db=' + encodeURIComponent(db) +
|
||||
'&table=' + encodeURIComponent(table) +
|
||||
'&lang=' + encodeURIComponent(lang) +
|
||||
'&collation_connection=' + encodeURIComponent(collation_connection)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -247,7 +271,7 @@ function insertQuery() {
|
||||
|
||||
function open_querywindow( url ) {
|
||||
if ( ! url ) {
|
||||
url = 'querywindow.php?' + common_query + '&db=' + db + '&table=' + table;
|
||||
url = 'querywindow.php?' + encodeURIComponent(common_query) + '&db=' + encodeURIComponent(db) + '&table=' + encodeURIComponent(table);
|
||||
}
|
||||
|
||||
if (!querywindow.closed && querywindow.location) {
|
||||
@@ -290,7 +314,6 @@ function refreshQuerywindow( url ) {
|
||||
* @param string target frame where to load the new url
|
||||
*/
|
||||
function goTo(targeturl, target) {
|
||||
//alert('goto');
|
||||
if ( target == 'main' ) {
|
||||
target = window.frame_content;
|
||||
} else if ( target == 'query' ) {
|
||||
|
Reference in New Issue
Block a user