diff --git a/libraries/display_change_password.lib.php b/libraries/display_change_password.lib.php index 20186af3e..9f39f07d8 100644 --- a/libraries/display_change_password.lib.php +++ b/libraries/display_change_password.lib.php @@ -1,7 +1,7 @@
- - - - - - - - - = 40102) { - ?> - +
- - -
- - :  - - ="nopass[1].checked = true" /> -    - :  - ="nopass[1].checked = true" /> -
+ + + + + + + + + - - - - - - - + + + + + + + +
+ + +
+ + :  + + ="nopass[1].checked = true" /> +    + :  + ="nopass[1].checked = true" /> +
+ : + - : - - - -
  - - -
  + + +
- -
-
diff --git a/libraries/display_import.lib.php b/libraries/display_import.lib.php index d77280422..6d22d7ef2 100644 --- a/libraries/display_import.lib.php +++ b/libraries/display_import.lib.php @@ -106,7 +106,7 @@ if ($cfg['AllowAnywhereRecoding'] && $allow_recoding) { echo '>' . htmlentities($temp_charset) . '' . "\n"; } echo '
' . "\n" . ' '; -} elseif (PMA_MYSQL_INT_VERSION >= 40100) { +} else { echo '' . "\n"; echo PMA_generateCharsetDropdownBox(PMA_CSDROPDOWN_CHARSET, 'charset_of_file', 'charset_of_file', 'utf8', FALSE); } // end if (recoding) diff --git a/libraries/display_tbl.lib.php b/libraries/display_tbl.lib.php index 0f1140bbb..055bf1ba0 100644 --- a/libraries/display_tbl.lib.php +++ b/libraries/display_tbl.lib.php @@ -678,8 +678,6 @@ function PMA_displayTableHeaders(&$is_display, &$fields_meta, $fields_cnt = 0, $ // 2.0.1 Prepare Display column comments if enabled ($GLOBALS['cfg']['ShowBrowseComments']). // Do not show comments, if using horizontalflipped mode, because of space usage if ($GLOBALS['cfg']['ShowBrowseComments'] - && ($GLOBALS['cfgRelation']['commwork'] - || PMA_MYSQL_INT_VERSION >= 40100) && $_SESSION['userconf']['disp_direction'] != 'horizontalflipped') { $comments_map = array(); if (isset($analyzed_sql[0]) && is_array($analyzed_sql[0])) { @@ -2120,16 +2118,14 @@ function PMA_displayResultsOperations($the_disp_mode, $analyzed_sql) { * (but see 2006-01-19 note in display_create_table.lib.php, * I think we cannot detect db-specific privileges reliably) */ - if (PMA_MYSQL_INT_VERSION >= 50000) { - if (!$header_shown) { - echo $header; - $header_shown = TRUE; - } - echo PMA_linkOrButton( - 'view_create.php' . $url_query, - PMA_getIcon('b_views.png', 'CREATE VIEW', false, true), - '', true, true, '') . "\n"; + if (!$header_shown) { + echo $header; + $header_shown = TRUE; } + echo PMA_linkOrButton( + 'view_create.php' . $url_query, + PMA_getIcon('b_views.png', 'CREATE VIEW', false, true), + '', true, true, '') . "\n"; if ($header_shown) { echo '
';