diff --git a/libraries/DbSearch.class.php b/libraries/DbSearch.class.php
index a6d877608e..67bf0c26cc 100644
--- a/libraries/DbSearch.class.php
+++ b/libraries/DbSearch.class.php
@@ -361,7 +361,7 @@ class PMA_DbSearch
. __('Delete') . '';
} else {
$html_output .= '
| '
- .' | ';
+ . ' | ';
}// end if else
$html_output .= '';
return $html_output;
diff --git a/libraries/Index.class.php b/libraries/Index.class.php
index c6fb569831..8973afbc23 100644
--- a/libraries/Index.class.php
+++ b/libraries/Index.class.php
@@ -404,7 +404,7 @@ class PMA_Index
. (($this->_choice == $each_index_choice)
? ' selected="selected"'
: '')
- . '>'. $each_index_choice . '' . "\n";
+ . '>' . $each_index_choice . '' . "\n";
}
return $html_options;
diff --git a/libraries/Theme.class.php b/libraries/Theme.class.php
index a6c8a5f6e7..5457647d95 100644
--- a/libraries/Theme.class.php
+++ b/libraries/Theme.class.php
@@ -381,7 +381,7 @@ class PMA_Theme
public function getPrintPreview()
{
$url_params = array('set_theme' => $this->getId());
- $url = 'index.php'. PMA_URL_getCommon($url_params);
+ $url = 'index.php' . PMA_URL_getCommon($url_params);
$retval = '';
$retval .= '
';
diff --git a/libraries/bookmark.lib.php b/libraries/bookmark.lib.php
index 10adc2e107..6a5de43bcc 100644
--- a/libraries/bookmark.lib.php
+++ b/libraries/bookmark.lib.php
@@ -61,7 +61,7 @@ function PMA_Bookmark_getList($db)
return array();
}
- $query = 'SELECT label, id FROM '. PMA_Util::backquote($cfgBookmark['db'])
+ $query = 'SELECT label, id FROM ' . PMA_Util::backquote($cfgBookmark['db'])
. '.' . PMA_Util::backquote($cfgBookmark['table'])
. ' WHERE dbase = \'' . PMA_Util::sqlAddSlashes($db) . '\''
. ' AND user = \'' . PMA_Util::sqlAddSlashes($cfgBookmark['user']) . '\''
@@ -70,7 +70,7 @@ function PMA_Bookmark_getList($db)
$query, 'id', 'label', $controllink, PMA_DatabaseInterface::QUERY_STORE
);
- $query = 'SELECT label, id FROM '. PMA_Util::backquote($cfgBookmark['db'])
+ $query = 'SELECT label, id FROM ' . PMA_Util::backquote($cfgBookmark['db'])
. '.' . PMA_Util::backquote($cfgBookmark['table'])
. ' WHERE dbase = \'' . PMA_Util::sqlAddSlashes($db) . '\''
. ' AND user = \'\''
diff --git a/libraries/display_create_database.lib.php b/libraries/display_create_database.lib.php
index 425d13c15c..2662719dc9 100644
--- a/libraries/display_create_database.lib.php
+++ b/libraries/display_create_database.lib.php
@@ -28,7 +28,7 @@ if ($is_create_db_priv) {
$html .= '';
$html .= '';
+ . 'required placeholder="' . __('Database name') . '"/>';
include_once './libraries/mysql_charsets.inc.php';
$html .= PMA_generateCharsetDropdownBox(
@@ -44,7 +44,7 @@ if ($is_create_db_priv) {
$html .= '';
}
- $html .= '';
+ $html .= '';
$html .= '';
} else {
$html .= '';
@@ -58,6 +58,6 @@ if ($is_create_db_priv) {
'',
array('hspace' => 2, 'border' => 0, 'align' => 'middle')
)
- . '' . __('No Privileges') .'';
+ . '' . __('No Privileges') . '';
} // end create db form or message
?>
diff --git a/libraries/display_export.lib.php b/libraries/display_export.lib.php
index d3a897a629..49cb47873c 100644
--- a/libraries/display_export.lib.php
+++ b/libraries/display_export.lib.php
@@ -291,7 +291,7 @@ function PMA_getHtmlForExportOptionsFormat($export_list)
__('SQL compatibility mode'), 'mysql', '50027', '14515'
);
global $cfg;
- $html .= '';
+ $html .= '';
$html .= '
';
return $html;
@@ -465,7 +465,7 @@ function PMA_getHtmlForExportOptionsOutputFormat($export_type)
$msg->addParam($trans);
$doc_url = PMA_Util::getDocuLink('faq', 'faq6-27');
$msg->addParam(
- '',
+ '',
false
);
$msg->addParam('', false);
diff --git a/libraries/gis/pma_gis_linestring.php b/libraries/gis/pma_gis_linestring.php
index 306e88bca4..bdb8d33ed3 100644
--- a/libraries/gis/pma_gis_linestring.php
+++ b/libraries/gis/pma_gis_linestring.php
@@ -252,7 +252,7 @@ class PMA_GIS_Linestring extends PMA_GIS_Geometry
? $gis_data[$index]['LINESTRING'][$i]['x'] : $empty)
. ' ' . ((isset($gis_data[$index]['LINESTRING'][$i]['y'])
&& trim($gis_data[$index]['LINESTRING'][$i]['y']) != '')
- ? $gis_data[$index]['LINESTRING'][$i]['y'] : $empty) .',';
+ ? $gis_data[$index]['LINESTRING'][$i]['y'] : $empty) . ',';
}
$wkt = substr($wkt, 0, strlen($wkt) - 1);
$wkt .= ')';
diff --git a/libraries/gis/pma_gis_point.php b/libraries/gis/pma_gis_point.php
index e434e0c26c..0722f7f1a4 100644
--- a/libraries/gis/pma_gis_point.php
+++ b/libraries/gis/pma_gis_point.php
@@ -217,7 +217,7 @@ class PMA_GIS_Point extends PMA_GIS_Geometry
if ($points_arr[0][0] != '' && $points_arr[0][1] != '') {
$result .= 'vectorLayer.addFeatures(new OpenLayers.Feature.Vector('
- . $this->getPointForOpenLayers($points_arr[0], $srid). ', null, '
+ . $this->getPointForOpenLayers($points_arr[0], $srid) . ', null, '
. json_encode($style_options) . '));';
}
return $result;
diff --git a/libraries/gis/pma_gis_visualization.php b/libraries/gis/pma_gis_visualization.php
index 85f0e289bf..20fd75f881 100644
--- a/libraries/gis/pma_gis_visualization.php
+++ b/libraries/gis/pma_gis_visualization.php
@@ -256,7 +256,7 @@ class PMA_GIS_Visualization
// base64 encode
$encoded = base64_encode($output);
- return '
';
+ return '
';
}
/**
diff --git a/libraries/navigation/Nodes/Node_Database.class.php b/libraries/navigation/Nodes/Node_Database.class.php
index 7a445ab693..c791fd740d 100644
--- a/libraries/navigation/Nodes/Node_Database.class.php
+++ b/libraries/navigation/Nodes/Node_Database.class.php
@@ -302,7 +302,7 @@ class Node_Database extends Node
. "." . PMA_Util::backquote($cfgRelation['navigationhiding']);
$sqlQuery = "SELECT COUNT(*) FROM " . $navTable
. " WHERE `username`='"
- . PMA_Util::sqlAddSlashes($GLOBALS['cfg']['Server']['user']) ."'"
+ . PMA_Util::sqlAddSlashes($GLOBALS['cfg']['Server']['user']) . "'"
. " AND `db_name`='" . PMA_Util::sqlAddSlashes($db) . "'";
$count = $GLOBALS['dbi']->fetchValue(
$sqlQuery, 0, 0, $GLOBALS['controllink']
diff --git a/libraries/opendocument.lib.php b/libraries/opendocument.lib.php
index 08ff2b16b7..e127d45c48 100644
--- a/libraries/opendocument.lib.php
+++ b/libraries/opendocument.lib.php
@@ -38,7 +38,7 @@ function PMA_createOpenDocument($mime, $data)
$zipfile -> addFile($mime, 'mimetype');
$zipfile -> addFile($data, 'content.xml');
$zipfile -> addFile(
- ''
+ ''
. ' addFile(
''
- . ''
. ''
. '';
if (count($GLOBALS['cfg']['Servers']) > 1) {
echo '
-
+