Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
a4d680782b
@ -891,9 +891,9 @@ function PMA_reloadNavigation($jsonly=false)
|
||||
unset($_SESSION['tmp_user_values']['table_limit_offset']);
|
||||
echo "\n";
|
||||
$reload_url = './navigation.php?' . PMA_generate_common_url($GLOBALS['db'], '', '&');
|
||||
if (!$jsonly)
|
||||
echo '<script type="text/javascript">' . PHP_EOL;
|
||||
?>
|
||||
if (!$jsonly)
|
||||
echo '<script type="text/javascript">' . PHP_EOL;
|
||||
?>
|
||||
//<![CDATA[
|
||||
if (typeof(window.parent) != 'undefined'
|
||||
&& typeof(window.parent.frame_navigation) != 'undefined'
|
||||
@ -1430,9 +1430,13 @@ function PMA_localizeNumber($value)
|
||||
*/
|
||||
function PMA_formatNumber($value, $length = 3, $comma = 0, $only_down = false)
|
||||
{
|
||||
$originalValue = $value;
|
||||
//number_format is not multibyte safe, str_replace is safe
|
||||
if ($length === 0) {
|
||||
return PMA_localizeNumber(number_format($value, $comma));
|
||||
$value = number_format($value, $comma);
|
||||
if($originalValue!=0 && floatval($value) == 0) $value = ' <'.(1/PMA_pow(10,$comma));
|
||||
|
||||
return PMA_localizeNumber($value);
|
||||
}
|
||||
|
||||
// this units needs no translation, ISO
|
||||
@ -1494,6 +1498,8 @@ function PMA_formatNumber($value, $length = 3, $comma = 0, $only_down = false)
|
||||
|
||||
//number_format is not multibyte safe, str_replace is safe
|
||||
$value = PMA_localizeNumber(number_format($value, $comma));
|
||||
|
||||
if($originalValue!=0 && floatval($value) == 0) return ' <'.(1/PMA_pow(10,$comma)).' '.$unit;
|
||||
|
||||
return $sign . $value . ' ' . $unit;
|
||||
} // end of the 'PMA_formatNumber' function
|
||||
@ -1644,10 +1650,10 @@ function PMA_generate_html_tab($tab, $url_params = array())
|
||||
$tab['attr'] .= ' title="' . htmlspecialchars($tab['warning']) . '"';
|
||||
}
|
||||
|
||||
// If there are any tab specific URL parameters, merge those with the general URL parameters
|
||||
if(! empty($tab['url_params']) && is_array($tab['url_params'])) {
|
||||
$url_params = array_merge($url_params, $tab['url_params']);
|
||||
}
|
||||
// If there are any tab specific URL parameters, merge those with the general URL parameters
|
||||
if(! empty($tab['url_params']) && is_array($tab['url_params'])) {
|
||||
$url_params = array_merge($url_params, $tab['url_params']);
|
||||
}
|
||||
|
||||
// build the link
|
||||
if (!empty($tab['link'])) {
|
||||
@ -2937,8 +2943,8 @@ function PMA_browseUploadFile($max_upload_size) {
|
||||
* @param $uploaddir
|
||||
*/
|
||||
function PMA_selectUploadFile($import_list, $uploaddir) {
|
||||
echo '<label for="radio_local_import_file">' . sprintf(__("Select from the web server upload directory <b>%s</b>:"), htmlspecialchars(PMA_userDir($uploaddir))) . '</label>';
|
||||
$extensions = '';
|
||||
echo '<label for="radio_local_import_file">' . sprintf(__("Select from the web server upload directory <b>%s</b>:"), htmlspecialchars(PMA_userDir($uploaddir))) . '</label>';
|
||||
$extensions = '';
|
||||
foreach ($import_list as $key => $val) {
|
||||
if (!empty($extensions)) {
|
||||
$extensions .= '|';
|
||||
|
||||
1518
po/be@latin.po
1518
po/be@latin.po
File diff suppressed because it is too large
Load Diff
1536
po/en_GB.po
1536
po/en_GB.po
File diff suppressed because it is too large
Load Diff
1497
po/phpmyadmin.pot
1497
po/phpmyadmin.pot
File diff suppressed because it is too large
Load Diff
1505
po/pt_BR.po
1505
po/pt_BR.po
File diff suppressed because it is too large
Load Diff
1505
po/sr@latin.po
1505
po/sr@latin.po
File diff suppressed because it is too large
Load Diff
1550
po/uz@latin.po
1550
po/uz@latin.po
File diff suppressed because it is too large
Load Diff
1527
po/zh_CN.po
1527
po/zh_CN.po
File diff suppressed because it is too large
Load Diff
1654
po/zh_TW.po
1654
po/zh_TW.po
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user