Typo, more addslashes

This commit is contained in:
Garvin Hicking
2003-04-29 12:37:01 +00:00
parent a2b384e5ef
commit 65f9f2a8f7
3 changed files with 4 additions and 3 deletions

View File

@@ -7,7 +7,8 @@ $Source$
2003-04-29 Garvin Hicking <me@supergarv.de> 2003-04-29 Garvin Hicking <me@supergarv.de>
* tbl_move_copy.php3: Bug #729416 * tbl_move_copy.php3: Bug #729416
* tbl_query_box.php3: Bug #729446, maybe #728571 * tbl_query_box.php3, queryframe.php3: Bug #729446, maybe #728571
* index.php3: Typo
2003-04-28 Garvin Hicking <me@supergarv.de> 2003-04-28 Garvin Hicking <me@supergarv.de>
* index.php3, queryframe.php3, tbl_query_box.php3, querywindow.php3: * index.php3, queryframe.php3, tbl_query_box.php3, querywindow.php3:

View File

@@ -68,7 +68,7 @@ $phpmain_hash_js = time();
if ($cfg['QueryFrameJS']) {?> if ($cfg['QueryFrameJS']) {?>
<script type="text/javascript"> <script type="text/javascript">
document.writeln('<frame src="left.php3?<?php echo $url_query; ?>&amp;hash=<?php echo $phpmain_hash . $phpmain_hash_js; ?>" name="nav" frameborder="0" />'); document.writeln('<frame src="left.php3?<?php echo $url_query; ?>&amp;hash=<?php echo $phpmain_hash . $phpmain_hash_js; ?>" name="nav" frameborder="0" />');
documkent.writeln('<frame src="queryframe.php3?<?php echo $url_query; ?>&amp;hash=<?php echo $phpmain_hash . $phpmain_hash_js; ?>" name="queryframe" frameborder="0" />'); document.writeln('<frame src="queryframe.php3?<?php echo $url_query; ?>&amp;hash=<?php echo $phpmain_hash . $phpmain_hash_js; ?>" name="queryframe" frameborder="0" />');
</script> </script>
<noscript> <noscript>

View File

@@ -97,7 +97,7 @@ if ($cfg['QueryFrameJS']) {
?> ?>
<center> <center>
<script type="text/javascript"> <script type="text/javascript">
document.writeln('<a href="<?php echo $href; ?>" <?php echo $target . ' ' . $onclick; ?>><?php echo $strQueryFrame; ?></a>'); document.writeln('<a href="<?php echo $href; ?>" <?php echo $target . ' ' . $onclick; ?>><?php echo addslashes($strQueryFrame); ?></a>');
</script> </script>
<noscript> <noscript>
<a href="<?php echo $href; ?>&amp;no_js=true" <?php echo $target . ' ' . $onclick; ?> target="phpmain<?php echo $hash; ?>"><?php echo $strQueryFrame; ?></a> <a href="<?php echo $href; ?>&amp;no_js=true" <?php echo $target . ' ' . $onclick; ?> target="phpmain<?php echo $hash; ?>"><?php echo $strQueryFrame; ?></a>