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:
authorSebastian Mendel <cybot_tm@users.sourceforge.net>2006-01-17 20:03:02 +0300
committerSebastian Mendel <cybot_tm@users.sourceforge.net>2006-01-17 20:03:02 +0300
commit0ae88423531ccc5bb7cd0f4e5940e8af36c1be73 (patch)
treed48f6497226527bc9483d6f6eac4eb6ce8a98b42 /server_binlog.php
parent9518c45bdf71d208dd49a503ce0143a8a0f27cc0 (diff)
(not complete) PEAR coding standard
Diffstat (limited to 'server_binlog.php')
-rw-r--r--server_binlog.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/server_binlog.php b/server_binlog.php
index e525206519..43f26280a7 100644
--- a/server_binlog.php
+++ b/server_binlog.php
@@ -24,7 +24,9 @@ echo '<h2>' . "\n"
. ' ' . $strBinaryLog . "\n"
. '</h2>' . "\n";
-if (!isset($log)) $log = '';
+if (!isset($log)) {
+ $log = '';
+}
/**
* Display log selector.
@@ -35,7 +37,7 @@ if (count($binary_logs) > 1) {
echo '<fieldset><legend>';
echo $strSelectBinaryLog;
echo '</legend><select name="log">';
- foreach($binary_logs as $name) {
+ foreach ($binary_logs as $name) {
echo '<option value="' . $name . '"' . ($name == $log ? ' selected="selected"' : '') . '>' . $name . '</option>';
}
echo '</select>';
@@ -48,7 +50,9 @@ if (count($binary_logs) > 1) {
$sql_query = 'SHOW BINLOG EVENTS';
-if (!empty($log)) $sql_query .= ' IN \'' . $log . '\'';
+if (!empty($log)) {
+ $sql_query .= ' IN \'' . $log . '\'';
+}
/**
* Sends the query and buffers the result