Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2012-04-13 19:27:17 +0400
committerMadhura Jayaratne <madhura.cj@gmail.com>2012-04-13 19:27:17 +0400
commitfa9aaea8c0f409cfd6f131de6b808de1a4851008 (patch)
treea3de6420ca4aea5471e57a05680c4b3bdfc0e76f /server_engines.php
parentdac767f3c43abf00b3aa95c7c281b74229c4a97d (diff)
Coding style improvements
Diffstat (limited to 'server_engines.php')
-rw-r--r--server_engines.php18
1 files changed, 10 insertions, 8 deletions
diff --git a/server_engines.php b/server_engines.php
index 19e484a0bb..1c26dc6942 100644
--- a/server_engines.php
+++ b/server_engines.php
@@ -27,7 +27,8 @@ require 'libraries/server_links.inc.php';
* Did the user request information about a certain storage engine?
*/
if (empty($_REQUEST['engine'])
- || ! PMA_StorageEngine::isValid($_REQUEST['engine'])) {
+ || ! PMA_StorageEngine::isValid($_REQUEST['engine'])
+) {
/**
* Displays the sub-page heading
@@ -70,7 +71,7 @@ if (empty($_REQUEST['engine'])
$odd_row = !$odd_row;
}
- unset($odd_row, $engine, $details);
+ unset($odd_row, $engine, $details);
echo '</tbody>' . "\n"
. '</table>' . "\n";
@@ -92,15 +93,15 @@ if (empty($_REQUEST['engine'])
. ' </em>' . "\n"
. '</p>' . "\n\n";
$infoPages = $engine_plugin->getInfoPages();
- if (!empty($infoPages) && is_array($infoPages)) {
+ if (! empty($infoPages) && is_array($infoPages)) {
echo '<p>' . "\n"
. ' <strong>[</strong>' . "\n";
if (empty($_REQUEST['page'])) {
echo ' <strong>' . __('Variables') . '</strong>' . "\n";
} else {
echo ' <a href="server_engines.php'
- . PMA_generate_common_url(array('engine' => $_REQUEST['engine'])) . '">'
- . __('Variables') . '</a>' . "\n";
+ . PMA_generate_common_url(array('engine' => $_REQUEST['engine']))
+ . '">' . __('Variables') . '</a>' . "\n";
}
foreach ($infoPages as $current => $label) {
echo ' <strong>|</strong>' . "\n";
@@ -109,7 +110,8 @@ if (empty($_REQUEST['engine'])
} else {
echo ' <a href="server_engines.php'
. PMA_generate_common_url(
- array('engine' => $_REQUEST['engine'], 'page' => $current))
+ array('engine' => $_REQUEST['engine'], 'page' => $current)
+ )
. '">' . htmlspecialchars($label) . '</a>' . "\n";
}
}
@@ -118,10 +120,10 @@ if (empty($_REQUEST['engine'])
. '</p>' . "\n\n";
}
unset($infoPages, $page_output);
- if (!empty($_REQUEST['page'])) {
+ if (! empty($_REQUEST['page'])) {
$page_output = $engine_plugin->getPage($_REQUEST['page']);
}
- if (!empty($page_output)) {
+ if (! empty($page_output)) {
echo $page_output;
} else {
echo '<p> ' . $engine_plugin->getSupportInformationMessage() . "\n"