The branch, master has been updated
via 599492943d0415c40f2db3e7274f18d3c269544a (commit)
from c0c5723b2038d30ab4f19d4a291770edf1c3779b (commit)
- Log -----------------------------------------------------------------
commit 599492943d0415c40f2db3e7274f18d3c269544a
Author: Michal Čihař <mcihar(a)novell.com>
Date: Wed Feb 2 14:12:54 2011 +0100
This should clear possible floats
-----------------------------------------------------------------------
Summary of …
[View More]changes:
libraries/common.lib.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libraries/common.lib.php b/libraries/common.lib.php
index 32652de..61f5ffb 100644
--- a/libraries/common.lib.php
+++ b/libraries/common.lib.php
@@ -1244,7 +1244,7 @@ function PMA_showMessage($message, $sql_query = null, $type = 'notice', $is_view
echo $edit_link . $explain_link . $php_link . $refresh_link . $validate_link;
echo '</div>';
}
- echo '</div><br />' . "\n";
+ echo '</div><br class="clearfloat" />' . "\n";
// If we are in an Ajax request, we have most probably been called in
// PMA_ajaxResponse(). Hence, collect the buffer contents and return it
hooks/post-receive
--
phpMyAdmin
[View Less]
The branch, master has been updated
via c0c5723b2038d30ab4f19d4a291770edf1c3779b (commit)
from 30954728f30a9e8171d799dbd6de0abc87e1f563 (commit)
- Log -----------------------------------------------------------------
commit c0c5723b2038d30ab4f19d4a291770edf1c3779b
Author: Michal Čihař <mcihar(a)novell.com>
Date: Wed Feb 2 13:44:33 2011 +0100
Do not show 'Please select a database' when it is obvious.
This makes sense when there is select box, but for list …
[View More]it is not
needed.
-----------------------------------------------------------------------
Summary of changes:
navigation.php | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/navigation.php b/navigation.php
index 8c2b65c..c162aa2 100644
--- a/navigation.php
+++ b/navigation.php
@@ -308,7 +308,10 @@ if ($GLOBALS['cfg']['LeftFrameLight'] && strlen($GLOBALS['db'])) {
.'<img class="icon" src="' . $GLOBALS['pmaThemeImage'] . 'b_snewtbl.png" id="icon_newtable" width="10" height="10" alt="' . _pgettext('short form', 'Create table') . '" />'
. _pgettext('short form', 'Create table') . '</a></li></ul>';
} elseif ($GLOBALS['cfg']['LeftFrameLight']) {
- echo '<p>' . __('Please select a database') . '</p>';
+ /* No need to tell user to select database if we're showing complete list */
+ if (!$list) {
+ echo '<p>' . __('Please select a database') . '</p>';
+ }
} else {
echo '<div id="databaseList">' . "\n";
$_url_params = array('pos' => $pos);
hooks/post-receive
--
phpMyAdmin
[View Less]
The branch, master has been updated
via 75366e37e7a449000e36ad67c46d282133b67236 (commit)
via 5a2835ec86ee96e3190aacfac711b1051624922f (commit)
from 728d5a15583edb9319574054a32063b955763686 (commit)
- Log -----------------------------------------------------------------
commit 75366e37e7a449000e36ad67c46d282133b67236
Author: Michal Čihař <mcihar(a)novell.com>
Date: Wed Feb 2 11:42:35 2011 +0100
Whitespace cleanup
commit …
[View More]5a2835ec86ee96e3190aacfac711b1051624922f
Author: Michal Čihař <mcihar(a)novell.com>
Date: Wed Feb 2 10:09:37 2011 +0100
Readd redirect login to top frame
-----------------------------------------------------------------------
Summary of changes:
js/functions.js | 34 +++++++++++++++++-----------------
libraries/auth/cookie.auth.lib.php | 8 ++++++++
2 files changed, 25 insertions(+), 17 deletions(-)
diff --git a/js/functions.js b/js/functions.js
index 0a9624e..bfbcca1 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -45,7 +45,7 @@ function suggestPassword(passwd_form) {
}
/**
- * for libraries/display_change_password.lib.php
+ * for libraries/display_change_password.lib.php
* libraries/user_password.php
*
*/
@@ -58,7 +58,7 @@ function displayPasswordGenerateButton() {
/*
* Adds a date/time picker to an element
*
- * @param object $this_element a jQuery object pointing to the element
+ * @param object $this_element a jQuery object pointing to the element
*/
function PMA_addDatepicker($this_element) {
var showTimeOption = false;
@@ -75,7 +75,7 @@ function PMA_addDatepicker($this_element) {
time24h: true,
stepMinutes: 1,
stepHours: 1,
- showTime: showTimeOption,
+ showTime: showTimeOption,
dateFormat: 'yy-mm-dd', // yy means year with four digits
altTimeField: '',
beforeShow: function(input, inst) {
@@ -853,7 +853,7 @@ function checkTransmitDump(theForm, theAction)
$(document).ready(function() {
/**
- * Row marking in horizontal mode (use "live" so that it works also for
+ * Row marking in horizontal mode (use "live" so that it works also for
* next pages reached via AJAX); a tr may have the class noclick to remove
* this behavior.
*/
@@ -864,7 +864,7 @@ $(document).ready(function() {
});
/**
- * Add a date/time picker to each element that needs it
+ * Add a date/time picker to each element that needs it
*/
$('.datefield, .datetimefield').each(function() {
PMA_addDatepicker($(this));
@@ -1689,7 +1689,7 @@ $(document).ready(function() {
}
}) // end $.get()
- // empty table name and number of columns from the minimal form
+ // empty table name and number of columns from the minimal form
$form.find('input[name=table],input[name=num_fields]').val('');
});
@@ -1770,7 +1770,7 @@ $(document).ready(function() {
PMA_ajaxShowMessage(data.error);
}
}) // end $.post()
- }) // end create table form (save)
+ }) // end create table form (save)
/**
* Attach event handler for create table form (add fields)
@@ -1799,7 +1799,7 @@ $(document).ready(function() {
$("#create_table_dialog").html(data);
}) //end $.post()
- }) // end create table form (add fields)
+ }) // end create table form (add fields)
}, 'top.frame_content'); //end $(document).ready for 'Create Table'
@@ -1907,7 +1907,7 @@ $(document).ready(function() {
.removeClass('odd even');
var $databases_count_object = $('#databases_count');
- var databases_count = parseInt($databases_count_object.text());
+ var databases_count = parseInt($databases_count_object.text());
$databases_count_object.text(++databases_count);
//Refresh navigation frame as a new database has been added
if (window.parent && window.parent.frame_navigation) {
@@ -2310,7 +2310,7 @@ $(document).ready(function() {
var right_checkbox_id = current_checkbox_id.replace('_left', '_right');
var other_checkbox_id = '';
if (current_checkbox_id == left_checkbox_id) {
- other_checkbox_id = right_checkbox_id;
+ other_checkbox_id = right_checkbox_id;
} else {
other_checkbox_id = left_checkbox_id;
}
@@ -2326,7 +2326,7 @@ $(document).ready(function() {
.filter(function(index) {
// the first clicked row can be on a row above or below the
// shift-clicked row
- return (index_of_current_checkbox > index_of_last_click && index > index_of_last_click && index < index_of_current_checkbox)
+ return (index_of_current_checkbox > index_of_last_click && index > index_of_last_click && index < index_of_current_checkbox)
|| (index_of_last_click > index_of_current_checkbox && index < index_of_last_click && index > index_of_current_checkbox);
})
.each(function(index) {
@@ -2341,8 +2341,8 @@ $(document).ready(function() {
$('.multi_checkbox').removeClass('last_clicked');
$current_checkbox.addClass('last_clicked');
-
- // When there is a checkbox on both ends of the row, propagate the
+
+ // When there is a checkbox on both ends of the row, propagate the
// click on one of them to the other one.
// (the default action has not been prevented so if we have
// just clicked, this "if" is true)
@@ -2371,20 +2371,20 @@ $(document).ready(function() {
var $this_td = $(this);
var row_num = PMA_getRowNumber($this_td.attr('class'));
// for all td of the same vertical row, toggle hover
- $('.vpointer').filter('.row_' + row_num).toggleClass('hover');
+ $('.vpointer').filter('.row_' + row_num).toggleClass('hover');
}
);
}) // end of $(document).ready() for vertical pointer
$(document).ready(function() {
/**
- * Vertical marker
+ * Vertical marker
*/
$('.vmarker').live('click', function(e) {
var $this_td = $(this);
var row_num = PMA_getRowNumber($this_td.attr('class'));
- // for all td of the same vertical row, toggle the marked class
- $('.vmarker').filter('.row_' + row_num).toggleClass('marked');
+ // for all td of the same vertical row, toggle the marked class
+ $('.vmarker').filter('.row_' + row_num).toggleClass('marked');
});
/**
diff --git a/libraries/auth/cookie.auth.lib.php b/libraries/auth/cookie.auth.lib.php
index 4f4b261..cb0daa6 100644
--- a/libraries/auth/cookie.auth.lib.php
+++ b/libraries/auth/cookie.auth.lib.php
@@ -171,6 +171,14 @@ function PMA_auth()
require './libraries/header_meta_style.inc.php';
require './libraries/header_scripts.inc.php';
?>
+<script type="text/javascript">
+//<![CDATA[
+// show login form in top frame
+if (top != self) {
+ window.top.location.href=location;
+}
+//]]>
+</script>
</head>
<body class="loginform">
hooks/post-receive
--
phpMyAdmin
[View Less]