Fixed typo in hash, fixed bad hash propagated with JavaScript. Fixes #736003.
This commit is contained in:
@@ -16,6 +16,10 @@ $Source$
|
||||
libraries/display_export.lib.php3, lang/*: Merged patch #727027 - LaTeX
|
||||
export improvements. Now can export table structure and some other
|
||||
options. Closes RFE #718942.
|
||||
* tbl_change.php3: Remember state of insert as another row - fixes
|
||||
#736064, show used query.
|
||||
* index.php3: Fixed typo in hash, fixed bad hash propagated with
|
||||
JavaScript. Fixes #736003.
|
||||
|
||||
2003-05-11 Marc Delisle <lem9@users.sourceforge.net>
|
||||
### 2.5.0 released
|
||||
|
13
index.php3
13
index.php3
@@ -67,8 +67,10 @@ $phpmain_hash_js = time();
|
||||
<?php
|
||||
if ($cfg['QueryFrameJS']) {?>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
document.writeln('<frame src="left.php3?<?php echo $url_query; ?>&hash=<?php echo $phpmain_hash . $phpmain_hash_js; ?>" name="nav" frameborder="0" />');
|
||||
document.writeln('<frame src="queryframe.php3?<?php echo $url_query; ?>&hash=<?php echo $phpmain_hash . $phpmain_hash_js; ?>" name="queryframe" frameborder="0" />');
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<noscript>
|
||||
@@ -82,11 +84,18 @@ $phpmain_hash_js = time();
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
<frame src="left.php3?<?php echo $url_query; ?>&hash='<?php echo $phpmain_hash; ?>" name="nav" frameborder="0" />
|
||||
<frame src="left.php3?<?php echo $url_query; ?>&hash=<?php echo $phpmain_hash; ?>" name="nav" frameborder="0" />
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<frame src="<?php echo (empty($db)) ? 'main.php3' : $cfg['DefaultTabDatabase']; ?>?<?php echo $url_query; ?>" name="phpmain<?php echo $phpmain_hash; ?>" frameborder="1" />
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
document.writeln('<frame src="<?php echo (empty($db)) ? 'main.php3' : $cfg['DefaultTabDatabase']; ?>?<?php echo $url_query; ?>" name="phpmain<?php echo $phpmain_hash . $phpmain_hash_js; ?>" frameborder="0" />');
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<frame src="<?php echo (empty($db)) ? 'main.php3' : $cfg['DefaultTabDatabase']; ?>?<?php echo $url_query; ?>" name="phpmain<?php echo $phpmain_hash; ?>" frameborder="1" />
|
||||
</noscript>
|
||||
|
||||
<noframes>
|
||||
<body bgcolor="#FFFFFF">
|
||||
|
Reference in New Issue
Block a user