Bug #728935 // See discussion on Mailinglist about QueryFramesJS set to true

and having JS deactivated.
This commit is contained in:
Garvin Hicking
2003-04-28 18:41:34 +00:00
parent 9a1ea1419f
commit d2d5643b60
5 changed files with 52 additions and 25 deletions

View File

@@ -96,7 +96,12 @@ if ($cfg['QueryFrameJS']) {
}
?>
<center>
<a href="<?php echo $href; ?>" <?php echo $target . ' ' . $onclick; ?>><?php echo $strQueryFrame; ?></a>
<script type="text/javascript">
document.writeln('<a href="<?php echo $href; ?>" <?php echo $target . ' ' . $onclick; ?>><?php echo $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>
</noscript>
</center>
</body>