From 1ce390b3460d21e6cd5852fb9da7025c570779c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 11 May 2012 14:39:34 +0200 Subject: [PATCH 01/28] Better name for a variable --- libraries/Config.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/Config.class.php b/libraries/Config.class.php index dba6f082d8..c3be57a896 100644 --- a/libraries/Config.class.php +++ b/libraries/Config.class.php @@ -1620,9 +1620,9 @@ class PMA_Config // set cookie with new value /* Calculate cookie validity */ if ($validity == 0) { - $v = 0; + $validity = 0; } else { - $v = time() + $validity; + $validity = time() + $validity; } if (defined('TESTSUITE')) { $_COOKIE[$cookie] = $value; @@ -1631,7 +1631,7 @@ class PMA_Config return setcookie( $cookie, $value, - $v, + $validity, $this->getCookiePath(), '', $this->isHttps(), From fdb2b41f25e66273c8bf153525db82cb84cbf563 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 11 May 2012 14:40:39 +0200 Subject: [PATCH 02/28] Handle validity at single place --- libraries/Config.class.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libraries/Config.class.php b/libraries/Config.class.php index c3be57a896..43c61dc30c 100644 --- a/libraries/Config.class.php +++ b/libraries/Config.class.php @@ -1599,9 +1599,6 @@ class PMA_Config function setCookie($cookie, $value, $default = null, $validity = null, $httponly = true ) { - if ($validity == null) { - $validity = 2592000; - } if (strlen($value) && null !== $default && $value === $default) { // default value is used if (isset($_COOKIE[$cookie])) { @@ -1619,7 +1616,9 @@ class PMA_Config if (! isset($_COOKIE[$cookie]) || $_COOKIE[$cookie] !== $value) { // set cookie with new value /* Calculate cookie validity */ - if ($validity == 0) { + if ($validity == null) { + $validity = time() + 2592000; + } elseif ($validity == 0) { $validity = 0; } else { $validity = time() + $validity; From 08ceb6e44d2f9c098ed3ec8475bd8340cfd8a585 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 11 May 2012 14:46:02 +0200 Subject: [PATCH 03/28] Pass parameter as parameter instead of defining constant --- libraries/auth/cookie.auth.lib.php | 8 ++------ libraries/core.lib.php | 7 ++++--- test/libraries/core/PMA_headerLocation_test_disabled.php | 4 ---- 3 files changed, 6 insertions(+), 13 deletions(-) diff --git a/libraries/auth/cookie.auth.lib.php b/libraries/auth/cookie.auth.lib.php index 41a8c2d582..0d1c48533a 100644 --- a/libraries/auth/cookie.auth.lib.php +++ b/libraries/auth/cookie.auth.lib.php @@ -576,18 +576,14 @@ function PMA_auth_set_user() $url_params['target'] = $GLOBALS['target']; } - /** - * whether we come from a fresh cookie login - */ - define('PMA_COMING_FROM_COOKIE_LOGIN', true); - /** * Clear user cache. */ PMA_clearUserCache(); PMA_sendHeaderLocation( - $redirect_url . PMA_generate_common_url($url_params, '&') + $redirect_url . PMA_generate_common_url($url_params, '&'), + true ); exit(); } // end if diff --git a/libraries/core.lib.php b/libraries/core.lib.php index 4af2e11e03..f553010f06 100644 --- a/libraries/core.lib.php +++ b/libraries/core.lib.php @@ -506,11 +506,12 @@ function PMA_getenv($var_name) /** * Send HTTP header, taking IIS limits into account (600 seems ok) * - * @param string $uri the header to send + * @param string $uri the header to send + * @param bool $use_refresh whether to use Refresh: header when running on IIS * * @return boolean always true */ -function PMA_sendHeaderLocation($uri) +function PMA_sendHeaderLocation($uri, $use_refresh = false) { if (PMA_IS_IIS && strlen($uri) > 600) { include_once './libraries/js_escape.lib.php'; @@ -557,7 +558,7 @@ function PMA_sendHeaderLocation($uri) // bug #1523784: IE6 does not like 'Refresh: 0', it // results in a blank page // but we need it when coming from the cookie login panel) - if (PMA_IS_IIS && defined('PMA_COMING_FROM_COOKIE_LOGIN')) { + if (PMA_IS_IIS && $use_refresh) { header('Refresh: 0; ' . $uri); } else { header('Location: ' . $uri); diff --git a/test/libraries/core/PMA_headerLocation_test_disabled.php b/test/libraries/core/PMA_headerLocation_test_disabled.php index 2f749d6488..240352ff69 100644 --- a/test/libraries/core/PMA_headerLocation_test_disabled.php +++ b/test/libraries/core/PMA_headerLocation_test_disabled.php @@ -196,7 +196,6 @@ class PMA_headerLocation_test extends PHPUnit_Framework_TestCase if ($this->runkitExt && $this->apdExt) { runkit_constant_redefine('PMA_IS_IIS', true); - runkit_constant_add('PMA_COMING_FROM_COOKIE_LOGIN', true); $testUri = 'http://testurl.com/test.php'; $separator = PMA_get_arg_separator(); @@ -205,9 +204,6 @@ class PMA_headerLocation_test extends PHPUnit_Framework_TestCase PMA_sendHeaderLocation($testUri); // sets $GLOBALS['header'] - // cleaning constant - runkit_constant_remove('PMA_COMING_FROM_COOKIE_LOGIN'); - $this->assertEquals($header, $GLOBALS['header']); } else { From 18165459e8274d04abf0a1fb9af7649533df38f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 11 May 2012 14:49:36 +0200 Subject: [PATCH 04/28] Some comment and whitespace fixes --- test/classes/PMA_Config_test.php | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/test/classes/PMA_Config_test.php b/test/classes/PMA_Config_test.php index 20972d7449..86194e14ca 100644 --- a/test/classes/PMA_Config_test.php +++ b/test/classes/PMA_Config_test.php @@ -3,7 +3,6 @@ /** * Test for PMA_Config class * - * * @package PhpMyAdmin-test * @group current */ @@ -272,8 +271,10 @@ class PMA_ConfigTest extends PHPUnit_Framework_TestCase } /** + * * @covers PMA_Config::get * @covers PMA_Config::set + * * @return void */ public function testGetAndSet() @@ -308,6 +309,7 @@ class PMA_ConfigTest extends PHPUnit_Framework_TestCase } /** + * * @depends testCheckPmaAbsoluteUriEmpty */ public function testCheckPmaAbsoluteUriNormal() @@ -323,6 +325,7 @@ class PMA_ConfigTest extends PHPUnit_Framework_TestCase } /** + * * @depends testCheckPmaAbsoluteUriNormal */ public function testCheckPmaAbsoluteUriScheme() @@ -339,6 +342,7 @@ class PMA_ConfigTest extends PHPUnit_Framework_TestCase } /** + * * @depends testCheckPmaAbsoluteUriScheme */ public function testCheckPmaAbsoluteUriUser() @@ -398,6 +402,7 @@ class PMA_ConfigTest extends PHPUnit_Framework_TestCase } /** + * * @depends testDetectHttps */ public function testCheckCookiePath() @@ -408,6 +413,7 @@ class PMA_ConfigTest extends PHPUnit_Framework_TestCase } /** + * * @depends testCheckSystem * @depends testCheckWebServer * @depends testLoadDefaults @@ -438,6 +444,7 @@ class PMA_ConfigTest extends PHPUnit_Framework_TestCase } /** + * * @todo Implement testSave(). */ public function testSave() @@ -449,6 +456,7 @@ class PMA_ConfigTest extends PHPUnit_Framework_TestCase } /** + * * @todo Implement testGetFontsizeForm(). */ public function testGetFontsizeForm() @@ -460,6 +468,7 @@ class PMA_ConfigTest extends PHPUnit_Framework_TestCase } /** + * * @todo Implement testRemoveCookie(). */ public function testRemoveCookie() @@ -469,7 +478,8 @@ class PMA_ConfigTest extends PHPUnit_Framework_TestCase 'This test has not been implemented yet.' ); } - /** + /** + * * @todo Implement testCheckFontsize(). */ public function testCheckFontsize() @@ -481,6 +491,7 @@ class PMA_ConfigTest extends PHPUnit_Framework_TestCase } /** + * * @todo Implement testCheckUpload(). */ public function testCheckUpload() @@ -492,6 +503,7 @@ class PMA_ConfigTest extends PHPUnit_Framework_TestCase } /** + * * @todo Implement testCheckUploadSize(). */ public function testCheckUploadSize() @@ -503,6 +515,7 @@ class PMA_ConfigTest extends PHPUnit_Framework_TestCase } /** + * * @todo Implement testCheckIsHttps(). */ public function testCheckIsHttps() @@ -514,6 +527,7 @@ class PMA_ConfigTest extends PHPUnit_Framework_TestCase } /** + * * @todo Implement testGetCookiePath(). */ public function testGetCookiePath() @@ -525,6 +539,7 @@ class PMA_ConfigTest extends PHPUnit_Framework_TestCase } /** + * * @todo finish implementing test + dependencies */ public function testLoad() @@ -535,6 +550,7 @@ class PMA_ConfigTest extends PHPUnit_Framework_TestCase } /** + * * @todo Implement testLoadUserPreferences(). */ public function testLoadUserPreferences() @@ -545,6 +561,7 @@ class PMA_ConfigTest extends PHPUnit_Framework_TestCase } /** + * * @todo Implement testSetUserValue(). */ public function testSetUserValue() @@ -555,6 +572,7 @@ class PMA_ConfigTest extends PHPUnit_Framework_TestCase } /** + * * @todo Implement testGetUserValue(). */ public function testGetUserValue() @@ -563,6 +581,7 @@ class PMA_ConfigTest extends PHPUnit_Framework_TestCase } /** + * * @todo Implement testGetThemeUniqueValue(). */ public function testGetThemeUniqueValue() @@ -574,6 +593,7 @@ class PMA_ConfigTest extends PHPUnit_Framework_TestCase } /** + * * @todo Implement testCheckPermissions(). */ public function testCheckPermissions() @@ -586,6 +606,7 @@ class PMA_ConfigTest extends PHPUnit_Framework_TestCase /** + * * @todo Implement testSetCookie(). */ public function testSetCookie() @@ -602,6 +623,7 @@ class PMA_ConfigTest extends PHPUnit_Framework_TestCase } /** + * * @dataProvider sslUris */ public function testSSLUri($original, $expected) From fd7cc6ea14f66875c48a881ee86e0bfcd25cfb00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 11 May 2012 14:50:35 +0200 Subject: [PATCH 05/28] Some comment and whitespace fixes --- test/classes/PMA_Theme_test.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/test/classes/PMA_Theme_test.php b/test/classes/PMA_Theme_test.php index c35480432f..a9305fb564 100644 --- a/test/classes/PMA_Theme_test.php +++ b/test/classes/PMA_Theme_test.php @@ -5,7 +5,6 @@ require_once 'libraries/Theme.class.php'; /** * Test class for PMA_Theme. - * Generated by PHPUnit on 2011-07-18 at 03:19:13. */ class PMA_ThemeTest extends PHPUnit_Framework_TestCase { @@ -76,6 +75,7 @@ class PMA_ThemeTest extends PHPUnit_Framework_TestCase } /** + * * @expectedException PHPUnit_Framework_Error */ public function testCheckImgPathBad() @@ -101,6 +101,7 @@ class PMA_ThemeTest extends PHPUnit_Framework_TestCase } /** + * * @expectedException PHPUnit_Framework_Error */ public function testCheckImgPathGlobalsWrongPath() @@ -115,6 +116,7 @@ class PMA_ThemeTest extends PHPUnit_Framework_TestCase } /** + * * @covers PMA_Theme::setPath * @covers PMA_Theme::getPath */ @@ -132,6 +134,7 @@ class PMA_ThemeTest extends PHPUnit_Framework_TestCase } /** + * * @depends testLoadInfo */ public function testGetSetCheckVersion() @@ -146,6 +149,7 @@ class PMA_ThemeTest extends PHPUnit_Framework_TestCase } /** + * * @covers PMA_Theme::getName * @covers PMA_Theme::setName */ @@ -158,6 +162,7 @@ class PMA_ThemeTest extends PHPUnit_Framework_TestCase } /** + * * @covers PMA_Theme::getId * @covers PMA_Theme::setId */ @@ -170,6 +175,7 @@ class PMA_ThemeTest extends PHPUnit_Framework_TestCase } /** + * * @covers PMA_Theme::getImgPath * @covers PMA_Theme::setImgPath */ @@ -194,6 +200,7 @@ class PMA_ThemeTest extends PHPUnit_Framework_TestCase } /** + * * @todo Implement testPrintPreview(). */ public function testPrintPreview() From ec6c781d22af098a701b24895b4ae74c9832329b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 11 May 2012 14:53:24 +0200 Subject: [PATCH 06/28] Add some missing docs --- libraries/File.class.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/libraries/File.class.php b/libraries/File.class.php index fed2829828..55c833c43d 100644 --- a/libraries/File.class.php +++ b/libraries/File.class.php @@ -239,7 +239,7 @@ class PMA_File } /** - * + * Loads uploaded file from table change request. * * @param string $key the md5 hash of the column name * @param string $rownumber @@ -351,6 +351,8 @@ class PMA_File } /** + * Returns possible error message. + * * @access public * @return string error message */ @@ -360,6 +362,8 @@ class PMA_File } /** + * Checks whether there was any error. + * * @access public * @return boolean whether an error occured or not */ @@ -395,6 +399,7 @@ class PMA_File } /** + * Sets named file to be read from UploadDir. * * @param string $name * @@ -418,6 +423,8 @@ class PMA_File } /** + * Checks whether file can be read. + * * @access public * @return boolean whether the file is readable or not */ @@ -559,6 +566,8 @@ class PMA_File } /** + * Attempts to open the file. + * * @return bool */ function open() @@ -625,6 +634,8 @@ class PMA_File } /** + * Returns compression used by file. + * * @return string MIME type of compression, none for none * @access public */ From 9ed17c91cecd57723d62b4a25c33e6da2f7a7a28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 11 May 2012 14:55:43 +0200 Subject: [PATCH 07/28] Wrap some long lines --- libraries/File.class.php | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/libraries/File.class.php b/libraries/File.class.php index 55c833c43d..bcdcb1e56e 100644 --- a/libraries/File.class.php +++ b/libraries/File.class.php @@ -252,7 +252,11 @@ class PMA_File if (! isset($_FILES['fields_upload']) || empty($_FILES['fields_upload']['name']['multi_edit'][$rownumber][$key])) { return false; } - $file = PMA_File::fetchUploadedFromTblChangeRequestMultiple($_FILES['fields_upload'], $rownumber, $key); + $file = PMA_File::fetchUploadedFromTblChangeRequestMultiple( + $_FILES['fields_upload'], + $rownumber, + $key + ); // check for file upload errors switch ($file['error']) { @@ -344,7 +348,9 @@ class PMA_File && is_string($_REQUEST['fields_uploadlocal']['multi_edit'][$rownumber][$key]) ) { // ... whether with multiple rows ... - return $this->setLocalSelectedFile($_REQUEST['fields_uploadlocal']['multi_edit'][$rownumber][$key]); + return $this->setLocalSelectedFile( + $_REQUEST['fields_uploadlocal']['multi_edit'][$rownumber][$key] + ); } else { return false; } @@ -412,7 +418,9 @@ class PMA_File return false; } - $this->setName(PMA_userDir($GLOBALS['cfg']['UploadDir']) . PMA_securePath($name)); + $this->setName( + PMA_userDir($GLOBALS['cfg']['UploadDir']) . PMA_securePath($name) + ); if (! $this->isReadable()) { $this->_error_message = __('File could not be read'); $this->setName(null); @@ -459,12 +467,18 @@ class PMA_File return false; } - $new_file_to_upload = tempnam(realpath($GLOBALS['cfg']['TempDir']), basename($this->getName())); + $new_file_to_upload = tempnam( + realpath($GLOBALS['cfg']['TempDir']), + basename($this->getName()) + ); // suppress warnings from being displayed, but not from being logged // any file access outside of open_basedir will issue a warning ob_start(); - $move_uploaded_file_result = move_uploaded_file($this->getName(), $new_file_to_upload); + $move_uploaded_file_result = move_uploaded_file( + $this->getName(), + $new_file_to_upload + ); ob_end_clean(); if (! $move_uploaded_file_result) { $this->_error_message = __('Error while moving uploaded file.'); From d10763d73d2a126bb2e26df4f768d33982737162 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 11 May 2012 14:57:43 +0200 Subject: [PATCH 08/28] Wrap some long lines --- test/classes/PMA_Theme_test.php | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/test/classes/PMA_Theme_test.php b/test/classes/PMA_Theme_test.php index a9305fb564..4608515b85 100644 --- a/test/classes/PMA_Theme_test.php +++ b/test/classes/PMA_Theme_test.php @@ -39,7 +39,10 @@ class PMA_ThemeTest extends PHPUnit_Framework_TestCase public function testCheckImgPathIncorrect() { $this->object->setPath('./test/classes/_data/incorrect_theme'); - $this->assertFalse($this->object->loadInfo(), 'Theme name is not properly set'); + $this->assertFalse( + $this->object->loadInfo(), + 'Theme name is not properly set' + ); } public function testCheckImgPathFull() @@ -53,12 +56,16 @@ class PMA_ThemeTest extends PHPUnit_Framework_TestCase public function testLoadInfo() { $this->object->setPath('./themes/original'); + $infofile = $this->object->getPath().'/info.inc.php'; $this->assertTrue($this->object->loadInfo()); - $this->assertEquals(filemtime($this->object->getPath().'/info.inc.php'), $this->object->mtime_info); + $this->assertEquals( + filemtime($infofile), + $this->object->mtime_info + ); $this->object->setPath('./themes/original'); - $this->object->mtime_info = filemtime($this->object->getPath().'/info.inc.php'); + $this->object->mtime_info = filemtime($infofile); $this->assertTrue($this->object->loadInfo()); $this->assertEquals('Original', $this->object->getName()); } @@ -139,7 +146,11 @@ class PMA_ThemeTest extends PHPUnit_Framework_TestCase */ public function testGetSetCheckVersion() { - $this->assertEquals('0.0.0.0', $this->object->getVersion(), 'Version 0.0.0.0 by default'); + $this->assertEquals( + '0.0.0.0', + $this->object->getVersion(), + 'Version 0.0.0.0 by default' + ); $this->object->setVersion("1.2.3.4"); $this->assertEquals('1.2.3.4', $this->object->getVersion()); @@ -181,7 +192,10 @@ class PMA_ThemeTest extends PHPUnit_Framework_TestCase */ public function testGetSetImgPath() { - $this->assertEmpty($this->object->getImgPath(), 'ImgPath is empty by default'); + $this->assertEmpty( + $this->object->getImgPath(), + 'ImgPath is empty by default' + ); $this->object->setImgPath('/new/path'); $this->assertEquals('/new/path', $this->object->getImgPath()); From 328d1d617c4658fd4faf08b8a6062af049a09c1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 11 May 2012 15:04:12 +0200 Subject: [PATCH 09/28] Various coding style improvements --- libraries/common.lib.php | 91 ++++++++++++++++++++++------------------ 1 file changed, 50 insertions(+), 41 deletions(-) diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 9a22ac2499..18e5091acb 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -531,7 +531,7 @@ function PMA_showPHPDocu($target) * returns HTML for a footnote marker and add the messsage to the footnotes * * @param string $message the error message - * @param bool $bbcode + * @param bool $bbcode whether to interpret BB code * @param string $type message types * * @return string html code for a footnote marker @@ -600,7 +600,7 @@ function PMA_mysqlDie( */ include_once './libraries/header.inc.php'; - $error_msg_output = ''; + $error_msg = ''; if (! $error_message) { $error_message = PMA_DBI_getError(); @@ -625,8 +625,8 @@ function PMA_mysqlDie( } } // --- - $error_msg_output .= "\n" . '' . "\n"; - $error_msg_output .= '

' . __('Error') + $error_msg .= "\n" . '' . "\n"; + $error_msg .= '

' . __('Error') . '

' . "\n"; // if the config password is wrong, or the MySQL server does not // respond, do not show the query that would reveal the @@ -634,15 +634,15 @@ function PMA_mysqlDie( if (! empty($the_query) && ! strstr($the_query, 'connect')) { // --- Added to solve bug #641765 if (function_exists('PMA_SQP_isError') && PMA_SQP_isError()) { - $error_msg_output .= PMA_SQP_getErrorString() . "\n"; - $error_msg_output .= '
' . "\n"; + $error_msg .= PMA_SQP_getErrorString() . "\n"; + $error_msg .= '
' . "\n"; } // --- // modified to show the help on sql errors - $error_msg_output .= '

' . __('SQL query') . ':' . "\n"; + $error_msg .= '

' . __('SQL query') . ':' . "\n"; if (strstr(strtolower($formatted_sql), 'select')) { // please show me help to the error on select - $error_msg_output .= PMA_showMySQLDocu('SQL-Syntax', 'SELECT'); + $error_msg .= PMA_showMySQLDocu('SQL-Syntax', 'SELECT'); } if ($is_modify_link) { $_url_params = array( @@ -663,14 +663,14 @@ function PMA_mysqlDie( . PMA_generate_common_url($_url_params) . '">'; } - $error_msg_output .= $doedit_goto + $error_msg .= $doedit_goto . PMA_getIcon('b_edit.png', __('Edit')) . ''; } // end if - $error_msg_output .= '

' . "\n" - .'

' . "\n" - .' ' . $formatted_sql . "\n" - .'

' . "\n"; + $error_msg .= '

' . "\n" + .'

' . "\n" + . $formatted_sql . "\n" + . '

' . "\n"; } // end if if (! empty($error_message)) { @@ -682,7 +682,7 @@ function PMA_mysqlDie( } // modified to show the help on error-returns // (now error-messages-server) - $error_msg_output .= '

' . "\n" + $error_msg .= '

' . "\n" . ' ' . __('MySQL said: ') . '' . PMA_showMySQLDocu('Error-messages-server', 'Error-messages-server') . "\n" @@ -699,12 +699,12 @@ function PMA_mysqlDie( // Replace linebreaks $error_message = nl2br($error_message); - $error_msg_output .= '' . "\n" + $error_msg .= '' . "\n" . $error_message . "\n" . '
' . "\n"; - $error_msg_output .= '

'; + $error_msg .= '

'; - $_SESSION['Import_message']['message'] = $error_msg_output; + $_SESSION['Import_message']['message'] = $error_msg; if ($exit) { /** @@ -713,7 +713,7 @@ function PMA_mysqlDie( * - use PMA_ajaxResponse() to transmit the message and exit */ if ($GLOBALS['is_ajax_request'] == true) { - PMA_ajaxResponse($error_msg_output, false); + PMA_ajaxResponse($error_msg, false); } if (! empty($back_url)) { if (strstr($back_url, '?')) { @@ -724,18 +724,18 @@ function PMA_mysqlDie( $_SESSION['Import_message']['go_back_url'] = $back_url; - $error_msg_output .= '
'; - $error_msg_output .= '[ ' . __('Back') . ' ]'; - $error_msg_output .= '
' . "\n\n"; + $error_msg .= '
'; + $error_msg .= '[ ' . __('Back') . ' ]'; + $error_msg .= '
' . "\n\n"; } - echo $error_msg_output; + echo $error_msg; /** * display footer and exit */ include './libraries/footer.inc.php'; } else { - echo $error_msg_output; + echo $error_msg; } } // end of the 'PMA_mysqlDie()' function @@ -791,7 +791,12 @@ function PMA_getTableList($db, $tables = null, $limit_offset = 0, $tbl_is_view = $table['TABLE_TYPE'] == 'VIEW'; if ($tbl_is_view || PMA_is_system_schema($db)) { - $table['Rows'] = PMA_Table::countRecords($db, $table['Name'], false, true); + $table['Rows'] = PMA_Table::countRecords( + $db, + $table['Name'], + false, + true + ); } } @@ -933,7 +938,7 @@ function PMA_whichCrlf() * * @access public */ -function PMA_reloadNavigation($jsonly=false) +function PMA_reloadNavigation($jsonly = false) { // Reloads the navigation frame via JavaScript if required if (isset($GLOBALS['reload']) && $GLOBALS['reload']) { @@ -943,19 +948,21 @@ function PMA_reloadNavigation($jsonly=false) // and the offset becomes greater than the total number of tables unset($_SESSION['tmp_user_values']['table_limit_offset']); echo "\n"; - $reload_url = './navigation.php?' . PMA_generate_common_url($GLOBALS['db'], '', '&'); + $reload_url = './navigation.php?' . PMA_generate_common_url( + $GLOBALS['db'], + '', + '&' + ); if (!$jsonly) { echo '' . PHP_EOL; } @@ -1013,8 +1020,10 @@ function PMA_showMessage( $retval .= "\n"; $retval .= '' . "\n"; } // end if ... elseif @@ -1507,7 +1516,7 @@ function PMA_formatNumber( $value, $digits_left = 3, $digits_right = 0, $only_down = false, $noTrailingZero = true ) { - if ($value==0) { + if ($value == 0) { return '0'; } @@ -1565,11 +1574,11 @@ function PMA_formatNumber( */ $cur_digits = floor(log10($value / PMA_pow(1000, $d, 'pow'))+1); if ($digits_left > $cur_digits) { - $d-= floor(($digits_left - $cur_digits)/3); + $d -= floor(($digits_left - $cur_digits)/3); } - if ($d<0 && $only_down) { - $d=0; + if ($d < 0 && $only_down) { + $d = 0; } $value = round($value / (PMA_pow(1000, $d, 'pow') / $dh)) /$dh; @@ -1585,7 +1594,7 @@ function PMA_formatNumber( $value = PMA_localizeNumber(number_format($value, $digits_right)); } - if ($originalValue!=0 && floatval($value) == 0) { + if ($originalValue != 0 && floatval($value) == 0) { return ' <' . (1 / PMA_pow(10, $digits_right)) . ' ' . $unit; } From 13f6033b5fa63cce7879cbb8ecaae1e172a22955 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 11 May 2012 15:16:49 +0200 Subject: [PATCH 10/28] Remove workaround for ancient MySQL bug --- libraries/common.lib.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 18e5091acb..5cbe2b201d 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1028,19 +1028,6 @@ function PMA_showMessage( $retval .= '' . "\n"; } // end if ... elseif - // Checks if the table needs to be repaired after a TRUNCATE query. - // @todo what about $GLOBALS['display_query']??? - // @todo this is REALLY the wrong place to do this - very unexpected here - if (strlen($GLOBALS['table']) - && $GLOBALS['sql_query'] == 'TRUNCATE TABLE ' . PMA_backquote($GLOBALS['table']) - ) { - if (PMA_Table::sGetStatusInfo($GLOBALS['db'], $GLOBALS['table'], 'Index_length') > 1024 - && ! PMA_DRIZZLE - ) { - PMA_DBI_try_query('REPAIR TABLE ' . PMA_backquote($GLOBALS['table'])); - } - } - // In an Ajax request, $GLOBALS['cell_align_left'] may not be defined. Hence, // check for it's presence before using it $retval .= '
Date: Fri, 11 May 2012 15:17:34 +0200 Subject: [PATCH 11/28] Translated using Weblate. --- po/pt.po | 139 +++++++++++++++++++++---------------------------------- 1 file changed, 54 insertions(+), 85 deletions(-) diff --git a/po/pt.po b/po/pt.po index 0c079e3770..0b2f83850a 100644 --- a/po/pt.po +++ b/po/pt.po @@ -4,15 +4,15 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.0.0-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2012-05-09 13:14+0200\n" -"PO-Revision-Date: 2012-03-27 16:56+0200\n" -"Last-Translator: Michal Čihař \n" +"PO-Revision-Date: 2012-05-11 14:59+0200\n" +"Last-Translator: Vítor Martins \n" "Language-Team: portuguese \n" "Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Weblate 0.8\n" +"X-Generator: Weblate 1.0\n" #: browse_foreigners.php:35 browse_foreigners.php:59 js/messages.php:358 #: libraries/display_tbl.lib.php:399 server_privileges.php:1828 @@ -239,7 +239,7 @@ msgstr "Ver o esquema da base de dados" #: db_export.php:30 db_printview.php:95 db_qbe.php:104 db_tracking.php:47 #: export.php:374 navigation.php:287 msgid "No tables found in database." -msgstr "Nenhuma tabela encontrada na base de dados" +msgstr "Nenhuma tabela encontrada na base de dados." #: db_export.php:40 db_search.php:334 server_export.php:22 msgid "Select All" @@ -472,7 +472,7 @@ msgstr "Adicionar/Remover Colunas" #: db_qbe.php:634 db_qbe.php:657 msgid "Update Query" -msgstr "Actualiza Comando SQL" +msgstr "Atualizar consulta" #: db_qbe.php:640 msgid "Use Tables" @@ -481,11 +481,11 @@ msgstr "Usar Tabelas" #: db_qbe.php:663 #, php-format msgid "SQL query on database %s:" -msgstr "Comando SQL na base de dados %s:" +msgstr "Consulta SQL na base de dados %s:" #: db_qbe.php:956 libraries/common.lib.php:1239 msgid "Submit Query" -msgstr "Executar Comando SQL" +msgstr "Executar Consulta" #: db_search.php:31 libraries/auth/config.auth.lib.php:78 #: libraries/auth/config.auth.lib.php:99 @@ -504,7 +504,7 @@ msgstr "todas as palavras" #: db_search.php:45 db_search.php:303 msgid "the exact phrase" -msgstr "a frase exacta" +msgstr "a frase exata" #: db_search.php:46 db_search.php:304 msgid "as regular expression" @@ -528,7 +528,7 @@ msgstr[1] "%s resultados na tabela %s" #: libraries/common.lib.php:3148 libraries/common.lib.php:3378 #: libraries/common.lib.php:3379 tbl_structure.php:573 msgid "Browse" -msgstr "Visualizar" +msgstr "Procurar" #: db_search.php:252 #, php-format @@ -1403,7 +1403,7 @@ msgstr "slow_query_log está ativo" #: js/messages.php:146 msgid "slow_query_log and general_log are disabled." -msgstr "slow_query_log e general_log estão inativos" +msgstr "slow_query_log e general_log estão desativados." #: js/messages.php:147 msgid "log_output is not set to TABLE." @@ -1494,7 +1494,7 @@ msgstr "Dividido por %s:" #: js/messages.php:168 msgid "Unit" -msgstr "" +msgstr "Unidade" #: js/messages.php:170 msgid "From slow log" @@ -1557,14 +1557,13 @@ msgstr "Sem bases de dados" #: js/messages.php:181 msgid "Log analysed, but no data found in this time span." msgstr "" -"Registo analisado, mas nenhuns dados encontrados neste período de tempo" +"Registo analisado, mas não foram encontrados dados neste período de tempo" #: js/messages.php:183 msgid "Analyzing..." msgstr "Em análise..." #: js/messages.php:184 -#, fuzzy #| msgid "Explain SQL" msgid "Explain output" msgstr "Explicar SQL" @@ -1584,7 +1583,6 @@ msgid "Profiling results" msgstr "Resultado(s) da(s) consulta(s)" #: js/messages.php:189 -#, fuzzy #| msgid "Table" msgctxt "Display format" msgid "Table" @@ -1657,12 +1655,11 @@ msgid "Affected rows:" msgstr "Linhas afetadas:" #: js/messages.php:210 -#, fuzzy #| msgid "Failed parsing config file. It doesn't seem to be valid JSON code" msgid "Failed parsing config file. It doesn't seem to be valid JSON code." msgstr "" "Falha ao processar ficheiro de configuração. Não parece ser código JSON " -"válido" +"válido." #: js/messages.php:211 msgid "" @@ -1844,7 +1841,7 @@ msgid "ENUM/SET editor" msgstr "Editor ENUM/SET" #: js/messages.php:273 -#, fuzzy, php-format +#, php-format #| msgid "Values for the column \"%s\"" msgid "Values for column %s" msgstr "Valores para a coluna \"%s\"" @@ -1854,7 +1851,6 @@ msgid "Values for a new column" msgstr "Valores para a nova coluna" #: js/messages.php:275 -#, fuzzy #| msgid "Enter each value in a separate field." msgid "Enter each value in a separate field" msgstr "Introduza cada valor num campo separado." @@ -1879,7 +1875,7 @@ msgstr "Mostrar Caixa do query" #: js/messages.php:285 tbl_row_action.php:21 msgid "No rows selected" -msgstr "Nenhum registo (linha) seleccionado." +msgstr "Nenhum registo(linha) seleccionado." #: js/messages.php:286 libraries/display_tbl.lib.php:3007 querywindow.php:88 #: tbl_structure.php:145 tbl_structure.php:579 @@ -1918,25 +1914,23 @@ msgstr "Pesquisa Avançada" #: js/messages.php:300 msgid "Each point represents a data row." -msgstr "Cada ponto representa um registo (linha) de dados" +msgstr "Cada ponto representa um registo (linha) de dados." #: js/messages.php:302 -#, fuzzy msgid "Hovering over a point will show its label." -msgstr "Colocar o cursor por cima de um ponto irá mostrar a sua etiqueta" +msgstr "Colocar o cursor por cima de um ponto irá mostrar a sua legenda." #: js/messages.php:304 msgid "Use mousewheel to zoom in or out of the plot." -msgstr "Use a roda do rato para ampliar ou reduzir a imagem no plano" +msgstr "Use a roda do rato para ampliar ou reduzir a imagem no plano." #: js/messages.php:306 msgid "Click and drag the mouse to navigate the plot." -msgstr "Clique e arraste com o rato para navegar no mapa" +msgstr "Clique e arraste com o rato para navegar no mapa." #: js/messages.php:308 -#, fuzzy msgid "Click reset zoom link to come back to original state." -msgstr "Clique no link \"Reset Zoom\" para voltar ao estado original" +msgstr "Clique no link \"Reset Zoom\" para voltar ao estado original." #: js/messages.php:310 msgid "Click a data point to view and possibly edit the data row." @@ -1966,9 +1960,8 @@ msgid "Query results" msgstr "Resultado(s) das(s) consulta(s)" #: js/messages.php:319 -#, fuzzy msgid "Data point content" -msgstr "Tipo de Exportação" +msgstr "Conteúdo do ponto de dados" #: js/messages.php:322 tbl_change.php:323 tbl_indexes.php:237 #: tbl_indexes.php:272 @@ -2044,20 +2037,20 @@ msgid "Click the drop-down arrow
to toggle column's visibility" msgstr "Clique na seta
para alternar a visibilidade da coluna" #: js/messages.php:359 -#, fuzzy msgid "" "This table does not contain a unique column. Features related to the grid " "edit, checkbox, Edit, Copy and Delete links may not work after saving." msgstr "" -"Esta tabela não contem uma única coluna. Opções relacionadas aos links " -"'Editar', 'Marcar', 'Editar', 'Copiar' e 'Apagar' podem não funcionar mais " -"após esta ser salva" +"Esta tabela não contém uma coluna exclusiva. Funções relacionados com a " +"edição da tabela, checkbox, Editar, Copiar e Eliminar links podem não " +"funcionar depois de guardar." #: js/messages.php:360 msgid "" "You can also edit most columns
by clicking directly on their content." msgstr "" -"Também pode editar algumas colunas
clicando directamente no seu conteúdo" +"Também pode editar algumas colunas
clicando directamente no seu " +"conteúdo." #: js/messages.php:361 msgid "Go to link" @@ -2088,16 +2081,14 @@ msgid "Generate" msgstr "Gerar" #: js/messages.php:369 -#, fuzzy #| msgid "Change password" msgid "Change Password" msgstr "Alterar a palavra-passe" #: js/messages.php:372 tbl_structure.php:467 -#, fuzzy #| msgid "Mon" msgid "More" -msgstr "Seg" +msgstr "Mais" #: js/messages.php:375 setup/lib/index.lib.php:176 #, php-format @@ -2123,18 +2114,16 @@ msgid "Done" msgstr "Concluído" #: js/messages.php:401 -#, fuzzy #| msgid "Previous" msgctxt "Previous month" msgid "Prev" -msgstr "Anterior" +msgstr "Ant" #: js/messages.php:406 -#, fuzzy #| msgid "Next" msgctxt "Next month" msgid "Next" -msgstr "Próximo" +msgstr "Próx" #. l10n: Display text for current month link in calendar #: js/messages.php:409 @@ -2315,52 +2304,45 @@ msgstr "Sab" #. l10n: Minimal week day name #: js/messages.php:491 -#, fuzzy #| msgid "Sun" msgid "Su" msgstr "Dom" #. l10n: Minimal week day name #: js/messages.php:493 -#, fuzzy #| msgid "Mon" msgid "Mo" msgstr "Seg" #. l10n: Minimal week day name #: js/messages.php:495 -#, fuzzy #| msgid "Tue" msgid "Tu" msgstr "Ter" #. l10n: Minimal week day name #: js/messages.php:497 -#, fuzzy #| msgid "Wed" msgid "We" msgstr "Qua" #. l10n: Minimal week day name #: js/messages.php:499 -#, fuzzy #| msgid "Thu" msgid "Th" msgstr "Qui" #. l10n: Minimal week day name #: js/messages.php:501 -#, fuzzy #| msgid "Fri" msgid "Fr" msgstr "Sex" #. l10n: Minimal week day name #: js/messages.php:503 -#, fuzzy #| msgid "Sat" msgid "Sa" -msgstr "Sab" +msgstr "Sáb" #. l10n: Column header for week of the year in calendar #: js/messages.php:507 @@ -2374,7 +2356,6 @@ msgstr "" #. l10n: Year suffix for calendar, "none" is empty. #: js/messages.php:512 -#, fuzzy #| msgid "None" msgctxt "Year suffix" msgid "none" @@ -2745,12 +2726,11 @@ msgid "There are no recent tables" msgstr "Não existem tabelas recentes" #: libraries/StorageEngine.class.php:207 -#, fuzzy msgid "" "There is no detailed status information available for this storage engine." msgstr "" -"Não existe nenhuma informação detalhada disponível do estado desta " -"ferramenta de armazenamento" +"Não está disponível nenhuma informação detalhada para este mecanismo de " +"armazenamento." #: libraries/StorageEngine.class.php:347 #, php-format @@ -2763,9 +2743,9 @@ msgid "%s has been disabled for this MySQL server." msgstr "%s está desactivado neste servidor MySQL." #: libraries/StorageEngine.class.php:354 -#, fuzzy, php-format +#, php-format msgid "This MySQL server does not support the %s storage engine." -msgstr "Este servidor MySQL não suporta o stored engine %s." +msgstr "Este servidor MySQL não suporta o mecanismo de armazenamento %s." #: libraries/Table.class.php:353 msgid "unknown table status: " @@ -2835,9 +2815,8 @@ msgid "No preview available." msgstr "Nenhuma pré-visualização disponível." #: libraries/Theme.class.php:362 -#, fuzzy msgid "take it" -msgstr "tome" +msgstr "seleccionar" #: libraries/Theme_Manager.class.php:114 #, php-format @@ -3197,8 +3176,7 @@ msgstr "Entrada" #: libraries/auth/cookie.auth.lib.php:230 #: libraries/auth/cookie.auth.lib.php:231 msgid "You can enter hostname/IP address and port separated by space." -msgstr "" -"Pode digitar a hiperligação/endereço de IP e a porta separados por um espaço" +msgstr "Pode digitar a nome/Endereço IP e a porta separados por um espaço." #: libraries/auth/cookie.auth.lib.php:230 msgid "Server:" @@ -3317,7 +3295,6 @@ msgid "Check Privileges" msgstr "Verificar Privilégios" #: libraries/common.inc.php:156 -#, fuzzy msgid "possible exploit" msgstr "possível 'exploit'" @@ -3487,9 +3464,8 @@ msgid "%s days, %s hours, %s minutes and %s seconds" msgstr "%s dias, %s horas, %s minutos e %s segundos" #: libraries/common.lib.php:2092 -#, fuzzy msgid "Missing parameter:" -msgstr "Parâmetros perdidos:" +msgstr "Parâmetros em falta:" #: libraries/common.lib.php:2472 libraries/common.lib.php:2475 #: libraries/display_tbl.lib.php:330 @@ -3500,7 +3476,6 @@ msgstr "Início" #: libraries/common.lib.php:2473 libraries/common.lib.php:2476 #: libraries/display_tbl.lib.php:333 server_binlog.php:130 #: server_binlog.php:132 -#, fuzzy #| msgid "Previous" msgctxt "Previous page" msgid "Previous" @@ -3509,7 +3484,6 @@ msgstr "Anterior" #: libraries/common.lib.php:2503 libraries/common.lib.php:2506 #: libraries/display_tbl.lib.php:413 server_binlog.php:165 #: server_binlog.php:167 -#, fuzzy #| msgid "Next" msgctxt "Next page" msgid "Next" @@ -3517,7 +3491,6 @@ msgstr "Seguinte" #: libraries/common.lib.php:2504 libraries/common.lib.php:2507 #: libraries/display_tbl.lib.php:437 -#, fuzzy #| msgid "End" msgctxt "Last page" msgid "End" @@ -3570,9 +3543,8 @@ msgid "Both" msgstr "Ambos" #: libraries/config.values.php:57 -#, fuzzy msgid "Nowhere" -msgstr "Lugar nenhum" +msgstr "Em nenhum lugar" #: libraries/config.values.php:58 msgid "Left" @@ -3600,9 +3572,8 @@ msgstr "Desactidado" #: libraries/export/latex.php:58 libraries/export/mediawiki.php:40 #: libraries/export/odt.php:42 libraries/export/sql.php:153 #: libraries/export/texytext.php:36 -#, fuzzy msgid "structure" -msgstr "Estrutura" +msgstr "estrutura" #: libraries/config.values.php:130 libraries/export/htmlword.php:38 #: libraries/export/latex.php:59 libraries/export/mediawiki.php:41 @@ -3615,10 +3586,9 @@ msgstr "dados" #: libraries/export/latex.php:60 libraries/export/mediawiki.php:42 #: libraries/export/odt.php:44 libraries/export/sql.php:155 #: libraries/export/texytext.php:38 -#, fuzzy #| msgid "Structure and data" msgid "structure and data" -msgstr "Estrutura e dados" +msgstr "estrutura e dados" #: libraries/config.values.php:134 msgid "Quick - display only the minimal options to configure" @@ -3636,7 +3606,7 @@ msgstr "Personalizada - como acima, mas sem a escolha rápida/personalizada" #, fuzzy #| msgid "Complete inserts" msgid "complete inserts" -msgstr "Instrucções de inserção completas" +msgstr "Instruções de introdução completas" #: libraries/config.values.php:165 #, fuzzy @@ -3777,9 +3747,8 @@ msgstr "" "falha de segurança [/strong], que permite ataques de script cross-frame" #: libraries/config/messages.inc.php:22 -#, fuzzy msgid "Allow third party framing" -msgstr "Permitir framing de terceiros" +msgstr "Permitir elaboração de terceiros" #: libraries/config/messages.inc.php:23 msgid "Show "Drop database" link to normal users" @@ -3975,17 +3944,16 @@ msgid "Show binary contents as HEX" msgstr "Mostrar conteúdo binário como HEX" #: libraries/config/messages.inc.php:62 -#, fuzzy msgid "Show database listing as a list instead of a drop down" msgstr "" -"Mostrar listagem de bases de dados como uma lista em vez de um menu drop bown" +"Mostrar listagem de bases de dados como uma lista em vez de um menu drop " +"down" #: libraries/config/messages.inc.php:63 msgid "Display databases as a list" msgstr "Mostrar bases de dados como uma lista" #: libraries/config/messages.inc.php:64 -#, fuzzy msgid "Show server listing as a list instead of a drop down" msgstr "" "Mostrar lista de servidores como uma lista ao invés de um menu drop down" @@ -3999,8 +3967,8 @@ msgid "" "Disable the table maintenance mass operations, like optimizing or repairing " "the selected tables of a database." msgstr "" -"Desactivar operações em massa de manutenção de tabelas, como optimizar ou " -"reparar as tabelas seleccionadas de uma base de dados" +"Desativar operações em massa de manutenção de tabelas, como optimizar ou " +"reparar as tabelas seleccionadas de uma base de dados." #: libraries/config/messages.inc.php:67 msgid "Disable multi table maintenance" @@ -4039,9 +4007,8 @@ msgid "Save as file" msgstr "envia" #: libraries/config/messages.inc.php:75 libraries/config/messages.inc.php:247 -#, fuzzy msgid "Character set of the file" -msgstr "Configurar o Mapa de Caracteres do ficheiro:" +msgstr "Configurar o Mapa de Caracteres do ficheiro" #: libraries/config/messages.inc.php:76 libraries/config/messages.inc.php:92 #: tbl_gis_visualization.php:174 tbl_printview.php:360 tbl_structure.php:908 @@ -8505,8 +8472,9 @@ msgid "" "There seems to be an error in your SQL query. The MySQL server error output " "below, if there is any, may also help you in diagnosing the problem" msgstr "" -"Parece haver um erro no seu query SQL. A saída do servidor MySQL abaixo, " -"isto se existir alguma, também o poderá ajudar a diagnosticar o problema." +"Parece haver um erro na sua consulta SQL. A mensagem de erro do servidor " +"MySQL abaixo, isto se existir alguma, também o poderá ajudar a diagnosticar " +"o problema." #: libraries/sqlparser.lib.php:176 msgid "" @@ -8745,8 +8713,8 @@ msgid "" "Displays a clickable thumbnail. The options are the maximum width and height " "in pixels. The original aspect ratio is preserved." msgstr "" -"Mostra uma miniatura clicável; opções: largura,altura em pixeis (mantém a " -"proporção original)" +"Mostra uma miniatura clicável. As opções são largura e altura máximas em " +"pixeis. A proporção original é preservada." #: libraries/transformations/image_jpeg__link.inc.php:13 msgid "Displays a link to download this image." @@ -11939,8 +11907,9 @@ msgid "dynamic" msgstr "dinâmico" #: tbl_printview.php:389 tbl_structure.php:956 +#, fuzzy msgid "Row length" -msgstr "Comprim. dos reg." +msgstr "Comprimento de linha" #: tbl_printview.php:402 tbl_structure.php:964 msgid "Row size" From 0c90d7e62d02ff49ac26869c1a009bf838074315 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 11 May 2012 15:20:31 +0200 Subject: [PATCH 12/28] Fix syntax error --- libraries/common.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 5cbe2b201d..818f97a4dc 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1021,7 +1021,7 @@ function PMA_showMessage( $retval .= '