diff --git a/db_structure.php b/db_structure.php index adef17fe0c..6db1506796 100644 --- a/db_structure.php +++ b/db_structure.php @@ -612,14 +612,6 @@ if (!$db_is_information_schema && !$cfg['DisableMultiTableMaintenance']) { } ?> - - diff --git a/libraries/Config.class.php b/libraries/Config.class.php index 266e0426e8..7a4379f0e7 100644 --- a/libraries/Config.class.php +++ b/libraries/Config.class.php @@ -1322,9 +1322,6 @@ class PMA_Config . ' method="post" action="index.php" target="_parent">' . "\n" . PMA_generate_common_hidden_inputs() . "\n" . PMA_Config::_getFontsizeSelection() . "\n" - . '' . "\n" . ''; } diff --git a/libraries/Theme_Manager.class.php b/libraries/Theme_Manager.class.php index df891b7cfe..8e7f89dc3c 100644 --- a/libraries/Theme_Manager.class.php +++ b/libraries/Theme_Manager.class.php @@ -306,7 +306,6 @@ class PMA_Theme_Manager $select_box .= ''; if ($form) { - $select_box .= ''; $select_box .= ''; } diff --git a/libraries/auth/cookie.auth.lib.php b/libraries/auth/cookie.auth.lib.php index 87b7548a14..aa971e1dd1 100644 --- a/libraries/auth/cookie.auth.lib.php +++ b/libraries/auth/cookie.auth.lib.php @@ -154,6 +154,11 @@ function PMA_auth() if (top != self) { window.top.location.href=location; } +// reveal the login form to users with JS enabled +$(document).ready(function () { + $('form.login').show(); + $('div.language').show(); +}); //]]> @@ -191,17 +196,23 @@ if (top != self) { PMA_Message::rawError($conn_error)->display(); } + echo "\n"; + + echo "
"; // Displays the languages form if (empty($GLOBALS['cfg']['Lang'])) { include_once './libraries/display_select_lang.lib.php'; // use fieldset, don't show doc link PMA_select_language(true, false); } + echo "
"; ?>
-
target="_top" class="login"> + target="_top" class="login hide">
' . "\n"; echo '' . "\n"; PMA_display_html_checkbox('profiling', __('Profiling'), isset($_SESSION['profiling']), true); - echo '' . "\n"; echo '' . "\n"; } } @@ -2454,8 +2453,7 @@ function PMA_pageselector($rows, $pageNow = 1, $nbTotalPage = 1, . ' value="' . (($i - 1) * $rows) . '">' . $i . '' . "\n"; } - $gotopage .= ' '; + $gotopage .= ' '; return $gotopage; } // end function @@ -2758,62 +2756,36 @@ function PMA_toggleButton($action, $select_name, $options, $callback) } else { $state = 'on'; } - $selected1 = ''; - $selected0 = ''; - if ($options[1]['selected'] == true) { - $selected1 = " selected='selected'"; - } else if ($options[0]['selected'] == true) { - $selected0 = " selected='selected'"; - } // Generate output $retval = "\n"; - if ($GLOBALS['cfg']['AjaxEnable'] && is_readable($_SESSION['PMA_Theme']->getImgPath() . 'toggle-ltr.png')) { - $retval .= "
'; } diff --git a/main.php b/main.php index 9e949fff3a..15bcdf250f 100644 --- a/main.php +++ b/main.php @@ -112,7 +112,6 @@ if ($server > 0 . ' ' . "\n" . PMA_generateCharsetDropdownBox(PMA_CSDROPDOWN_COLLATION, 'collation_connection', 'select_collation_connection', $collation_connection, true, 4, true) - . ' ' . "\n" . ' ' . "\n" . ' ' . "\n"; } // end of if ($server > 0 && !PMA_DRIZZLE) @@ -330,15 +329,6 @@ if ($server > 0) { } // end if } -/** - * Show notice when javascript support is missing. - */ -echo ''; - /** * Warning about different MySQL library and server version * (a difference on the third digit does not count). diff --git a/navigation.php b/navigation.php index dcc5ac573b..0c1a135eb7 100644 --- a/navigation.php +++ b/navigation.php @@ -163,9 +163,6 @@ if ($GLOBALS['cfg']['LeftRecentTable'] > 0) { .'
' . "\n" .PMA_generate_common_hidden_inputs() . "\n" .PMA_RecentTable::getInstance()->getHtmlSelect() - .'' . "\n" .'
' . "\n" .'' . "\n"; } @@ -200,10 +197,7 @@ if (! $GLOBALS['server']) {
databases->getHtmlSelectGrouped(true, $_SESSION['tmp_user_values']['navi_limit_offset'], $GLOBALS['cfg']['MaxDbList']) . "\n"; - echo '' . "\n" + echo $GLOBALS['pma']->databases->getHtmlSelectGrouped(true, $_SESSION['tmp_user_values']['navi_limit_offset'], $GLOBALS['cfg']['MaxDbList']) . "\n" .'
' . "\n" . '' . "\n"; } else { diff --git a/tbl_change.php b/tbl_change.php index 37b0784748..097dc3beea 100644 --- a/tbl_change.php +++ b/tbl_change.php @@ -1149,7 +1149,6 @@ if ($insert_mode) { $tmp .= '' . "\n"; echo "\n" . sprintf(__('Continue insertion with %s rows'), $tmp); unset($tmp); - echo '' . "\n"; echo '' . "\n"; }