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@suse.cz>2012-05-29 19:29:14 +0400
committerMichal Čihař <mcihar@suse.cz>2012-05-29 19:31:06 +0400
commit33bfd831ce1386212ff741f76f79be5ca63640a6 (patch)
treef90a5a72db3e405dcdc4047ed05297e768205f88 /tbl_printview.php
parent2cd51494d17f9128091f4eb7804b4e44749f7e12 (diff)
Wrap some long lines
Diffstat (limited to 'tbl_printview.php')
-rw-r--r--tbl_printview.php17
1 files changed, 12 insertions, 5 deletions
diff --git a/tbl_printview.php b/tbl_printview.php
index a147257e4a..8671b6764f 100644
--- a/tbl_printview.php
+++ b/tbl_printview.php
@@ -69,7 +69,8 @@ if ($multi_tables) {
$tbl_list .= (empty($tbl_list) ? '' : ', ')
. PMA_backquote($table);
}
- echo '<strong>'. __('Showing tables') . ': ' . htmlspecialchars($tbl_list) . '</strong>' . "\n";
+ echo '<strong>'. __('Showing tables') . ': '
+ . htmlspecialchars($tbl_list) . '</strong>' . "\n";
echo '<hr />' . "\n";
} // end if
@@ -122,7 +123,8 @@ foreach ($the_tables as $key => $table) {
* Displays the comments of the table if MySQL >= 3.23
*/
if (!empty($show_comment)) {
- echo __('Table comments') . ': ' . htmlspecialchars($show_comment) . '<br /><br />';
+ echo __('Table comments') . ': '
+ . htmlspecialchars($show_comment) . '<br /><br />';
}
/**
@@ -174,7 +176,10 @@ foreach ($the_tables as $key => $table) {
* but based on SHOW CREATE TABLE because information_schema
* cannot be trusted in this case (MySQL bug)
*/
- if (!empty($analyzed_sql[0]['create_table_fields'][$field_name]['type']) && $analyzed_sql[0]['create_table_fields'][$field_name]['type'] == 'TIMESTAMP' && $analyzed_sql[0]['create_table_fields'][$field_name]['timestamp_not_null']) {
+ if (!empty($analyzed_sql[0]['create_table_fields'][$field_name]['type'])
+ && $analyzed_sql[0]['create_table_fields'][$field_name]['type'] == 'TIMESTAMP'
+ && $analyzed_sql[0]['create_table_fields'][$field_name]['timestamp_not_null']
+ ) {
$row['Null'] = '';
}
@@ -192,10 +197,12 @@ foreach ($the_tables as $key => $table) {
echo (($row['Null'] == '' || $row['Null'] == 'NO')
? __('No')
: __('Yes')); ?>&nbsp;</td>
- <td><?php
+ <td>
+ <?php
if (isset($row['Default'])) {
echo $row['Default'];
- } ?>&nbsp;</td>
+ }
+ ?>&nbsp;</td>
<?php
if ($have_rel) {
echo ' <td>';