Be valid XHTML

This commit is contained in:
Michal Čihař
2004-04-27 12:36:12 +00:00
parent 04229e997f
commit 928a8b33db
23 changed files with 45 additions and 48 deletions

View File

@@ -22,8 +22,8 @@ if ($cfg['QueryFrame'] && $cfg['QueryFrameJS']) {
<?php
if ($cfg['QueryFrameDebug']) {
?>
document.writeln("Updating query window. DB: <?php echo (isset($db) ? addslashes($db) : 'FALSE'); ?>, Table: <?php echo (isset($table) ? addslashes($table) : 'FALSE'); ?><br>");
document.writeln("Window: " + parent.frames.queryframe.querywindow.location + "<br>");
document.writeln("Updating query window. DB: <?php echo (isset($db) ? addslashes($db) : 'FALSE'); ?>, Table: <?php echo (isset($table) ? addslashes($table) : 'FALSE'); ?><br />");
document.writeln("Window: " + parent.frames.queryframe.querywindow.location + "<br />");
<?php
}
?>
@@ -41,7 +41,7 @@ if ($cfg['QueryFrame'] && $cfg['QueryFrameJS']) {
function reload_querywindow () {
if (parent.frames.queryframe && parent.frames.queryframe.querywindow && !parent.frames.queryframe.querywindow.closed && parent.frames.queryframe.querywindow.location) {
<?php echo ($cfg['QueryFrameDebug'] ? 'document.writeln("<a href=\'#\' onClick=\'parent.frames.queryframe.querywindow.focus(); return false;\'>Query Window</a> can be updated.<br>");' : ''); ?>
<?php echo ($cfg['QueryFrameDebug'] ? 'document.writeln("<a href=\'#\' onClick=\'parent.frames.queryframe.querywindow.focus(); return false;\'>Query Window</a> can be updated.<br />");' : ''); ?>
<?php
if (!isset($no_history) && (!isset($error_message) || $error_message == '')) {