Merge branch 'QA_3_3'
[phpmyadmin/dkf.git] / setup / lib / forms.inc.php
blobea0c87edc0778b5ed9eb78913e0e09bc806eb053
1 <?php
2 /**
3 * List of avaible forms, each form is described as an array of fields to display.
4 * Fields MUST have their counterparts in the $cfg array.
6 * There are two possible notations:
7 * $forms['Form name'] = array('Servers' => array(1 => array('host')));
8 * can be written as
9 * $forms['Form name'] = array('Servers/1/host');
11 * You can assign default values set by special button ("set value: ..."), eg.:
12 * $forms['Server_pmadb'] = array('Servers' => array(1 => array(
13 * 'pmadb' => 'phpmyadmin')));
15 * @package phpMyAdmin-setup
16 * @license http://www.gnu.org/licenses/gpl.html GNU GPL 2.0
17 * @version $Id$
20 $forms = array();
21 $forms['_config.php'] = array(
22 'DefaultLang',
23 'ServerDefault');
24 $forms['Server'] = array('Servers' => array(1 => array(
25 'verbose',
26 'host',
27 'port',
28 'socket',
29 'ssl',
30 'connect_type',
31 'extension',
32 'compress',
33 'auth_type',
34 'auth_http_realm',
35 'user',
36 'password',
37 'nopassword',
38 'auth_swekey_config' => './swekey.conf')));
39 $forms['Server_login_options'] = array('Servers' => array(1 => array(
40 'SignonSession',
41 'SignonURL',
42 'LogoutURL')));
43 $forms['Server_config'] = array('Servers' => array(1 => array(
44 'only_db',
45 'hide_db',
46 'AllowRoot',
47 'AllowNoPassword',
48 'DisableIS',
49 'AllowDeny/order',
50 'AllowDeny/rules',
51 'ShowDatabasesCommand',
52 'CountTables')));
53 $forms['Server_pmadb'] = array('Servers' => array(1 => array(
54 'pmadb' => 'phpmyadmin',
55 'controluser',
56 'controlpass',
57 'verbose_check',
58 'bookmarktable' => 'pma_bookmark',
59 'relation' => 'pma_relation',
60 'table_info' => 'pma_table_info',
61 'table_coords' => 'pma_table_coords',
62 'pdf_pages' => 'pma_pdf_pages',
63 'column_info' => 'pma_column_info',
64 'history' => 'pma_history',
65 'tracking' => 'pma_tracking',
66 'designer_coords' => 'pma_designer_coords')));
67 $forms['Server_tracking'] = array('Servers' => array(1 => array(
68 'tracking_version_auto_create',
69 'tracking_default_statements',
70 'tracking_add_drop_view',
71 'tracking_add_drop_table',
72 'tracking_add_drop_database',
73 )));
74 $forms['Import_export'] = array(
75 'UploadDir',
76 'SaveDir',
77 'AllowAnywhereRecoding',
78 'DefaultCharset',
79 'RecodingEngine',
80 'IconvExtraParams',
81 'ZipDump',
82 'GZipDump',
83 'BZipDump',
84 'CompressOnFly');
85 $forms['Security'] = array(
86 'blowfish_secret',
87 'ForceSSL',
88 'CheckConfigurationPermissions',
89 'TrustedProxies',
90 'AllowUserDropDatabase',
91 'AllowArbitraryServer',
92 'LoginCookieRecall',
93 'LoginCookieValidity',
94 'LoginCookieStore',
95 'LoginCookieDeleteAll');
96 $forms['Sql_queries'] = array(
97 'ShowSQL',
98 'Confirm',
99 'QueryHistoryDB',
100 'QueryHistoryMax',
101 'IgnoreMultiSubmitErrors',
102 'VerboseMultiSubmit');
103 $forms['Other_core_settings'] = array(
104 'MaxDbList',
105 'MaxTableList',
106 'MaxCharactersInDisplayedSQL',
107 'OBGzip',
108 'PersistentConnections',
109 'ExecTimeLimit',
110 'MemoryLimit',
111 'SkipLockedTables',
112 'UseDbSearch');
113 $forms['Left_frame'] = array(
114 'LeftFrameLight',
115 'LeftDisplayLogo',
116 'LeftLogoLink',
117 'LeftLogoLinkWindow',
118 'LeftDefaultTabTable',
119 'LeftPointerEnable');
120 $forms['Left_servers'] = array(
121 'LeftDisplayServers',
122 'DisplayServersList');
123 $forms['Left_databases'] = array(
124 'DisplayDatabasesList',
125 'LeftFrameDBTree',
126 'LeftFrameDBSeparator',
127 'ShowTooltipAliasDB');
128 $forms['Left_tables'] = array(
129 'LeftFrameTableSeparator',
130 'LeftFrameTableLevel',
131 'ShowTooltip',
132 'ShowTooltipAliasTB');
133 $forms['Startup'] = array(
134 'ShowStats',
135 'ShowPhpInfo',
136 'ShowServerInfo',
137 'ShowChgPassword',
138 'ShowCreateDb',
139 'SuggestDBName');
140 $forms['Browse'] = array(
141 'NavigationBarIconic',
142 'ShowAll',
143 'MaxRows',
144 'Order',
145 'BrowsePointerEnable',
146 'BrowseMarkerEnable');
147 $forms['Edit'] = array(
148 'ProtectBinary',
149 'ShowFunctionFields',
150 'CharEditing',
151 'CharTextareaCols',
152 'CharTextareaRows',
153 'InsertRows',
154 'ForeignKeyDropdownOrder',
155 'ForeignKeyMaxLimit');
156 $forms['Tabs'] = array(
157 'LightTabs',
158 'PropertiesIconic',
159 'DefaultTabServer',
160 'DefaultTabDatabase',
161 'DefaultTabTable',
162 'QueryWindowDefTab');
163 $forms['Sql_box'] = array('SQLQuery' => array(
164 'Edit',
165 'Explain',
166 'ShowAsPHP',
167 'Validate',
168 'Refresh'));
169 $forms['Import_defaults'] = array('Import' => array(
170 'format',
171 'allow_interrupt',
172 'skip_queries'));
173 $forms['Export_defaults'] = array('Export' => array(
174 'format',
175 'compression',
176 'asfile',
177 'charset',
178 'onserver',
179 'onserver_overwrite',
180 'remember_file_template',
181 'file_template_table',
182 'file_template_database',
183 'file_template_server'));