Remove more floats in the code

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
Madhura Jayaratne 2015-07-21 15:31:00 +05:30
parent 77fb8ec96b
commit 12e6dc886d
2 changed files with 5 additions and 5 deletions

View File

@ -809,7 +809,7 @@ function PMA_RTN_getEditorForm($mode, $operation, $routine)
} else {
$retval .= "<input name='item_type' type='hidden'"
. " value='{$routine['item_type']}' />\n"
. "<div style='width: 49%; float: left; text-align: center;"
. "<div class='floatleft' style='width: 49%; text-align: center;"
. " font-weight: bold;'>\n"
. $routine['item_type'] . "\n"
. "</div>\n"

View File

@ -587,11 +587,11 @@ if (! function_exists('__')) {
}
/* Text direction for language */
if (in_array($GLOBALS['lang'], array('ar', 'fa', 'he', 'ur'))) {
//if (in_array($GLOBALS['lang'], array('ar', 'fa', 'he', 'ur'))) {
$GLOBALS['text_dir'] = 'rtl';
} else {
$GLOBALS['text_dir'] = 'ltr';
}
//} else {
// $GLOBALS['text_dir'] = 'ltr';
//}
/* TCPDF */
$GLOBALS['l'] = array();