From 6335b10574c1ea2ac6ffb9d687b2d576e7d7271a Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Wed, 8 Jan 2014 14:35:15 +0530 Subject: [PATCH] Fix coding style Signed-off-by: Madhura Jayaratne --- db_structure.php | 2 +- db_tracking.php | 2 +- gis_data_editor.php | 2 +- import.php | 2 +- index.php | 4 +- libraries/DatabaseInterface.class.php | 4 +- libraries/DisplayResults.class.php | 26 +++++----- libraries/Footer.class.php | 2 +- libraries/StorageEngine.class.php | 2 +- libraries/Table.class.php | 2 +- libraries/TableSearch.class.php | 8 +-- libraries/Tracker.class.php | 2 +- libraries/Util.class.php | 34 ++++++------ libraries/create_addfield.lib.php | 2 +- libraries/error_report.lib.php | 32 ++++++------ libraries/import.lib.php | 4 +- libraries/sql.lib.php | 4 +- libraries/sql_query_form.lib.php | 52 +++++++++---------- libraries/sqlparser.lib.php | 2 +- libraries/structure.lib.php | 40 +++++++------- libraries/tbl_columns_definition_form.lib.php | 4 +- libraries/tbl_printview.lib.php | 8 +-- 22 files changed, 120 insertions(+), 120 deletions(-) diff --git a/db_structure.php b/db_structure.php index eba2b5e1e7..e848ad641e 100644 --- a/db_structure.php +++ b/db_structure.php @@ -28,7 +28,7 @@ if ((!empty($_POST['submit_mult']) && isset($_POST['selected_tbl'])) || isset($_POST['mult_btn']) ) { $action = 'db_structure.php'; - $err_url = 'db_structure.php?'. PMA_URL_getCommon($db); + $err_url = 'db_structure.php?' . PMA_URL_getCommon($db); // see bug #2794840; in this case, code path is: // db_structure.php -> libraries/mult_submits.inc.php -> sql.php diff --git a/db_tracking.php b/db_tracking.php index 2615315594..98512651f7 100644 --- a/db_tracking.php +++ b/db_tracking.php @@ -218,7 +218,7 @@ if (isset($my_tables)) { foreach ($my_tables as $key => $tablename) { if (PMA_Tracker::getVersion($GLOBALS['db'], $tablename) == -1) { $my_link = ''; + . '&table=' . htmlspecialchars($tablename) . '">'; $my_link .= PMA_Util::getIcon('eye.png', __('Track table')); $my_link .= ''; ?> diff --git a/gis_data_editor.php b/gis_data_editor.php index 844a8a064c..17d0eac747 100644 --- a/gis_data_editor.php +++ b/gis_data_editor.php @@ -240,7 +240,7 @@ for ($a = 0; $a < $geom_count; $a++) { echo ''; echo ''; + . ' value="' . escape($gis_data[$a][$type][$i]['y']) . '" />'; } echo ' 0 || count($cfg['Servers']) > 1 echo '
' . "\n" . PMA_URL_getHiddenInputs(null, null, 4, 'collation_connection') . '