bug #1759528, browse_foreigners fails due to newlines, thanks to Hanno Boeck

This commit is contained in:
Marc Delisle
2007-07-27 13:55:41 +00:00
parent c14228f6e2
commit 5dda07a51b
2 changed files with 4 additions and 2 deletions

View File

@@ -89,6 +89,8 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
+ [gui] Export: Select All/Unselect All over the choices,
thanks to Florian Schmitz
+ [lang] Japanese update, thanks to Ishigaki Kenichi
- bug #1759528 browse_foreigners fails due to newlines,
thanks to Hanno Boeck
2.10.3.0 (2007-07-20)

View File

@@ -615,8 +615,8 @@ foreach ($loop_array as $vrowcount => $vrow) {
<script type="text/javascript">
//<![CDATA[
document.writeln('<a target="_blank" onclick="window.open(this.href, \'foreigners\', \'width=640,height=240,scrollbars=yes,resizable=yes\'); return false"');
document.writeln(' href="browse_foreigners.php?');
document.writeln('<?php echo PMA_generate_common_url($db, $table); ?>');
document.write(' href="browse_foreigners.php?');
document.write('<?php echo PMA_generate_common_url($db, $table); ?>');
document.writeln('&amp;field=<?php echo PMA_escapeJsString(urlencode($field) . $browse_foreigners_uri); ?>">');
document.writeln('<?php echo str_replace("'", "\'", $titles['Browse']); ?></a>');
//]]>