Rows should not be marked in these tables. Added class="noclick"
This commit is contained in:
@@ -85,7 +85,7 @@ if (is_array($foreignData['disp_row'])) {
|
|||||||
<link rel="stylesheet" type="text/css"
|
<link rel="stylesheet" type="text/css"
|
||||||
href="phpmyadmin.css.php?<?php echo PMA_generate_common_url('', ''); ?>&js_frame=right&nocache=<?php echo $GLOBALS['PMA_Config']->getThemeUniqueValue(); ?>" />
|
href="phpmyadmin.css.php?<?php echo PMA_generate_common_url('', ''); ?>&js_frame=right&nocache=<?php echo $GLOBALS['PMA_Config']->getThemeUniqueValue(); ?>" />
|
||||||
<?php
|
<?php
|
||||||
// includes everything asked for by libraries/common.inc.php
|
// includes everything asked for by libraries/common.inc.php
|
||||||
require_once './libraries/header_scripts.inc.php';
|
require_once './libraries/header_scripts.inc.php';
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
@@ -95,7 +95,7 @@ require_once './libraries/header_scripts.inc.php';
|
|||||||
var $inline = window.opener.jQuery('.browse_foreign_clicked');
|
var $inline = window.opener.jQuery('.browse_foreign_clicked');
|
||||||
if ($inline.length != 0) {
|
if ($inline.length != 0) {
|
||||||
$inline.removeClass('browse_foreign_clicked')
|
$inline.removeClass('browse_foreign_clicked')
|
||||||
// puts new value in the previous element which is
|
// puts new value in the previous element which is
|
||||||
// a span with class curr_value
|
// a span with class curr_value
|
||||||
.prev().text(key);
|
.prev().text(key);
|
||||||
self.close();
|
self.close();
|
||||||
@@ -241,7 +241,7 @@ if (is_array($foreignData['disp_row'])) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<tr class="<?php echo $odd_row ? 'odd' : 'even'; $odd_row = ! $odd_row; ?>">
|
<tr class="noclick <?php echo $odd_row ? 'odd' : 'even'; $odd_row = ! $odd_row; ?>">
|
||||||
<td nowrap="nowrap">
|
<td nowrap="nowrap">
|
||||||
<?php
|
<?php
|
||||||
echo ($key_ordered_current_equals_data ? '<strong>' : '')
|
echo ($key_ordered_current_equals_data ? '<strong>' : '')
|
||||||
|
@@ -1287,7 +1287,7 @@ if (isset($_REQUEST['delete']) || (isset($_REQUEST['change_copy']) && $_REQUEST[
|
|||||||
if (isset($_REQUEST['drop_users_db'])) {
|
if (isset($_REQUEST['drop_users_db'])) {
|
||||||
$queries[] = 'DROP DATABASE IF EXISTS ' . PMA_backquote($this_user) . ';';
|
$queries[] = 'DROP DATABASE IF EXISTS ' . PMA_backquote($this_user) . ';';
|
||||||
$GLOBALS['reload'] = TRUE;
|
$GLOBALS['reload'] = TRUE;
|
||||||
|
|
||||||
if($GLOBALS['is_ajax_request'] != true) {
|
if($GLOBALS['is_ajax_request'] != true) {
|
||||||
PMA_reloadNavigation();
|
PMA_reloadNavigation();
|
||||||
}
|
}
|
||||||
@@ -2127,7 +2127,7 @@ if (empty($_REQUEST['adduser']) && (! isset($checkprivs) || ! strlen($checkprivs
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} elseif (isset($_REQUEST['adduser'])) {
|
} elseif (isset($_REQUEST['adduser'])) {
|
||||||
|
|
||||||
// Add a new user
|
// Add a new user
|
||||||
$GLOBALS['url_query'] .= '&adduser=1';
|
$GLOBALS['url_query'] .= '&adduser=1';
|
||||||
echo '<h2>' . "\n"
|
echo '<h2>' . "\n"
|
||||||
@@ -2261,7 +2261,7 @@ if (empty($_REQUEST['adduser']) && (! isset($checkprivs) || ! strlen($checkprivs
|
|||||||
$current_privileges[] = $row;
|
$current_privileges[] = $row;
|
||||||
$row = PMA_DBI_fetch_assoc($res);
|
$row = PMA_DBI_fetch_assoc($res);
|
||||||
}
|
}
|
||||||
echo ' <tr class="' . ($odd_row ? 'odd' : 'even') . '">' . "\n"
|
echo ' <tr class="noclick ' . ($odd_row ? 'odd' : 'even') . '">' . "\n"
|
||||||
. ' <td';
|
. ' <td';
|
||||||
if (count($current_privileges) > 1) {
|
if (count($current_privileges) > 1) {
|
||||||
echo ' rowspan="' . count($current_privileges) . '"';
|
echo ' rowspan="' . count($current_privileges) . '"';
|
||||||
|
Reference in New Issue
Block a user