bug #1353435, selecting users to drop is broken
This commit is contained in:
@@ -8,6 +8,7 @@ $Source$
|
||||
2005-11-10 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/session.inc.php, Documentation.html: bug #1352479, warn
|
||||
if PHP does not support session
|
||||
* server_privileges.php: bug #1353435, selecting users to drop is broken
|
||||
|
||||
2005-11-10 Michal Čihař <michal@cihar.com>
|
||||
* scripts/create-release.sh: = is correct for comparsion in shell.
|
||||
|
@@ -1420,12 +1420,14 @@ if ( empty( $adduser ) && empty( $checkprivs ) ) {
|
||||
echo ' </thead>' . "\n";
|
||||
echo ' <tbody>' . "\n";
|
||||
$odd_row = true;
|
||||
$index_checkbox = -1;
|
||||
foreach ( $db_rights as $user ) {
|
||||
$index_checkbox++;
|
||||
ksort( $user );
|
||||
foreach ( $user as $host ) {
|
||||
echo ' <tr class="' . ( $odd_row ? 'odd' : 'even' ) . '">' . "\n"
|
||||
. ' <td><input type="checkbox" name="selected_usr[]" id="checkbox_sel_users_' . $i . '" value="' . str_replace( chr(27), '', htmlentities($host['User'] . $user_host_separator . $host['Host'] ) ) . '"' . (empty($GLOBALS['checkall']) ? '' : ' checked="checked"') . ' /></td>' . "\n"
|
||||
. ' <td><label for="checkbox_sel_users_' . $i . '">' . (empty($host['User']) ? '<span style="color: #FF0000">' . $GLOBALS['strAny'] . '</span>' : htmlspecialchars($host['User'])) . '</label></td>' . "\n"
|
||||
. ' <td><input type="checkbox" name="selected_usr[]" id="checkbox_sel_users_' . $index_checkbox . '" value="' . str_replace( chr(27), '', htmlentities($host['User'] . $user_host_separator . $host['Host'] ) ) . '"' . (empty($GLOBALS['checkall']) ? '' : ' checked="checked"') . ' /></td>' . "\n"
|
||||
. ' <td><label for="checkbox_sel_users_' . $index_checkbox . '">' . (empty($host['User']) ? '<span style="color: #FF0000">' . $GLOBALS['strAny'] . '</span>' : htmlspecialchars($host['User'])) . '</label></td>' . "\n"
|
||||
. ' <td>' . htmlspecialchars($host['Host']) . '</td>' . "\n";
|
||||
echo ' <td>';
|
||||
switch ($host['Password']) {
|
||||
|
Reference in New Issue
Block a user