~ubuntu-branches/ubuntu/lucid/phpmyadmin/lucid

« back to all changes in this revision

Viewing changes to tbl_row_action.php

  • Committer: Bazaar Package Importer
  • Author(s): Michal Čihař
  • Date: 2009-06-30 14:05:13 UTC
  • mfrom: (1.2.1 upstream) (36.1.2 karmic)
  • Revision ID: james.westby@ubuntu.com-20090630140513-hz71do3sij2jhm4s
* New upstream version fixing XSS (PMASA-2009-5).
* Document no empty password in README.Debian and the shipped sample
  configuration file (LP: #388703).
* Install service file for avahi (if web service enabled and if avahi is
  installed) (LP: #369244).
* Mention protecting of setup if not using provided configuration snippets
  for webservers.
* Call ucf with --debconf-ok in postrm (Closes: #534894).

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
/**
4
4
 * handle row specifc actions like edit, delete, export
5
5
 *
6
 
 * @version $Id: tbl_row_action.php 10714 2007-10-04 09:22:50Z cybot_tm $
 
6
 * @version $Id: tbl_row_action.php 12390 2009-05-04 16:05:24Z lem9 $
 
7
 * @package phpMyAdmin
7
8
 */
8
9
 
9
10
 
82
83
            // checkbox, we use the index of it as the
83
84
            // indicating primary key. Then we built the array which is used for
84
85
            // the tbl_change.php script.
85
 
            /**
86
 
             * urldecode should not be needed here
87
86
            $primary_key = array();
88
87
            foreach ($_REQUEST['rows_to_delete'] as $i_primary_key => $del_query) {
89
88
                $primary_key[] = urldecode($i_primary_key);
90
89
            }
91
 
             */
92
 
            $primary_key = array_keys($_REQUEST['rows_to_delete']);
93
90
 
94
91
            $active_page = 'tbl_change.php';
95
92
            include './tbl_change.php';
104
101
            // checkbox, we use the index of it as the
105
102
            // indicating primary key. Then we built the array which is used for
106
103
            // the tbl_change.php script.
107
 
            /**
108
 
             * urldecode should not be needed here
109
104
            $primary_key = array();
110
105
            foreach ($_REQUEST['rows_to_delete'] as $i_primary_key => $del_query) {
111
106
                $primary_key[] = urldecode($i_primary_key);
112
107
            }
113
 
             */
114
 
            $primary_key = array_keys($_REQUEST['rows_to_delete']);
115
108
 
116
109
            $active_page = 'tbl_export.php';
117
110
            include './tbl_export.php';