diff --git a/.gsoc/todo.txt b/.gsoc/todo.txt index 1da79aa5e..4736039f2 100644 --- a/.gsoc/todo.txt +++ b/.gsoc/todo.txt @@ -1,6 +1,2 @@ -cache'ing of user preferences to avoid round trips to server on each page refresh - -backlog: -- Import and Export options - restore cache'ing in phpmyadmin.css.php +make CSS for darkblue_orange diff --git a/libraries/config/FormDisplay.tpl.php b/libraries/config/FormDisplay.tpl.php index efdb22433..b8188201c 100644 --- a/libraries/config/FormDisplay.tpl.php +++ b/libraries/config/FormDisplay.tpl.php @@ -137,7 +137,7 @@ function display_input($path, $name, $description = '', $type, $value, $value_is $tr_class = $_FormDisplayGroup ? ' class="group-field"' : ''; if (isset($opts['setvalue']) && $opts['setvalue'] == ':group') { unset($opts['setvalue']); - $tr_class = ' class="group-header"'; + $tr_class = ' class="group-header-field"'; if ($_FormDisplayGroup) { display_group_footer(); } diff --git a/libraries/config/messages.inc.php b/libraries/config/messages.inc.php index cb033a0dc..73ca52174 100644 --- a/libraries/config/messages.inc.php +++ b/libraries/config/messages.inc.php @@ -161,9 +161,11 @@ $strSetupForm_Csv = __('CSV'); $strSetupForm_Csv_desc = __('Customize default options'); $strSetupForm_Edit = __('Edit mode'); $strSetupForm_Edit_desc = __('Customize edit mode'); +$strSetupForm_Export = __('Export'); $strSetupForm_Export_defaults = __('Export defaults'); $strSetupForm_Export_defaults_desc = __('Customize default export options'); $strSetupForm_General = __('General settings'); +$strSetupForm_Import = __('Import'); $strSetupForm_Import_defaults = __('Import defaults'); $strSetupForm_Import_defaults_desc = __('Customize default common import options'); $strSetupForm_Import_export = __('Import / export'); @@ -213,7 +215,7 @@ $strSetupForm_Sql_box = __('SQL Query box'); $strSetupForm_Sql_box_desc = __('Customize links shown in SQL Query boxes'); $strSetupForm_Sql_desc = __('Customize default options'); $strSetupForm_Sql_queries = __('SQL queries'); -$strSetupForm_Sql_queries_desc = __('SQL queries settings, for SQL Query box options see [a@?page=form&formset=Main_frame#tab_Sql_box]Navigation frame[/a] settings'); +$strSetupForm_Sql_queries_desc = __('SQL queries settings'); $strSetupForm_Startup = __('Startup'); $strSetupForm_Startup_desc = __('Customize startup page'); $strSetupForm_Tabs = __('Tabs'); diff --git a/libraries/config/setup.forms.php b/libraries/config/setup.forms.php index 377f82839..f07463cae 100644 --- a/libraries/config/setup.forms.php +++ b/libraries/config/setup.forms.php @@ -94,18 +94,6 @@ $forms['Features']['Security'] = array( 'LoginCookieValidity', 'LoginCookieStore', 'LoginCookieDeleteAll'); -$forms['Features']['Sql_queries'] = array( - 'ShowSQL', - 'Confirm', - 'QueryHistoryDB', - 'QueryHistoryMax', - 'IgnoreMultiSubmitErrors', - 'VerboseMultiSubmit', - 'MaxCharactersInDisplayedSQL', - 'EditInWindow', - //'QueryWindowWidth', // overridden in theme - //'QueryWindowHeight', - 'QueryWindowDefTab'); $forms['Features']['Page_titles'] = array( 'TitleDefault', 'TitleTable', @@ -125,6 +113,24 @@ $forms['Features']['Other_core_settings'] = array( 'MemoryLimit', 'SkipLockedTables', 'UseDbSearch'); +$forms['Sql_queries']['Sql_queries'] = array( + 'ShowSQL', + 'Confirm', + 'QueryHistoryDB', + 'QueryHistoryMax', + 'IgnoreMultiSubmitErrors', + 'VerboseMultiSubmit', + 'MaxCharactersInDisplayedSQL', + 'EditInWindow', + //'QueryWindowWidth', // overridden in theme + //'QueryWindowHeight', + 'QueryWindowDefTab'); +$forms['Sql_queries']['Sql_box'] = array('SQLQuery' => array( + 'Edit', + 'Explain', + 'ShowAsPHP', + 'Validate', + 'Refresh')); $forms['Left_frame']['Left_frame'] = array( 'LeftFrameLight', 'LeftDisplayLogo', @@ -145,7 +151,7 @@ $forms['Left_frame']['Left_tables'] = array( 'LeftFrameTableLevel', 'ShowTooltip', 'ShowTooltipAliasTB'); -$forms['Startup'] = array( +$forms['Main_frame']['Startup'] = array( 'MainPageIconic', 'ShowStats', 'ShowPhpInfo', @@ -186,12 +192,6 @@ $forms['Main_frame']['Tabs'] = array( 'DefaultTabDatabase', 'DefaultTabTable', 'QueryWindowDefTab'); -$forms['Main_frame']['Sql_box'] = array('SQLQuery' => array( - 'Edit', - 'Explain', - 'ShowAsPHP', - 'Validate', - 'Refresh')); $forms['Import']['Import_defaults'] = array('Import' => array( 'format', 'allow_interrupt', diff --git a/libraries/config/user_preferences.forms.php b/libraries/config/user_preferences.forms.php index e28cf09b9..4ce0195fa 100644 --- a/libraries/config/user_preferences.forms.php +++ b/libraries/config/user_preferences.forms.php @@ -39,7 +39,7 @@ $forms['Sql_queries']['Sql_box'] = array( 'SQLQuery/Edit', 'SQLQuery/Explain', 'SQLQuery/ShowAsPHP', - 'SQLQuery/Validate',// [false or no override] +// 'SQLQuery/Validate',// [false or no override] 'SQLQuery/Refresh'); $forms['Features']['Page_titles'] = array( 'TitleDefault', diff --git a/setup/frames/menu.inc.php b/setup/frames/menu.inc.php index 262812118..b4c016a9c 100644 --- a/setup/frames/menu.inc.php +++ b/setup/frames/menu.inc.php @@ -16,6 +16,7 @@ $separator = PMA_get_arg_separator('html');