diff --git a/db_qbe.php b/db_qbe.php
index de8bbe31e2..767933fd9f 100644
--- a/db_qbe.php
+++ b/db_qbe.php
@@ -369,7 +369,7 @@ for ($y = 0; $y <= $row; $y++) {
-
+
:
@@ -451,7 +451,7 @@ for ($y = 0; $y <= $row; $y++) {
-
+
:
diff --git a/db_tracking.php b/db_tracking.php
index 76c24fb713..765e39bb1f 100644
--- a/db_tracking.php
+++ b/db_tracking.php
@@ -185,7 +185,7 @@ if (isset($my_tables)) {
-
+
diff --git a/js/import.js b/js/import.js
index 98e34fafe1..f1ab31bfe0 100644
--- a/js/import.js
+++ b/js/import.js
@@ -81,4 +81,5 @@ $(document).ready(function() {
$("#scroll_to_options_msg").hide();
$(".format_specific_options").css({ "border": 0, "margin": 0, "padding": 0 });
$(".format_specific_options h3").remove();
+ //$("form[name=import] *").unwrap();
});
diff --git a/js/rte/common.js b/js/rte/common.js
index a1a553cdea..859d6e1efc 100644
--- a/js/rte/common.js
+++ b/js/rte/common.js
@@ -334,7 +334,7 @@ $(document).ready(function () {
var $table = $curr_row.parent();
// Check how many rows will be left after we remove
// the one that the user has requested us to remove
- if ($table.find('tr').length === 2) {
+ if ($table.find('tr').length === 3) {
// If there are two rows left, it means that they are
// the header of the table and the rows that we are
// about to remove, so after the removal there will be
diff --git a/libraries/Index.class.php b/libraries/Index.class.php
index 76f4742601..750d52c51f 100644
--- a/libraries/Index.class.php
+++ b/libraries/Index.class.php
@@ -473,9 +473,9 @@ class PMA_Index
if (! $print_mode) {
$this_params = $GLOBALS['url_params'];
$this_params['index'] = $index->getName();
- $r .= ''
. ' ' . "\n";
+ echo '' . "\n";
if ($message instanceof PMA_Message) {
if (isset($GLOBALS['special_message'])) {
@@ -1334,11 +1334,11 @@ function PMA_showMessage($message, $sql_query = null, $type = 'notice', $is_view
// document.write conflicts with jQuery, hence used $().append()
echo "";
}
@@ -2790,21 +2790,24 @@ function PMA_toggleButton($action, $select_name, $options, $callback)
$retval .= "
\n";
$retval .= "
\n";
+ $retval .= str_replace(' ', ' ', $options[1]['label']) . "\n";
+ $retval .= "
\n";
$retval .= "
\n";
$retval .= "
\n";
$retval .= " \n";
$retval .= " $link_off \n";
$retval .= " ";
- $retval .= str_replace(' ', ' ', $options[0]['label']) . "
\n";
+ $retval .= str_replace(' ', ' ', $options[0]['label']) . "\n";
$retval .= " \n";
+ $retval .= " \n";
$retval .= " \n";
- $retval .= "
\n";
+ $retval .= "
\n";
$retval .= " $callback \n";
$retval .= " {$GLOBALS['text_dir']} \n";
$retval .= " \n";
@@ -3316,7 +3319,13 @@ function PMA_ajaxResponse($message, $success = true, $extra_data = array())
*/
function PMA_browseUploadFile($max_upload_size)
{
- echo '' . __("Browse your computer:") . ' ';
+ if ($GLOBALS['is_upload'] && !empty($GLOBALS['cfg']['UploadDir'])) {
+ echo '';
+ }
+ else {
+ echo '';
+ }
+ echo __("Browse your computer:") . ' ';
echo '
';
echo '
';
echo ' ';
diff --git a/libraries/core.lib.php b/libraries/core.lib.php
index a714f995e9..f39e52e7de 100644
--- a/libraries/core.lib.php
+++ b/libraries/core.lib.php
@@ -723,16 +723,32 @@ function PMA_linkURL($url)
* Returns HTML code to include javascript file.
*
* @param string $url Location of javascript, relative to js/ folder.
+ * @param optional string $ie_conditional true - wrap with IE conditional comment
+ * 'lt 9' etc. - wrap for specific IE version
*
* @return string HTML code for javascript inclusion.
*/
-function PMA_includeJS($url)
+function PMA_includeJS($url, $ie_conditional = false)
{
- if (strpos($url, '?') === false) {
- return '' . "\n";
- } else {
- return '' . "\n";
+ $include = '';
+ if ($ie_conditional !== false) {
+ if ($ie_conditional === true) {
+ $include .= '' . "\n";
+ }
+ return $include;
}
/**
diff --git a/libraries/display_import.lib.php b/libraries/display_import.lib.php
index 3e5a66e0c3..9703e762f6 100644
--- a/libraries/display_import.lib.php
+++ b/libraries/display_import.lib.php
@@ -106,9 +106,7 @@ if ($_SESSION[$SESSION_KEY]["handler"]!="noplugin") {
document.write('
-
@@ -267,3 +264,4 @@ if ($_SESSION[$SESSION_KEY]["handler"]!="noplugin") {
+
diff --git a/libraries/display_tbl.lib.php b/libraries/display_tbl.lib.php
index 4e16a995c6..02074f4d9b 100644
--- a/libraries/display_tbl.lib.php
+++ b/libraries/display_tbl.lib.php
@@ -297,7 +297,7 @@ function PMA_displayTableNavigation($pos_next, $pos_prev, $sql_query, $id_for_di
?>
-
+
diff --git a/libraries/rte/rte_list.lib.php b/libraries/rte/rte_list.lib.php
index 34556b4d25..22a396f625 100644
--- a/libraries/rte/rte_list.lib.php
+++ b/libraries/rte/rte_list.lib.php
@@ -46,12 +46,18 @@ function PMA_RTE_getList($type, $items)
$retval .= " \n";
$retval .= " \n";
$retval .= " \n";
+ // th cells with a colspan need corresponding td cells, according to W3C
switch ($type) {
case 'routine':
$retval .= " " . __('Name') . " \n";
$retval .= " " . __('Action') . " \n";
$retval .= " " . __('Type') . " \n";
$retval .= " " . __('Returns') . " \n";
+ $retval .= " \n";
+ $retval .= " \n"; // see comment above
+ for($i = 0; $i < 7; $i++) {
+ $retval .= " \n";
+ }
break;
case 'trigger':
$retval .= " " . __('Name') . " \n";
@@ -61,12 +67,22 @@ function PMA_RTE_getList($type, $items)
$retval .= " " . __('Action') . " \n";
$retval .= " " . __('Time') . " \n";
$retval .= " " . __('Event') . " \n";
+ $retval .= " \n";
+ $retval .= " \n"; // see comment above
+ for($i = 0; $i < (empty($table) ? 7 : 6); $i++) {
+ $retval .= " \n";
+ }
break;
case 'event':
$retval .= " " . __('Name') . " \n";
$retval .= " " . __('Status') . " \n";
$retval .= " " . __('Action') . " \n";
$retval .= " " . __('Type') . " \n";
+ $retval .= " \n";
+ $retval .= " \n"; // see comment above
+ for($i = 0; $i < 6; $i++) {
+ $retval .= " \n";
+ }
break;
default:
break;
diff --git a/prefs_manage.php b/prefs_manage.php
index 136aa5fad7..e765955af6 100644
--- a/prefs_manage.php
+++ b/prefs_manage.php
@@ -245,16 +245,16 @@ PMA_printJsValue("PMA_messages['strSavedOn']", __('Saved on: @DATE@'));
-
+
-
-
+
+
display() ?>
-
+
-
+
display() ?>
-
+
@@ -306,9 +306,9 @@ PMA_printJsValue("PMA_messages['strSavedOn']", __('Saved on: @DATE@'));
-
+
display() ?>
-
+
diff --git a/tbl_select.php b/tbl_select.php
index 64c92733d7..660c84c723 100644
--- a/tbl_select.php
+++ b/tbl_select.php
@@ -261,13 +261,9 @@ echo PMA_generate_html_tabs(PMA_tbl_getSubTabs(), $url_params, '', 'topmenu2');
+
-
-
-
- do the work
diff --git a/tbl_structure.php b/tbl_structure.php
index b827e798be..359d32f203 100644
--- a/tbl_structure.php
+++ b/tbl_structure.php
@@ -208,7 +208,7 @@ $i = 0;
-
+
@@ -671,7 +671,7 @@ if (! $tbl_is_view && ! $db_is_information_schema) {
?>
-
+
>
-
+
diff --git a/themes/original/css/theme_right.css.php b/themes/original/css/theme_right.css.php
index 78e43b7892..d04265a534 100644
--- a/themes/original/css/theme_right.css.php
+++ b/themes/original/css/theme_right.css.php
@@ -155,6 +155,14 @@ button {
margin-: 1em;
}
+table.nospacing {
+ border-spacing: 0;
+}
+
+table.nopadding tr th, table.nopadding tr td {
+ padding: 0;
+}
+
th.left, td.left {
text-align: left;
}
@@ -1836,6 +1844,7 @@ iframe.IE_hack {
display: none;
border: 0;
filter: alpha(opacity=0);
+ overflow: hidden;
}
/* config forms */
@@ -2100,7 +2109,7 @@ fieldset .disabled-field td {
cursor: pointer;
font-size: 0.8em;
text-align: center;
- line-height: 1.55em;
+ line-height: 1.4em;
height: 1.55em;
overflow: hidden;
border-right: 0.1em solid #888;
diff --git a/themes/pmahomme/css/theme_right.css.php b/themes/pmahomme/css/theme_right.css.php
index 8097a9a2a1..b9e0199fea 100644
--- a/themes/pmahomme/css/theme_right.css.php
+++ b/themes/pmahomme/css/theme_right.css.php
@@ -351,6 +351,14 @@ select[multiple] {
margin-: 1em;
}
+table.nospacing {
+ border-spacing: 0;
+}
+
+table.nopadding tr th, table.nopadding tr td {
+ padding: 0;
+}
+
th.left, td.left {
text-align: left;
}
@@ -2313,6 +2321,7 @@ iframe.IE_hack {
display: none;
border: 0;
filter: alpha(opacity=0);
+ overflow: hidden;
}
/* config forms */
@@ -2601,7 +2610,7 @@ fieldset .disabled-field td {
cursor: pointer;
font-size: .8em;
text-align: center;
- line-height: 1.55em;
+ line-height: 1.4em;
height: 1.55em;
overflow: hidden;
border-right: .1em solid #888;