Merge branch 'master' of git://phpmyadmin.git.sourceforge.net/gitroot/phpmyadmin/phpmyadmin into OpenGIS

This commit is contained in:
Madhura Jayaratne 2011-05-31 22:44:56 +05:30
commit e71db6482c
66 changed files with 50893 additions and 46203 deletions

View File

@ -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 .= '|';

View File

@ -34,6 +34,7 @@ if (!$GLOBALS['is_ajax_request']) {
/**
* Displays tab links
* Put the links we assume are used less, towards the end
*/
$tabs = array();
@ -49,11 +50,6 @@ if (!$GLOBALS['is_ajax_request']) {
$tabs['status']['link'] = 'server_status.php';
$tabs['status']['text'] = __('Status');
if (! empty($binary_logs)) {
$tabs['binlog']['icon'] = 's_tbl.png';
$tabs['binlog']['link'] = 'server_binlog.php';
$tabs['binlog']['text'] = __('Binary log');
}
$tabs['process']['icon'] = 's_process.png';
$tabs['process']['link'] = 'server_processlist.php';
$tabs['process']['text'] = __('Processes');
@ -72,6 +68,28 @@ if (!$GLOBALS['is_ajax_request']) {
$tabs['import']['link'] = 'server_import.php';
$tabs['import']['text'] = __('Import');
$tabs['settings']['icon'] = 'b_tblops.png';
$tabs['settings']['link'] = 'prefs_manage.php';
$tabs['settings']['text'] = __('Settings');
$tabs['settings']['active'] = in_array(basename($GLOBALS['PMA_PHP_SELF']),
array('prefs_forms.php', 'prefs_manage.php'));
$tabs['synchronize']['icon'] = 's_sync.png';
$tabs['synchronize']['link'] = 'server_synchronize.php';
$tabs['synchronize']['text'] = __('Synchronize');
if (! empty($binary_logs)) {
$tabs['binlog']['icon'] = 's_tbl.png';
$tabs['binlog']['link'] = 'server_binlog.php';
$tabs['binlog']['text'] = __('Binary log');
}
if ($is_superuser) {
$tabs['replication']['icon'] = 's_replication.png';
$tabs['replication']['link'] = 'server_replication.php';
$tabs['replication']['text'] = __('Replication');
}
$tabs['vars']['icon'] = 's_vars.png';
$tabs['vars']['link'] = 'server_variables.php';
$tabs['vars']['text'] = __('Variables');
@ -84,22 +102,6 @@ if (!$GLOBALS['is_ajax_request']) {
$tabs['engine']['link'] = 'server_engines.php';
$tabs['engine']['text'] = __('Engines');
if ($is_superuser) {
$tabs['replication']['icon'] = 's_replication.png';
$tabs['replication']['link'] = 'server_replication.php';
$tabs['replication']['text'] = __('Replication');
}
$tabs['synchronize']['icon'] = 's_sync.png';
$tabs['synchronize']['link'] = 'server_synchronize.php';
$tabs['synchronize']['text'] = __('Synchronize');
$tabs['settings']['icon'] = 'b_tblops.png';
$tabs['settings']['link'] = 'prefs_manage.php';
$tabs['settings']['text'] = __('Settings');
$tabs['settings']['active'] = in_array(basename($GLOBALS['PMA_PHP_SELF']),
array('prefs_forms.php', 'prefs_manage.php'));
echo PMA_generate_html_tabs($tabs, array());
unset($tabs);

1481
po/af.po

File diff suppressed because it is too large Load Diff

1506
po/ar.po

File diff suppressed because it is too large Load Diff

1481
po/az.po

File diff suppressed because it is too large Load Diff

1505
po/be.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

1509
po/bg.po

File diff suppressed because it is too large Load Diff

1509
po/bn.po

File diff suppressed because it is too large Load Diff

1481
po/bs.po

File diff suppressed because it is too large Load Diff

1526
po/ca.po

File diff suppressed because it is too large Load Diff

1482
po/cs.po

File diff suppressed because it is too large Load Diff

1508
po/cy.po

File diff suppressed because it is too large Load Diff

1506
po/da.po

File diff suppressed because it is too large Load Diff

1526
po/de.po

File diff suppressed because it is too large Load Diff

1556
po/el.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

1537
po/es.po

File diff suppressed because it is too large Load Diff

1497
po/et.po

File diff suppressed because it is too large Load Diff

1481
po/eu.po

File diff suppressed because it is too large Load Diff

1497
po/fa.po

File diff suppressed because it is too large Load Diff

1526
po/fi.po

File diff suppressed because it is too large Load Diff

1540
po/fr.po

File diff suppressed because it is too large Load Diff

1530
po/gl.po

File diff suppressed because it is too large Load Diff

1495
po/he.po

File diff suppressed because it is too large Load Diff

1517
po/hi.po

File diff suppressed because it is too large Load Diff

1509
po/hr.po

File diff suppressed because it is too large Load Diff

1610
po/hu.po

File diff suppressed because it is too large Load Diff

1507
po/id.po

File diff suppressed because it is too large Load Diff

1536
po/it.po

File diff suppressed because it is too large Load Diff

1529
po/ja.po

File diff suppressed because it is too large Load Diff

1537
po/ka.po

File diff suppressed because it is too large Load Diff

1489
po/ko.po

File diff suppressed because it is too large Load Diff

1523
po/lt.po

File diff suppressed because it is too large Load Diff

1499
po/lv.po

File diff suppressed because it is too large Load Diff

1493
po/mk.po

File diff suppressed because it is too large Load Diff

1498
po/ml.po

File diff suppressed because it is too large Load Diff

1510
po/mn.po

File diff suppressed because it is too large Load Diff

1481
po/ms.po

File diff suppressed because it is too large Load Diff

1518
po/nb.po

File diff suppressed because it is too large Load Diff

1518
po/nl.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

1537
po/pl.po

File diff suppressed because it is too large Load Diff

1491
po/pt.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

1505
po/ro.po

File diff suppressed because it is too large Load Diff

1522
po/ru.po

File diff suppressed because it is too large Load Diff

1504
po/si.po

File diff suppressed because it is too large Load Diff

1579
po/sk.po

File diff suppressed because it is too large Load Diff

1528
po/sl.po

File diff suppressed because it is too large Load Diff

1483
po/sq.po

File diff suppressed because it is too large Load Diff

1505
po/sr.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

1544
po/sv.po

File diff suppressed because it is too large Load Diff

1500
po/ta.po

File diff suppressed because it is too large Load Diff

1488
po/te.po

File diff suppressed because it is too large Load Diff

1489
po/th.po

File diff suppressed because it is too large Load Diff

1538
po/tr.po

File diff suppressed because it is too large Load Diff

1501
po/tt.po

File diff suppressed because it is too large Load Diff

1508
po/ug.po

File diff suppressed because it is too large Load Diff

1502
po/uk.po

File diff suppressed because it is too large Load Diff

1519
po/ur.po

File diff suppressed because it is too large Load Diff

1538
po/uz.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff