From 0a632379c6e002545d9fa4184487e8e77393a26d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 5 May 2010 15:04:35 +0200 Subject: [PATCH 1/2] Clarify the code. --- tbl_indexes.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tbl_indexes.php b/tbl_indexes.php index dd44b2401..1eda8072a 100644 --- a/tbl_indexes.php +++ b/tbl_indexes.php @@ -156,9 +156,11 @@ echo PMA_generate_common_hidden_inputs($form_params);
From 149c75f91ff218b909f2ac286a71e90fadac0888 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 5 May 2010 16:24:02 +0200 Subject: [PATCH 2/2] Use standard way for linking documentation. --- libraries/common.lib.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libraries/common.lib.php b/libraries/common.lib.php index b17bf368a..898984d68 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -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 - . ' (FAQ 2.8)
'; + . PMA_showDocu('faqmissingparameters') + . '
'; $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