coding standard: no spaces inside braces
This commit is contained in:
@@ -49,7 +49,7 @@ if (($is_superuser || $GLOBALS['cfg']['AllowUserDropDatabase']) && ! $db_is_info
|
||||
/**
|
||||
* export, search and qbe links if there is at least one table
|
||||
*/
|
||||
if ( $num_tables == 0 ) {
|
||||
if ($num_tables == 0) {
|
||||
$tab_qbe['warning'] = $strDbIsEmpty;
|
||||
$tab_search['warning'] = $strDbIsEmpty;
|
||||
$tab_export['warning'] = $strDbIsEmpty;
|
||||
@@ -82,7 +82,7 @@ if ($cfgRelation['designerwork']) {
|
||||
$tab_designer['link'] = 'pmd_general.php';
|
||||
}
|
||||
|
||||
if ( ! $db_is_information_schema ) {
|
||||
if (! $db_is_information_schema) {
|
||||
$tab_import['link'] = 'db_import.php';
|
||||
$tab_import['text'] = $GLOBALS['strImport'];
|
||||
$tab_import['icon'] = 'b_import.png';
|
||||
@@ -92,7 +92,7 @@ if ( ! $db_is_information_schema ) {
|
||||
$tab_operation['link'] = 'db_operations.php';
|
||||
$tab_operation['text'] = $GLOBALS['strOperations'];
|
||||
$tab_operation['icon'] = 'b_tblops.png';
|
||||
if ( $is_superuser ) {
|
||||
if ($is_superuser) {
|
||||
$tab_privileges['link'] = 'server_privileges.php';
|
||||
$tab_privileges['args']['checkprivs'] = $db;
|
||||
// stay on database view
|
||||
@@ -111,22 +111,22 @@ $tabs[] =& $tab_sql;
|
||||
$tabs[] =& $tab_search;
|
||||
$tabs[] =& $tab_qbe;
|
||||
$tabs[] =& $tab_export;
|
||||
if ( ! $db_is_information_schema ) {
|
||||
if (! $db_is_information_schema) {
|
||||
$tabs[] =& $tab_import;
|
||||
if ($cfgRelation['designerwork']) {
|
||||
$tabs[] =& $tab_designer;
|
||||
}
|
||||
$tabs[] =& $tab_operation;
|
||||
if ( $is_superuser ) {
|
||||
if ($is_superuser) {
|
||||
$tabs[] =& $tab_privileges;
|
||||
}
|
||||
if ( $is_superuser || $GLOBALS['cfg']['AllowUserDropDatabase'] ) {
|
||||
if ($is_superuser || $GLOBALS['cfg']['AllowUserDropDatabase']) {
|
||||
$tabs[] =& $tab_drop;
|
||||
}
|
||||
}
|
||||
|
||||
echo PMA_getTabs( $tabs );
|
||||
unset( $tabs );
|
||||
echo PMA_getTabs($tabs);
|
||||
unset($tabs);
|
||||
|
||||
/**
|
||||
* Displays a message
|
||||
|
Reference in New Issue
Block a user