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:
authorMichal Čihař <mcihar@novell.com>2011-06-06 13:55:09 +0400
committerMichal Čihař <mcihar@novell.com>2011-06-06 13:55:09 +0400
commit3cf4830bbb94ce8fe7078f4a3f4fbac1c6253a8c (patch)
tree0584a0070c168ee3c9b44bca92f86dcbd4542091 /tbl_relation.php
parent8b0fc6073a71097852e1330508cc20e8995ff5ae (diff)
Replace TRUE/FALSE with true/false.
At least this seems to be the coding standard, so make all files compliant.
Diffstat (limited to 'tbl_relation.php')
-rw-r--r--tbl_relation.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/tbl_relation.php b/tbl_relation.php
index 90bd153db0..6d82cc31f8 100644
--- a/tbl_relation.php
+++ b/tbl_relation.php
@@ -31,7 +31,7 @@ require_once './libraries/tbl_info.inc.php';
// Note: in libraries/tbl_links.inc.php we get and display the table comment.
// For InnoDB, this comment contains the REFER information but any update
// has not been done yet (will be done in tbl_relation.php later).
-$avoid_show_comment = TRUE;
+$avoid_show_comment = true;
/**
* Displays top menu links
@@ -269,7 +269,7 @@ if (isset($_REQUEST['destination_foreign'])) {
}
if (substr($tmp_error, 1, 4) == '1216'
|| substr($tmp_error, 1, 4) == '1452') {
- PMA_mysqlDie($tmp_error, $sql_query, FALSE, '', FALSE);
+ PMA_mysqlDie($tmp_error, $sql_query, false, '', false);
echo PMA_showMySQLDocu('manual_Table_types', 'InnoDB_foreign_key_constraints') . "\n";
}
if (substr($tmp_error, 1, 4) == '1005') {
@@ -436,15 +436,15 @@ if ($col_rs && PMA_DBI_num_rows($col_rs) > 0) {
. $existrel[$myfield]['foreign_table'] . '.'
. $existrel[$myfield]['foreign_field'];
} else {
- $foreign_field = FALSE;
+ $foreign_field = false;
}
- $seen_key = FALSE;
+ $seen_key = false;
foreach ($selectboxall as $value) {
echo ' '
. '<option value="' . htmlspecialchars($value) . '"';
if ($foreign_field && $value == $foreign_field) {
echo ' selected="selected"';
- $seen_key = TRUE;
+ $seen_key = true;
}
echo '>' . htmlspecialchars($value) . '</option>'. "\n";
} // end while
@@ -478,16 +478,16 @@ if ($col_rs && PMA_DBI_num_rows($col_rs) > 0) {
. PMA_backquote($existrel_foreign[$myfield]['foreign_table']) . '.'
. PMA_backquote($existrel_foreign[$myfield]['foreign_field']);
} else {
- $foreign_field = FALSE;
+ $foreign_field = false;
}
- $found_foreign_field = FALSE;
+ $found_foreign_field = false;
foreach ($selectboxall_foreign as $value) {
echo ' '
. '<option value="' . htmlspecialchars($value) . '"';
if ($foreign_field && $value == $foreign_field) {
echo ' selected="selected"';
- $found_foreign_field = TRUE;
+ $found_foreign_field = true;
}
echo '>' . htmlspecialchars($value) . '</option>'. "\n";
} // end while