diff --git a/db_datadict.php b/db_datadict.php index e53c992dfe..8602d95f4a 100644 --- a/db_datadict.php +++ b/db_datadict.php @@ -67,7 +67,8 @@ foreach ($tables as $table) { /** * Gets table information */ - $show_comment = $GLOBALS['dbi']->getTable($db, $table)->sGetStatusInfo('TABLE_COMMENT'); + $show_comment = $GLOBALS['dbi']->getTable($db, $table) + ->sGetStatusInfo('TABLE_COMMENT'); /** * Gets table keys and retains them diff --git a/db_designer.php b/db_designer.php index 221087ee4e..00731675c4 100644 --- a/db_designer.php +++ b/db_designer.php @@ -94,8 +94,8 @@ if (isset($_REQUEST['operation'])) { && $GLOBALS['cfgRelation']['designersettingswork'] ) { $orig_data_query = 'SELECT ' . PMA_Util::backquote('settings_data') - . ' FROM `' . $cfgDesigner['db'] . '`.`' . $cfgDesigner['table'] . '` WHERE ' - . PMA_Util::backquote('username') . ' = "' + . ' FROM `' . $cfgDesigner['db'] . '`.`' . $cfgDesigner['table'] + . '` WHERE ' . PMA_Util::backquote('username') . ' = "' . $cfgDesigner['user'] . '"'; $orig_data = $GLOBALS['dbi']->fetchSingleRow($orig_data_query); @@ -113,8 +113,8 @@ if (isset($_REQUEST['operation'])) { $save_query = 'UPDATE `' . $cfgDesigner['db'] . '`.`' . $cfgDesigner['table'] . '` SET ' . PMA_Util::backquote('settings_data') . ' = \'' - . $orig_data . '\' WHERE ' . PMA_Util::backquote('username') . ' = "' - . $cfgDesigner['user'] . '";'; + . $orig_data . '\' WHERE ' . PMA_Util::backquote('username') + . ' = "' . $cfgDesigner['user'] . '";'; $success = $GLOBALS['dbi']->query($save_query); } else { @@ -122,7 +122,8 @@ if (isset($_REQUEST['operation'])) { $query = 'INSERT INTO ' . PMA_Util::backquote($cfgDesigner['db']) . '.' . PMA_Util::backquote($cfgDesigner['table']) - . ' VALUES("' . PMA_Util::sqlAddSlashes($cfgDesigner['user']) . '", \'' + . ' VALUES("' . PMA_Util::sqlAddSlashes($cfgDesigner['user']) + . '", \'' . PMA_Util::sqlAddSlashes(json_encode($save_data)) . '\');'; $success = $GLOBALS['dbi']->query($query); diff --git a/db_export.php b/db_export.php index 67871bd654..1657a87bf8 100644 --- a/db_export.php +++ b/db_export.php @@ -44,7 +44,8 @@ if (isset($_GET['structure_or_data_forced'])) { } else { $force_val = 0; } -$multi_values .= ''; +$multi_values .= ''; $multi_values .= '' . '' . '' @@ -53,8 +54,10 @@ $multi_values .= '
' . __('Tables') . '
' . '' . '' . '' - . '' - . '' + . '' + . '' . '' . ''; $multi_values .= "\n"; @@ -103,10 +106,13 @@ foreach ($tables as $each_table) { $multi_values .= ''; $multi_values .= ''; - $multi_values .= ''; - $multi_values .= ''; - $multi_values .= ''; $multi_values .= ''; } // end for diff --git a/db_operations.php b/db_operations.php index 12b2e1d5d3..487a4a9700 100644 --- a/db_operations.php +++ b/db_operations.php @@ -270,7 +270,10 @@ if (!$is_information_schema) { && $cfg['PmaNoRelation_DisableWarning'] == false ) { $message = PMA_Message::notice( - __('The phpMyAdmin configuration storage has been deactivated. %sFind out why%s.') + __( + 'The phpMyAdmin configuration storage has been deactivated. ' . + '%sFind out why%s.' + ) ); $message->addParam( '
' . __('Select all') . '' + . '' + . '
' . str_replace(' ', ' ', $table_html) . ''; + $multi_values .= '' + . '