Skip to content

Commit

Permalink
Use class to support rtl languages
Browse files Browse the repository at this point in the history
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
  • Loading branch information
madhuracj committed Jul 21, 2015
1 parent b074d15 commit 256d76f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion js/error_report.js
Expand Up @@ -124,7 +124,7 @@ var ErrorReport = {
PMA_getImage("s_error.png") + PMA_messages.strErrorOccurred
);

var $buttons = $('<div style="float:right"></div>');
var $buttons = $('<div class="floatright"></div>');

var button_html = '<button id="show_error_report">';
button_html += PMA_messages.strShowReportDetails;
Expand Down
4 changes: 2 additions & 2 deletions js/server_status_monitor.js
Expand Up @@ -1821,7 +1821,7 @@ AJAX.registerOnload('server_status_monitor.js', function () {
// Display some stats at the bottom of the table
$('#logTable table tfoot tr')
.html('<th colspan="' + (runtime.logDataCols.length - 1) + '">' +
PMA_messages.strSumRows + ' ' + rowSum + '<span style="float:right">' +
PMA_messages.strSumRows + ' ' + rowSum + '<span class="floatright">' +
PMA_messages.strTotal + '</span></th><th class="right">' + totalSum + '</th>');
}
}
Expand Down Expand Up @@ -1900,7 +1900,7 @@ AJAX.registerOnload('server_status_monitor.js', function () {

$table.append('<tfoot>' +
'<tr><th colspan="' + (cols.length - 1) + '">' + PMA_messages.strSumRows +
' ' + data.numRows + '<span style="float:right">' + PMA_messages.strTotal +
' ' + data.numRows + '<span class="floatright">' + PMA_messages.strTotal +
'</span></th><th class="right">' + data.sum.TOTAL + '</th></tr></tfoot>');

// Append a tooltip to the count column, if there exist one
Expand Down
4 changes: 2 additions & 2 deletions libraries/sql.lib.php
Expand Up @@ -280,7 +280,7 @@ function PMA_getHtmlForProfilingChart($url_query, $db, $profiling_results)
$profiling_table = '';
$profiling_table .= '<fieldset><legend>' . __('Profiling')
. '</legend>' . "\n";
$profiling_table .= '<div style="float: left;">';
$profiling_table .= '<div class="floatleft">';
$profiling_table .= '<h3>' . __('Detailed profile') . '</h3>';
$profiling_table .= '<table id="profiletable"><thead>' . "\n";
$profiling_table .= ' <tr>' . "\n";
Expand All @@ -298,7 +298,7 @@ function PMA_getHtmlForProfilingChart($url_query, $db, $profiling_results)
$profiling_table .= '</tbody></table>' . "\n";
$profiling_table .= '</div>';

$profiling_table .= '<div style="float: left; margin-left:10px;">';
$profiling_table .= '<div class="floatleft">';
$profiling_table .= '<h3>' . __('Summary by state') . '</h3>';
$profiling_table .= '<table id="profilesummarytable"><thead>' . "\n";
$profiling_table .= ' <tr>' . "\n";
Expand Down

0 comments on commit 256d76f

Please sign in to comment.