coding standards
This commit is contained in:
@@ -524,7 +524,7 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
|
|||||||
// or the host field, then generate a name for the server
|
// or the host field, then generate a name for the server
|
||||||
// in the form of "Server 2", localized of course!
|
// in the form of "Server 2", localized of course!
|
||||||
if ( ($val['connect_type'] == 'socket') && empty($val['host']) && empty($val['verbose']) ) {
|
if ( ($val['connect_type'] == 'socket') && empty($val['host']) && empty($val['verbose']) ) {
|
||||||
$cfg['Servers'][$key]['verbose'] = sprintf($GLOBALS['strServer'],$key);
|
$cfg['Servers'][$key]['verbose'] = sprintf($GLOBALS['strServer'], $key);
|
||||||
$val['verbose'] = sprintf($GLOBALS['strServer'],$key);
|
$val['verbose'] = sprintf($GLOBALS['strServer'],$key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -197,7 +197,7 @@ $fields_cnt = mysql_num_rows($table_def);
|
|||||||
|
|
||||||
// Set a flag here because the 'if' would not be valid in the loop
|
// Set a flag here because the 'if' would not be valid in the loop
|
||||||
// if we set a value in some field
|
// if we set a value in some field
|
||||||
$insert_mode = (!isset($row) ? TRUE:FALSE);
|
$insert_mode = (!isset($row) ? TRUE : FALSE);
|
||||||
|
|
||||||
for ($i = 0; $i < $fields_cnt; $i++) {
|
for ($i = 0; $i < $fields_cnt; $i++) {
|
||||||
// Display the submit button after every 15 lines --swix
|
// Display the submit button after every 15 lines --swix
|
||||||
@@ -416,7 +416,7 @@ for ($i = 0; $i < $fields_cnt; $i++) {
|
|||||||
. ' FROM ' . PMA_backquote($foreign_db) . '.' . PMA_backquote($foreign_table);
|
. ' FROM ' . PMA_backquote($foreign_db) . '.' . PMA_backquote($foreign_table);
|
||||||
$disp = PMA_mysql_query($dispsql);
|
$disp = PMA_mysql_query($dispsql);
|
||||||
}
|
}
|
||||||
}
|
} // end if $foreigners
|
||||||
|
|
||||||
if (isset($disp) && $disp) {
|
if (isset($disp) && $disp) {
|
||||||
echo ' <td bgcolor="' . $bgcolor . '">' . "\n";
|
echo ' <td bgcolor="' . $bgcolor . '">' . "\n";
|
||||||
|
Reference in New Issue
Block a user