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-22 19:58:41 +0400
committerMadhura Jayaratne <madhura.cj@gmail.com>2012-04-22 19:58:41 +0400
commit4b8d52d937d396301c17472874cb645e92258df3 (patch)
treefcde2fe963c87d5e8059029212583cac220f41d1 /navigation.php
parent67134da3d01ff2f2469d79223d0d22a4515d3227 (diff)
Fix CheckStyle warnings, Type:CloseBracketNewLine (Closing parenthesis of a multi-line IF statement must be on a new line)
Diffstat (limited to 'navigation.php')
-rw-r--r--navigation.php11
1 files changed, 8 insertions, 3 deletions
diff --git a/navigation.php b/navigation.php
index 91442afd5a..e8c7a61404 100644
--- a/navigation.php
+++ b/navigation.php
@@ -239,7 +239,8 @@ if ($GLOBALS['cfg']['LeftFrameLight'] && strlen($GLOBALS['db'])) {
$db_tooltip = '';
if ($GLOBALS['cfg']['ShowTooltip']
- && $GLOBALS['cfgRelation']['commwork']) {
+ && $GLOBALS['cfgRelation']['commwork']
+ ) {
$_db_tooltip = PMA_getDbComment($GLOBALS['db']);
if ($_db_tooltip) {
$db_tooltip = $_db_tooltip;
@@ -348,7 +349,9 @@ function PMA_displayDbList($ext_dblist, $offset, $count)
$element_counter++;
echo '<li class="dbgroup">';
if ((! empty($_REQUEST['dbgroup']) && $_REQUEST['dbgroup'] == $group)
- || $db_start == $group || strpos($db_start, $group) === 0) {
+ || $db_start == $group
+ || strpos($db_start, $group) === 0
+ ) {
// display + only if this db(group) is not preselected
printf($href_left, $element_counter, PMA_generate_common_url());
printf($img_minus, $element_counter);
@@ -358,7 +361,9 @@ function PMA_displayDbList($ext_dblist, $offset, $count)
}
echo '</a> ' . $group . "\n";
if ((! empty($_REQUEST['dbgroup']) && $_REQUEST['dbgroup'] == $group)
- || $db_start == $group || strpos($db_start, $group) === 0) {
+ || $db_start == $group
+ || strpos($db_start, $group) === 0
+ ) {
echo '<ul id="subel' . $element_counter . '">' . "\n";
} else {
echo '<ul id="subel' . $element_counter . '"'