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

@@ -97,7 +97,7 @@ if ($cfg['QueryFrameJS']) {
?>
<center>
<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>
<noscript>
<a href="<?php echo $href; ?>&amp;no_js=true" <?php echo $target . ' ' . $onclick; ?> target="phpmain<?php echo $hash; ?>"><?php echo $strQueryFrame; ?></a>