ShowDatabaseConnect.html 10.8 KB
Newer Older
1
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
2
<div class="t3js-module-content" data-installer-database-connect-execute-token="{executeDatabaseConnectToken}">
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
	<div class="typo3-install-content-body">
		<h2>Select database</h2>
		<f:if condition="{hasAtLeastOneOption}">
			<f:then>
				<p>
					You will need to create a database user with the appropriate privileges to access your database.
				</p>
				<div class="typo3-install-content-spacer"></div>
				<div class="t3js-installer-databaseConnect-output"></div>
				<div class="typo3-install-content-spacer"></div>
				<div class="row">
					<div class="col-md-12">
						<form method="post" class="form-horizontal">
							<div class="form-group">
								<label for="t3js-connect-database-driver" class="control-label col-md-2">Connection</label>
								<div class="col-md-10">
									<select id="t3js-connect-database-driver" class="form-control" name="install[values][availableSet]">
										<f:if condition="{hasMysqliManualConfiguration}">
											<option
												value="mysqliManualConfiguration"
												{f:if(condition:'{activeAvailableOption} == mysqliManualConfiguration', then: 'selected="selected"')}
											>
											Manually configured MySQL TCP/IP connection
											</option>
										</f:if>
										<f:if condition="{hasMysqliSocketManualConfiguration}">
											<option
												value="mysqliSocketManualConfiguration"
												{f:if(condition:'{activeAvailableOption} == mysqliSocketManualConfiguration', then: 'selected="selected"')}
											>
											Manually configured MySQL socket connection
											</option>
										</f:if>
										<f:if condition="{hasPostgresManualConfiguration}">
											<option
												value="postgresManualConfiguration"
												{f:if(condition:'{activeAvailableOption} == postgresManualConfiguration', then: 'selected="selected"')}
											>
											Manually configured PostgreSQL connection
											</option>
										</f:if>
										<f:if condition="{hasSqliteManualConfiguration}">
											<option
												value="sqliteManualConfiguration"
												{f:if(condition:'{activeAvailableOption} == sqliteManualConfiguration', then: 'selected="selected"')}
											>
											Manually configured SQLite connection
											</option>
										</f:if>
										<f:if condition="{hasConfigurationFromEnvironment}">
											<option
												value="configurationFromEnvironment"
												{f:if(condition:'{activeAvailableOption} == configurationFromEnvironment', then: 'selected="selected"')}
											>
											Configuration from environment variables
											</option>
										</f:if>
									</select>
								</div>
62
							</div>
63

64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
							<f:if condition="{hasMysqliManualConfiguration}">
								<div id="mysqliManualConfiguration" class="t3-install-driver-data">
									<input type="hidden" value="mysqli" name="install[values][driver]"/>
									<div class="form-group">
										<label for="t3-install-step-mysqliManualConfiguration-username" class="control-label col-md-2">
											Username
										</label>
										<div class="col-md-10">
											<input
												id="t3-install-step-mysqliManualConfiguration-username"
												class="form-control"
												type="text"
												value="{mysqliManualConfigurationOptions.username}"
												name="install[values][username]"
												autocomplete="off"
											/>
										</div>
81
									</div>
82
83
84
85
86
87
88
89
90
91
92
93
94
95
									<div class="form-group">
										<label for="t3-install-step-mysqliManualConfiguration-password" class="control-label col-md-2">
											Password
										</label>
										<div class="col-md-10">
											<input
												id="t3-install-step-mysqliManualConfiguration-password"
												class="form-control"
												type="password"
												value="{mysqliManualConfigurationOptions.password}"
												name="install[values][password]"
												autocomplete="off"
											/>
										</div>
96
									</div>
97
98
99
100
101
102
103
104
105
106
107
108
109
									<div class="form-group">
										<label for="t3-install-step-mysqliManualConfiguration-host" class="control-label col-md-2">
											Host
										</label>
										<div class="col-md-10">
											<input
												id="t3-install-step-mysqliManualConfiguration-host"
												class="t3-install-form-input-text form-control"
												type="text"
												value="{mysqliManualConfigurationOptions.host}"
												name="install[values][host]"
											/>
										</div>
110
									</div>
111
112
113
114
115
116
117
118
119
120
121
122
123
									<div class="form-group">
										<label for="t3-install-step-mysqliManualConfiguration-port" class="control-label col-md-2">
											Port
										</label>
										<div class="col-md-10">
											<input
												id="t3-install-step-mysqliManualConfiguration-port"
												class="t3-install-form-input-text form-control"
												type="text"
												value="{mysqliManualConfigurationOptions.port}"
												name="install[values][port]"
											/>
										</div>
124
									</div>
125
								</div>
126
							</f:if>
127

128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
							<f:if condition="{hasMysqliSocketManualConfiguration}">
								<div id="mysqliSocketManualConfiguration" class="t3-install-driver-data">
									<input type="hidden" value="mysqli" name="install[values][driver]"/>
									<div class="form-group">
										<label for="t3-install-step-mysqliSocketManualConfiguration-username" class="control-label col-md-2">
											Username
										</label>
										<div class="col-md-10">
											<input
												id="t3-install-step-mysqliSocketManualConfiguration-username"
												class="form-control"
												type="text"
												value="{mysqliSocketManualConfigurationOptions.username}"
												name="install[values][username]"
												autocomplete="off"
											/>
										</div>
145
									</div>
146
147
148
149
150
151
152
153
154
155
156
157
158
159
									<div class="form-group">
										<label for="t3-install-step-mysqliSocketManualConfiguration-password" class="control-label col-md-2">
											Password
										</label>
										<div class="col-md-10">
											<input
												id="t3-install-step-mysqliSocketManualConfiguration-password"
												class="form-control"
												type="password"
												value="{mysqliSocketManualConfigurationOptions.password}"
												name="install[values][password]"
												autocomplete="off"
											/>
										</div>
160
									</div>
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
									<input type="hidden" value="localhost" name="install[values][host]"/>
									<div class="form-group">
										<label for="t3-install-step-mysqliSocketManualConfiguration-socket" class="control-label col-md-2">
											Socket
										</label>
										<div class="col-md-10">
											<input
												id="t3-install-step-mysqliSocketManualConfiguration-socket"
												class="t3-install-form-input-text form-control"
												type="text"
												value="{mysqliSocketManualConfigurationOptions.socket}"
												name="install[values][socket]"
												placeholder="Default socket or enter name"
											/>
										</div>
176
									</div>
177
								</div>
178
							</f:if>
179

180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
							<f:if condition="{hasPostgresManualConfiguration}">
								<div id="postgresManualConfiguration" class="t3-install-driver-data">
									<input type="hidden" value="pdo_pgsql" name="install[values][driver]"/>
									<div class="form-group">
										<label for="t3-install-step-postgresManualConfiguration-username" class="control-label col-md-2">
											Username
										</label>
										<div class="col-md-10">
											<input
												id="t3-install-step-postgresManualConfiguration-username"
												class="form-control"
												type="text"
												value="{postgresManualConfigurationOptions.username}"
												name="install[values][username]"
												autocomplete="off"
											/>
										</div>
197
									</div>
198
199
200
201
202
203
204
205
206
207
208
209
210
211
									<div class="form-group">
										<label for="t3-install-step-postgresManualConfiguration-password" class="control-label col-md-2">
											Password
										</label>
										<div class="col-md-10">
											<input
												id="t3-install-step-postgresManualConfiguration-password"
												class="form-control"
												type="password"
												value="{postgresManualConfigurationOptions.password}"
												name="install[values][password]"
												autocomplete="off"
											/>
										</div>
212
									</div>
213
214
215
216
217
218
219
220
221
222
223
224
225
									<div class="form-group">
										<label for="t3-install-step-postgresManualConfiguration-database" class="control-label col-md-2">
											Database
										</label>
										<div class="col-md-10">
											<input
												id="t3-install-step-postgresManualConfiguration-database"
												class="t3-install-form-input-text form-control"
												type="text"
												value="{postgresManualConfigurationOptions.database}"
												name="install[values][database]"
											/>
										</div>
226
									</div>
227
228
229
230
231
232
233
234
235
236
237
238
239
									<div class="form-group">
										<label for="t3-install-step-postgresManualConfiguration-host" class="control-label col-md-2">
											Host
										</label>
										<div class="col-md-10">
											<input
												id="t3-install-step-postgresManualConfiguration-host"
												class="t3-install-form-input-text form-control"
												type="text"
												value="{postgresManualConfigurationOptions.host}"
												name="install[values][host]"
											/>
										</div>
240
									</div>
241
242
243
244
245
246
247
248
249
250
251
252
253
									<div class="form-group">
										<label for="t3-install-step-postgresManualConfiguration-port" class="control-label col-md-2">
											Port
										</label>
										<div class="col-md-10">
											<input
												id="t3-install-step-postgresManualConfiguration-port"
												class="t3-install-form-input-text form-control"
												type="text"
												value="{postgresManualConfigurationOptions.port}"
												name="install[values][port]"
											/>
										</div>
254
									</div>
255
								</div>
256
							</f:if>
257

258
259
260
261
262
							<f:if condition="{hasSqliteManualConfiguration}">
								<div id="sqliteManualConfiguration" class="t3-install-driver-data">
									<input type="hidden" value="pdo_sqlite" name="install[values][driver]"/>
								</div>
							</f:if>
263

264
265
266
267
							<f:if condition="{hasConfigurationFromEnvironment}">
								<div id="configurationFromEnvironment" class="t3-install-driver-data">
								</div>
							</f:if>
268

269
270
271
272
273
								<button class="btn btn-success pull-right t3js-installer-databaseConnect-execute">
									Continue
								</button>
						</form>
					</div>
274
				</div>
275
			</f:then>
276

277
278
279
280
281
282
283
284
			<f:else>
				<div class="t3js-message typo3-message alert alert-danger" role="alert">
					<h4>No database driver found</h4>
					<p class="messageText">You have no database driver installed or enabled. Please install a driver in order to complete the database connection.</p>
				</div>
			</f:else>
		</f:if>
	</div>
285
</div>
286
</html>