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
path: root/setup
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2012-04-25 22:09:04 +0400
committerMadhura Jayaratne <madhura.cj@gmail.com>2012-04-25 22:09:04 +0400
commit4ff76ff31c08d3a92cc6e08f84794fe9603141f4 (patch)
tree78c324d497d5224f35e5f44c74d78af365082cf4 /setup
parentd6e05d74b5c312c65e20f1a1ac3e5cc9320fd630 (diff)
Coding style improvements (Inline control structures are discouraged)
Diffstat (limited to 'setup')
-rw-r--r--setup/frames/index.inc.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/setup/frames/index.inc.php b/setup/frames/index.inc.php
index c5d4f8359c..f4116969a6 100644
--- a/setup/frames/index.inc.php
+++ b/setup/frames/index.inc.php
@@ -128,7 +128,7 @@ display_form_top(
);
?>
<div class="form">
-<?php if ($cf->getServerCount() > 0): ?>
+<?php if ($cf->getServerCount() > 0) { ?>
<table cellspacing="0" class="datatable" style="table-layout: fixed">
<tr>
<th>#</th>
@@ -136,7 +136,7 @@ display_form_top(
<th><?php echo __('Authentication type') ?></th>
<th colspan="2">DSN</th>
</tr>
-<?php foreach ($cf->getServers() as $id => $server): ?>
+<?php foreach ($cf->getServers() as $id => $server) { ?>
<tr>
<td><?php echo $id ?></td>
<td><?php echo htmlspecialchars($cf->getServerName($id)) ?></td>
@@ -149,9 +149,9 @@ display_form_top(
</small>
</td>
</tr>
-<?php endforeach; ?>
+<?php } ?>
</table>
-<?php else: ?>
+<?php } ?>
<table width="100%">
<tr>
<td>