diff --git a/js/pmd/move.js b/js/pmd/move.js index e6d751f6c7..77b8418619 100644 --- a/js/pmd/move.js +++ b/js/pmd/move.js @@ -707,8 +707,10 @@ function Canvas_click(id) for (key in contr[K]) { for (key2 in contr[K][key]) { for (key3 in contr[K][key][key2]) { - if (!document.getElementById("check_vis_"+key2).checked || - !document.getElementById("check_vis_"+contr[K][key][key2][key3][0]).checked) continue; // if hide + if (!document.getElementById("check_vis_"+key2).checked + || !document.getElementById("check_vis_"+contr[K][key][key2][key3][0]).checked) { + continue; // if hide + } var x1_left = document.getElementById(key2).offsetLeft + 1;//document.getElementById(key2+"."+key3).offsetLeft; var x1_right = x1_left + document.getElementById(key2).offsetWidth; var x2_left = document.getElementById(contr[K][key][key2][key3][0]).offsetLeft;//+document.getElementById(contr[K][key2][key3][0]+"."+contr[K][key2][key3][1]).offsetLeft diff --git a/js/server_status.js b/js/server_status.js index 196cbeb47f..6677d7b0dc 100644 --- a/js/server_status.js +++ b/js/server_status.js @@ -408,8 +408,9 @@ $(function() { if (word.length == 0) { textFilter = null; + } else { + textFilter = new RegExp("(^| )" + word, 'i'); } - else textFilter = new RegExp("(^| )" + word, 'i'); text = word; diff --git a/js/server_status_monitor.js b/js/server_status_monitor.js index c275688bfd..6904beb21b 100644 --- a/js/server_status_monitor.js +++ b/js/server_status_monitor.js @@ -906,8 +906,9 @@ $(function() { keys.push(key); }); keys.sort(); - for (var i = 0; i' + formatValue(cols[j], rows[i][cols[j]]) + '')); $tCell.click(openQueryAnalyzer); - } else + } else { $tRow.append('' + formatValue(cols[j], rows[i][cols[j]]) + ''); - + } $tRow.data('query', rows[i]); } diff --git a/js/server_variables.js b/js/server_variables.js index 3fcfc58833..0eb2c2f60f 100644 --- a/js/server_variables.js +++ b/js/server_variables.js @@ -183,9 +183,13 @@ function editVariable(link) $('input#variableEditArea').focus(); $('input#variableEditArea').keydown(function(event) { // Enter key - if(event.keyCode == 13) mySaveLink.trigger('click'); + if (event.keyCode == 13) { + mySaveLink.trigger('click'); + } // Escape key - if(event.keyCode == 27) myCancelLink.trigger('click'); + if (event.keyCode == 27) { + myCancelLink.trigger('click'); + } }); PMA_ajaxRemoveMessage($msgbox); }); diff --git a/libraries/auth/swekey/swekey.auth.lib.php b/libraries/auth/swekey/swekey.auth.lib.php index 53934330f0..29d4a7f72b 100644 --- a/libraries/auth/swekey/swekey.auth.lib.php +++ b/libraries/auth/swekey/swekey.auth.lib.php @@ -86,8 +86,9 @@ function Swekey_auth_error() function Swekey_GetValidKey() { var valids = " $value) + foreach ($_SESSION['SWEKEY']['VALID_SWEKEYS'] as $key => $value) { echo $key.','; + } ?>"; var connected_keys = Swekey_ListKeyIds().split(","); for (i in connected_keys) { diff --git a/libraries/display_import.lib.php b/libraries/display_import.lib.php index d4b945310b..d120664619 100644 --- a/libraries/display_import.lib.php +++ b/libraries/display_import.lib.php @@ -153,7 +153,11 @@ if ($_SESSION[$SESSION_KEY]["handler"]!="noplugin") { }); // domready //]]> -
> + > " cellpadding="0" cellspacing="0" class="pmd_tab" style="position: absolute; - left: px; - top: px; - visibility: ; + left: px; + top: px; + visibility: ; "> diff --git a/setup/frames/config.inc.php b/setup/frames/config.inc.php index ce7389d8d4..145e4b7ba9 100644 --- a/setup/frames/config.inc.php +++ b/setup/frames/config.inc.php @@ -36,7 +36,10 @@ check_config_rw($config_readable, $config_writable, $config_exists); - /> + /> " />     - /> - /> - /> + /> + /> + />     diff --git a/tbl_operations.php b/tbl_operations.php index 054b4cbf8a..cf47b3c076 100644 --- a/tbl_operations.php +++ b/tbl_operations.php @@ -257,7 +257,7 @@ if (isset($result) && empty($message_to_show)) { } $url_params['goto'] - = $url_params['back'] + = $url_params['back'] = 'tbl_operations.php'; /** @@ -402,13 +402,22 @@ if ($is_myisam_or_aria || $is_isam) { diff --git a/tbl_structure.php b/tbl_structure.php index 0cf3dbe544..b121f7ff88 100644 --- a/tbl_structure.php +++ b/tbl_structure.php @@ -195,7 +195,9 @@ $i = 0; } ?> + if ($GLOBALS['cfg']['PropertiesIconic'] === true) { + echo ' PropertiesIconic'; + } ?>">