104 lines
2.9 KiB
PHP
104 lines
2.9 KiB
PHP
<?php
|
|
/**
|
|
* List of avaible forms, each form is described as an array of fields to display.
|
|
* Fields MUST have their counterparts in the $cfg array.
|
|
*
|
|
* To define form field, use the notatnion below:
|
|
* $forms['Form group']['Form name'] = array('Servers/1/host');
|
|
*
|
|
* You can assign default values set by special button ("set value: ..."), eg.:
|
|
* $forms['Server_pmadb'] = array('Servers' => array(1 => array(
|
|
* 'pmadb' => 'phpmyadmin')));
|
|
*
|
|
* @package phpMyAdmin
|
|
*/
|
|
|
|
$forms = array();
|
|
$forms['Features']['General'] = array(
|
|
'NaturalOrder',
|
|
'InitialSlidersState',
|
|
'ErrorIconic',
|
|
'ReplaceHelpImg');
|
|
$forms['Features']['Text_fields'] = array(
|
|
'CharEditing',
|
|
'CharTextareaCols',
|
|
'CharTextareaRows',
|
|
'TextareaCols',
|
|
'TextareaRows',
|
|
'LongtextDoubleTextarea');
|
|
$forms['Sql_queries']['Sql_queries'] = array(
|
|
'ShowSQL',
|
|
'Confirm',
|
|
'IgnoreMultiSubmitErrors',
|
|
'VerboseMultiSubmit',
|
|
'MaxCharactersInDisplayedSQL',
|
|
'EditInWindow',
|
|
//'QueryWindowWidth', // overridden in theme
|
|
//'QueryWindowHeight',
|
|
'QueryWindowDefTab');
|
|
$forms['Sql_queries']['Sql_box'] = array(
|
|
'SQLQuery/Edit',
|
|
'SQLQuery/Explain',
|
|
'SQLQuery/ShowAsPHP',
|
|
'SQLQuery/Validate',// [false or no override]
|
|
'SQLQuery/Refresh');
|
|
$forms['Features']['Page_titles'] = array(
|
|
'TitleDefault',
|
|
'TitleTable',
|
|
'TitleDatabase',
|
|
'TitleServer');
|
|
$forms['Left_frame']['Left_frame'] = array(
|
|
'LeftFrameLight',
|
|
'LeftDisplayLogo',
|
|
'LeftLogoLink',
|
|
'LeftLogoLinkWindow',
|
|
'LeftPointerEnable');
|
|
$forms['Left_frame']['Left_servers'] = array(
|
|
'LeftDisplayServers',
|
|
'DisplayServersList');
|
|
$forms['Left_frame']['Left_databases'] = array(
|
|
'DisplayDatabasesList',
|
|
'LeftFrameDBTree',
|
|
'LeftFrameDBSeparator',
|
|
'LeftFrameTableLevel',
|
|
'ShowTooltipAliasDB');
|
|
$forms['Left_frame']['Left_tables'] = array(
|
|
'LeftDefaultTabTable',
|
|
'LeftFrameTableSeparator',
|
|
'LeftFrameTableLevel',
|
|
'ShowTooltip',
|
|
'ShowTooltipAliasTB');
|
|
$forms['Main_frame']['Startup'] = array(
|
|
'MainPageIconic',
|
|
'SuggestDBName');
|
|
$forms['Main_frame']['Browse'] = array(
|
|
'NavigationBarIconic',
|
|
'ShowAll',
|
|
'MaxRows',
|
|
'Order',
|
|
'DisplayBinaryAsHex',
|
|
'BrowsePointerEnable',
|
|
'BrowseMarkerEnable',
|
|
'RepeatCells',
|
|
'LimitChars',
|
|
'ModifyDeleteAtLeft',
|
|
'ModifyDeleteAtRight',
|
|
'DefaultDisplay');
|
|
$forms['Main_frame']['Edit'] = array(
|
|
'ProtectBinary',
|
|
'ShowFunctionFields',
|
|
'ShowFieldTypesInDataEditView',
|
|
'InsertRows',
|
|
'ForeignKeyDropdownOrder',// [s, ? custom text value]
|
|
'ForeignKeyMaxLimit',
|
|
'CtrlArrowsMoving',
|
|
'DefaultPropDisplay');
|
|
$forms['Main_frame']['Tabs'] = array(
|
|
'LightTabs',
|
|
'PropertiesIconic',
|
|
'DefaultTabServer',
|
|
'DefaultTabDatabase',
|
|
'DefaultTabTable');
|
|
$forms['Import']['Import_defaults'] = array();
|
|
$forms['Export']['Export_defaults'] = array();
|
|
?>
|