0) { $lnk3 = 'db_details_export.php'; $arg3 = $url_query; $lnk4 = 'db_search.php'; $arg4 = $url_query; } else { $lnk3 = ''; $arg3 = ''; $lnk4 = ''; $arg4 = ''; } // Drop link if allowed if (!$cfg['AllowUserDropDatabase']) { // Check if the user is a Superuser $cfg['AllowUserDropDatabase'] = PMA_DBI_select_db('mysql'); PMA_DBI_select_db($db); } // rabus: Don't even try to drop information_schema. You won't be able to. // Believe me. You won't. $cfg['AllowUserDropDatabase'] = $cfg['AllowUserDropDatabase'] && !(PMA_MYSQL_INT_VERSION >= 50000 && $db == 'information_schema'); if ($cfg['AllowUserDropDatabase']) { $lnk5 = 'sql.php'; $arg5 = $url_query . '&sql_query=' . urlencode('DROP DATABASE ' . PMA_backquote($db)) . '&zero_rows=' . urlencode(sprintf($strDatabaseHasBeenDropped, htmlspecialchars(PMA_backquote($db)))) . '&goto=main.php&back=db_details' . $sub_part . '.php&reload=1&purge=1'; $att5 = 'onclick="return confirmLinkDropDB(this, \'DROP DATABASE ' . PMA_jsFormat($db) . '\')"'; $class5 = 'Drop'; } else { $lnk5 = ''; $class5 = 'Drop'; } /** * Displays tab links */ if ($cfg['LightTabs']) { echo ' '; } else { echo '' . "\n" . ' ' . "\n" . ' ' . "\n" . ' ' . "\n" . '
'; } else { echo '
'; } /** * Settings for relations stuff */ require_once('./libraries/relation.lib.php'); $cfgRelation = PMA_getRelationsParam(); // Get additional information about tables for tooltip is done in db_details_db_info.php only once if ($cfgRelation['commwork']) { $comment = PMA_getComments($db); /** * Displays table comment */ if (is_array($comment)) { ?>