Add configuration of tracking features (bug #2966752).

This commit is contained in:
Michal Čihař
2010-04-02 09:59:37 +02:00
parent d77b51803a
commit a31e60356a
3 changed files with 18 additions and 0 deletions

View File

@@ -45,5 +45,6 @@ $form_display->registerForm('Server', $id);
$form_display->registerForm('Server_login_options', $id); $form_display->registerForm('Server_login_options', $id);
$form_display->registerForm('Server_config', $id); $form_display->registerForm('Server_config', $id);
$form_display->registerForm('Server_pmadb', $id); $form_display->registerForm('Server_pmadb', $id);
$form_display->registerForm('Server_tracking', $id);
process_formset($form_display); process_formset($form_display);
?> ?>

View File

@@ -64,6 +64,13 @@ $forms['Server_pmadb'] = array('Servers' => array(1 => array(
'history' => 'pma_history', 'history' => 'pma_history',
'tracking' => 'pma_tracking', 'tracking' => 'pma_tracking',
'designer_coords' => 'pma_designer_coords'))); 'designer_coords' => 'pma_designer_coords')));
$forms['Server_tracking'] = array('Servers' => array(1 => array(
'tracking_version_auto_create',
'tracking_default_statements',
'tracking_add_drop_view',
'tracking_add_drop_table',
'tracking_add_drop_database',
)));
$forms['Import_export'] = array( $forms['Import_export'] = array(
'UploadDir', 'UploadDir',
'SaveDir', 'SaveDir',

View File

@@ -298,6 +298,16 @@ $strSetupServers_ShowDatabasesCommand_name = __('SHOW DATABASES command');
$strSetupServers_SignonSession_desc = __('See [a@http://wiki.phpmyadmin.net/pma/auth_types#signon]authentication types[/a] for an example'); $strSetupServers_SignonSession_desc = __('See [a@http://wiki.phpmyadmin.net/pma/auth_types#signon]authentication types[/a] for an example');
$strSetupServers_SignonSession_name = __('Signon session name'); $strSetupServers_SignonSession_name = __('Signon session name');
$strSetupServers_SignonURL_name = __('Signon URL'); $strSetupServers_SignonURL_name = __('Signon URL');
$strSetupServers_tracking_version_auto_create_desc = __('Whether the tracking mechanism creates versions for tables and views automatically.');
$strSetupServers_tracking_version_auto_create_name = __('Automatically create versions');
$strSetupServers_tracking_default_statements_desc = __('Defines the list of statements the auto-creation uses for new versions.');
$strSetupServers_tracking_default_statements_name = __('Statements to track');
$strSetupServers_tracking_add_drop_view_desc = __('Whether a DROP VIEW IF EXISTS statement will be added as first line to the log when creating a view.');
$strSetupServers_tracking_add_drop_view_name = __('Add DROP VIEW');
$strSetupServers_tracking_add_drop_table_desc = __('Whether a DROP TABLE IF EXISTS statement will be added as first line to the log when creating a table.');
$strSetupServers_tracking_add_drop_table_name = __('Add DROP TABLE');
$strSetupServers_tracking_add_drop_database_desc = __('Whether a DROP DATABASE IF EXISTS statement will be added as first line to the log when creating a database.');
$strSetupServers_tracking_add_drop_database_name = __('Add DROP DATABASE');
$strSetupServerSslMsg = __('You should use SSL connections if your web server supports it'); $strSetupServerSslMsg = __('You should use SSL connections if your web server supports it');
$strSetupServers_socket_desc = __('Socket on which MySQL server is listening, leave empty for default'); $strSetupServers_socket_desc = __('Socket on which MySQL server is listening, leave empty for default');
$strSetupServers_socket_name = __('Server socket'); $strSetupServers_socket_name = __('Server socket');