}
// Export as file download
if (isset($_REQUEST['report_export']) && $_REQUEST['export_type'] == 'sqldumpfile') {
    PMA_exportAsFileDownload($entries);
}
$html = '<br />';
/**
 * Actions
 */
// Create tracking version
if (isset($_REQUEST['submit_create_version'])) {
    PMA_createTrackingVersion();
}
// Deactivate tracking
if (isset($_REQUEST['submit_deactivate_now'])) {
    PMA_deactivateTracking();
}
// Activate tracking
if (isset($_REQUEST['submit_activate_now'])) {
    PMA_activateTracking();
}
// Export as SQL execution
if (isset($_REQUEST['report_export']) && $_REQUEST['export_type'] == 'execution') {
    $sql_result = PMA_exportAsSQLExecution($entries);
}
// Export as SQL dump
if (isset($_REQUEST['report_export']) && $_REQUEST['export_type'] == 'sqldump') {
    PMA_exportAsSQLDump($entries);
}
/*
 * Schema snapshot
Exemple #2
0
            $html .= PMA_Message::success(__('Tracking versions deleted successfully.'))->getDisplay();
        }
    } else {
        $html .= PMA_Message::notice(__('No versions selected.'))->getDisplay();
    }
}
if (isset($_REQUEST['submit_delete_version'])) {
    $html .= PMA_deleteTrackingVersion($_REQUEST['version']);
}
// Create tracking version
if (isset($_REQUEST['submit_create_version'])) {
    $html .= PMA_createTrackingVersion();
}
// Deactivate tracking
if (isset($_REQUEST['toggle_activation']) && $_REQUEST['toggle_activation'] == 'deactivate_now') {
    $html .= PMA_deactivateTracking();
}
// Activate tracking
if (isset($_REQUEST['toggle_activation']) && $_REQUEST['toggle_activation'] == 'activate_now') {
    $html .= PMA_activateTracking();
}
// Export as SQL execution
if (isset($_REQUEST['report_export']) && $_REQUEST['export_type'] == 'execution') {
    $sql_result = PMA_exportAsSQLExecution($entries);
    $msg = PMA_Message::success(__('SQL statements executed.'));
    $html .= $msg->getDisplay();
}
// Export as SQL dump
if (isset($_REQUEST['report_export']) && $_REQUEST['export_type'] == 'sqldump') {
    $html .= PMA_exportAsSQLDump($entries);
}