[TASK] Amend Installer text
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Resources / Private / Templates / Installer / ShowDatabaseConnect.html
1 <div style="display: none;">
2 <div id="t3js-installer-databaseConnect-execute-token">{executeDatabaseConnectToken}</div>
3 </div>
4
5 <h3>Select database</h3>
6 <f:if condition="{hasAtLeastOneOption}">
7 <f:then>
8 <p>
9 You will need to create a database user with the appropriate privileges to access your database.
10 </p>
11 <div class="t3js-installer-databaseConnect-output"></div>
12 <div class="row">
13 <div class="col-md-6">
14 <form method="post" class="form-horizontal">
15 <div class="form-group">
16 <label for="t3js-connect-database-driver" class="control-label col-md-2">Connection</label>
17 <div class="col-md-10">
18 <select id="t3js-connect-database-driver" class="form-control" name="install[values][availableSet]">
19 <f:if condition="{hasMysqliManualConfiguration}">
20 <option
21 value="mysqliManualConfiguration"
22 {f:if(condition:'{activeAvailableOption} == mysqliManualConfiguration', then: 'selected="selected"')}
23 >
24 Manually configured MySQL TCP/IP connection
25 </option>
26 </f:if>
27 <f:if condition="{hasMysqliSocketManualConfiguration}">
28 <option
29 value="mysqliSocketManualConfiguration"
30 {f:if(condition:'{activeAvailableOption} == mysqliSocketManualConfiguration', then: 'selected="selected"')}
31 >
32 Manually configured MySQL socket connection
33 </option>
34 </f:if>
35 <f:if condition="{hasPostgresManualConfiguration}">
36 <option
37 value="postgresManualConfiguration"
38 {f:if(condition:'{activeAvailableOption} == postgresManualConfiguration', then: 'selected="selected"')}
39 >
40 Manually configured PostgreSQL connection
41 </option>
42 </f:if>
43 <f:if condition="{hasConfigurationFromEnvironment}">
44 <option
45 value="configurationFromEnvironment"
46 {f:if(condition:'{activeAvailableOption} == configurationFromEnvironment', then: 'selected="selected"')}
47 >
48 Configuration from environment variables
49 </option>
50 </f:if>
51 </select>
52 </div>
53 </div>
54
55 <f:if condition="{hasMysqliManualConfiguration}">
56 <div id="mysqliManualConfiguration" class="t3-install-driver-data">
57 <input type="hidden" value="mysqli" name="install[values][driver]"/>
58 <div class="form-group">
59 <label for="t3-install-step-mysqliManualConfiguration-username" class="control-label col-md-2">
60 Username
61 </label>
62 <div class="col-md-10">
63 <input
64 id="t3-install-step-mysqliManualConfiguration-username"
65 class="form-control"
66 type="text"
67 value="{mysqliManualConfigurationOptions.username}"
68 name="install[values][username]"
69 autocomplete="off"
70 />
71 </div>
72 </div>
73 <div class="form-group">
74 <label for="t3-install-step-mysqliManualConfiguration-password" class="control-label col-md-2">
75 Password
76 </label>
77 <div class="col-md-10">
78 <input
79 id="t3-install-step-mysqliManualConfiguration-password"
80 class="form-control"
81 type="password"
82 value="{mysqliManualConfigurationOptions.password}"
83 name="install[values][password]"
84 autocomplete="off"
85 />
86 </div>
87 </div>
88 <div class="form-group">
89 <label for="t3-install-step-mysqliManualConfiguration-host" class="control-label col-md-2">
90 Host
91 </label>
92 <div class="col-md-10">
93 <input
94 id="t3-install-step-mysqliManualConfiguration-host"
95 class="t3-install-form-input-text form-control"
96 type="text"
97 value="{mysqliManualConfigurationOptions.host}"
98 name="install[values][host]"
99 />
100 </div>
101 </div>
102 <div class="form-group">
103 <label for="t3-install-step-mysqliManualConfiguration-port" class="control-label col-md-2">
104 Port
105 </label>
106 <div class="col-md-10">
107 <input
108 id="t3-install-step-mysqliManualConfiguration-port"
109 class="t3-install-form-input-text form-control"
110 type="text"
111 value="{mysqliManualConfigurationOptions.port}"
112 name="install[values][port]"
113 />
114 </div>
115 </div>
116 </div>
117 </f:if>
118
119 <f:if condition="{hasMysqliSocketManualConfiguration}">
120 <div id="mysqliSocketManualConfiguration" class="t3-install-driver-data">
121 <input type="hidden" value="mysqli" name="install[values][driver]"/>
122 <div class="form-group">
123 <label for="t3-install-step-mysqliSocketManualConfiguration-username" class="control-label col-md-2">
124 Username
125 </label>
126 <div class="col-md-10">
127 <input
128 id="t3-install-step-mysqliSocketManualConfiguration-username"
129 class="form-control"
130 type="text"
131 value="{mysqliSocketManualConfigurationOptions.username}"
132 name="install[values][username]"
133 autocomplete="off"
134 />
135 </div>
136 </div>
137 <div class="form-group">
138 <label for="t3-install-step-mysqliSocketManualConfiguration-password" class="control-label col-md-2">
139 Password
140 </label>
141 <div class="col-md-10">
142 <input
143 id="t3-install-step-mysqliSocketManualConfiguration-password"
144 class="form-control"
145 type="password"
146 value="{mysqliSocketManualConfigurationOptions.password}"
147 name="install[values][password]"
148 autocomplete="off"
149 />
150 </div>
151 </div>
152 <input type="hidden" value="localhost" name="install[values][host]"/>
153 <div class="form-group">
154 <label for="t3-install-step-mysqliSocketManualConfiguration-socket" class="control-label col-md-2">
155 Socket
156 </label>
157 <div class="col-md-10">
158 <input
159 id="t3-install-step-mysqliSocketManualConfiguration-socket"
160 class="t3-install-form-input-text form-control"
161 type="text"
162 value="{mysqliSocketManualConfigurationOptions.socket}"
163 name="install[values][socket]"
164 placeholder="Default socket or enter name"
165 />
166 </div>
167 </div>
168 </div>
169 </f:if>
170
171 <f:if condition="{hasPostgresManualConfiguration}">
172 <div id="postgresManualConfiguration" class="t3-install-driver-data">
173 <input type="hidden" value="pdo_pgsql" name="install[values][driver]"/>
174 <div class="form-group">
175 <label for="t3-install-step-postgresManualConfiguration-username" class="control-label col-md-2">
176 Username
177 </label>
178 <div class="col-md-10">
179 <input
180 id="t3-install-step-postgresManualConfiguration-username"
181 class="form-control"
182 type="text"
183 value="{postgresManualConfigurationOptions.username}"
184 name="install[values][username]"
185 autocomplete="off"
186 />
187 </div>
188 </div>
189 <div class="form-group">
190 <label for="t3-install-step-postgresManualConfiguration-password" class="control-label col-md-2">
191 Password
192 </label>
193 <div class="col-md-10">
194 <input
195 id="t3-install-step-postgresManualConfiguration-password"
196 class="form-control"
197 type="password"
198 value="{postgresManualConfigurationOptions.password}"
199 name="install[values][password]"
200 autocomplete="off"
201 />
202 </div>
203 </div>
204 <div class="form-group">
205 <label for="t3-install-step-postgresManualConfiguration-database" class="control-label col-md-2">
206 Database
207 </label>
208 <div class="col-md-10">
209 <input
210 id="t3-install-step-postgresManualConfiguration-database"
211 class="t3-install-form-input-text form-control"
212 type="text"
213 value="{postgresManualConfigurationOptions.database}"
214 name="install[values][database]"
215 />
216 </div>
217 </div>
218 <div class="form-group">
219 <label for="t3-install-step-postgresManualConfiguration-host" class="control-label col-md-2">
220 Host
221 </label>
222 <div class="col-md-10">
223 <input
224 id="t3-install-step-postgresManualConfiguration-host"
225 class="t3-install-form-input-text form-control"
226 type="text"
227 value="{postgresManualConfigurationOptions.host}"
228 name="install[values][host]"
229 />
230 </div>
231 </div>
232 <div class="form-group">
233 <label for="t3-install-step-postgresManualConfiguration-port" class="control-label col-md-2">
234 Port
235 </label>
236 <div class="col-md-10">
237 <input
238 id="t3-install-step-postgresManualConfiguration-port"
239 class="t3-install-form-input-text form-control"
240 type="text"
241 value="{postgresManualConfigurationOptions.port}"
242 name="install[values][port]"
243 />
244 </div>
245 </div>
246 </div>
247 </f:if>
248
249 <f:if condition="{hasConfigurationFromEnvironment}">
250 <div id="configurationFromEnvironment" class="t3-install-driver-data">
251 </div>
252 </f:if>
253
254 <hr/>
255 <button class="btn btn-success t3js-installer-databaseConnect-execute">
256 Continue
257 </button>
258 </form>
259 </div>
260 </div>
261 </f:then>
262
263 <f:else>
264 <div class="t3js-message typo3-message alert alert-danger" role="alert">
265 <h4>No database driver found</h4>
266 <p class="messageText">You have no database driver installed or enabled. Please install a driver in order to complete the database connection.</p>
267 </div>
268 </f:else>
269 </f:if>