Merge remote branch 'origin/master'

This commit is contained in:
Pootle server
2010-05-05 16:40:12 +02:00
2 changed files with 13 additions and 11 deletions

View File

@@ -1508,7 +1508,7 @@ function PMA_formatNumber($value, $length = 3, $comma = 0, $only_down = false)
*
* @param string $size the size expression (for example 8MB)
* @uses PMA_pow()
* @return integer The numerical part of the expression (for example 8)
* @return integer The numerical part of the expression (for example 8)
*/
function PMA_extractValueFromFormattedSize($formatted_size)
{
@@ -1936,8 +1936,8 @@ function PMA_checkParameters($params, $die = true, $request = true)
if (!isset($GLOBALS[$param])) {
$error_message .= $reported_script_name
. ': Missing parameter: ' . $param
. ' <a href="./Documentation.html#faqmissingparameters"'
. ' target="documentation"> (FAQ 2.8)</a><br />';
. PMA_showDocu('faqmissingparameters')
. '<br />';
$found_error = true;
}
}
@@ -2600,19 +2600,19 @@ function PMA_printable_bit_value($value, $length) {
}
/**
* Verifies whether the value contains a non-printable character
* Verifies whether the value contains a non-printable character
*
* @uses preg_match()
* @param string $value
* @return boolean
* @param string $value
* @return boolean
*/
function PMA_contains_nonprintable_ascii($value) {
return preg_match('@[^[:print:]]@', $value);
}
/**
* Converts a BIT type default value
* for example, b'010' becomes 010
* Converts a BIT type default value
* for example, b'010' becomes 010
*
* @uses strtr()
* @param string $bit_default_value

View File

@@ -156,9 +156,11 @@ echo PMA_generate_common_hidden_inputs($form_params);
<fieldset>
<legend>
<?php
echo (isset($_REQUEST['create_index'])
? __('Create a new index')
: __('Modify an index');
if (isset($_REQUEST['create_index'])) {
echo __('Create a new index');
} else {
echo __('Modify an index');
}
?>
</legend>