Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2011-03-03 09:13:49 +0300
committerMichal Čihař <michal@cihar.com>2011-03-03 09:13:49 +0300
commit7d5efb58dc67ddd1b654bb2431c82d9562e321bd (patch)
treea606c41184d3767260f5b313b998df61ec002476 /db_search.php
parent85ca9c02c30ef87f4df2cfdd9a1fc44adb34225f (diff)
Escape html
Diffstat (limited to 'db_search.php')
-rw-r--r--db_search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/db_search.php b/db_search.php
index 4b09ebaca8..c401a4fa98 100644
--- a/db_search.php
+++ b/db_search.php
@@ -256,7 +256,7 @@ if (isset($_REQUEST['submit_search'])) {
$this_url_params['sql_query'] = $newsearchsqls['delete'];
$delete_result_path = 'sql.php' . PMA_generate_common_url($this_url_params);
?>
- <td> <a name="delete_search" href="<?php echo $delete_result_path; ?>" onclick="deleteResult('<?php echo $delete_result_path ?>' , ' <?php printf(__('Delete the matches for the %s table?'), . $each_table ); ?>','<?php echo ($GLOBALS['cfg']['AjaxEnable']); ?>');return false;" ><?php echo __('Delete') ?></a> </td>
+ <td> <a name="delete_search" href="<?php echo $delete_result_path; ?>" onclick="deleteResult('<?php echo $delete_result_path ?>' , ' <?php printf(__('Delete the matches for the %s table?'), htmlspecialchars($each_table)); ?>','<?php echo ($GLOBALS['cfg']['AjaxEnable']); ?>');return false;" ><?php echo __('Delete') ?></a> </td>
<?php
} else {
echo '<td>&nbsp;</td>' . "\n"