Neated URL generating.

This commit is contained in:
Michal Čihař
2003-03-25 11:18:20 +00:00
parent 2107ae7faf
commit 03a8fe7512
2 changed files with 2 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ $Source$
* tbl_query_box.php3, tbl_properties_operations.php3, * tbl_query_box.php3, tbl_properties_operations.php3,
libraries/common.lib.php3, tbl_query_box.php3: More HTML entities fixes. libraries/common.lib.php3, tbl_query_box.php3: More HTML entities fixes.
* read_dump.php3: Fixed detection of $goto. * read_dump.php3: Fixed detection of $goto.
* header.inc.php3: Neated URL generating.
2003-03-24 Michal Cihar <nijel@users.sourceforge.net> 2003-03-24 Michal Cihar <nijel@users.sourceforge.net>
* db_details_structure.php3, mult_submits.inc.php: Added CHECK TABLE to * db_details_structure.php3, mult_submits.inc.php: Added CHECK TABLE to

View File

@@ -150,7 +150,7 @@ if ($cfg['QueryFrame'] && $cfg['QueryFrameJS']) {
top.frames.queryframe.querywindow.focus(); top.frames.queryframe.querywindow.focus();
return false; return false;
} else if (top.frames.queryframe) { } else if (top.frames.queryframe) {
new_win_url = 'querywindow.php3?sql_query=' + sql_query + '&<?php echo PMA_generate_common_url('', ''); ?>&db=<?php echo (isset($db) ? htmlspecialchars($db) : ''); ?>&table=<?php echo (isset($table) ? htmlspecialchars($table) : ''); ?>'; new_win_url = 'querywindow.php3?sql_query=' + sql_query + '&<?php echo PMA_generate_common_url(isset($db)?$db:'', isset($table)?$table:'','&'); ?>';
top.frames.queryframe.querywindow=window.open(new_win_url, 'js_querywindow','toolbar=0,location=1,directories=0,status=1,menubar=0,scrollbars=yes,resizable=yes,width=<?php echo $cfg['QueryWindowWidth']; ?>,height=<?php echo $cfg['QueryWindowHeight']; ?>'); top.frames.queryframe.querywindow=window.open(new_win_url, 'js_querywindow','toolbar=0,location=1,directories=0,status=1,menubar=0,scrollbars=yes,resizable=yes,width=<?php echo $cfg['QueryWindowWidth']; ?>,height=<?php echo $cfg['QueryWindowHeight']; ?>');
if (!top.frames.queryframe.querywindow.opener) { if (!top.frames.queryframe.querywindow.opener) {