[!!!][TASK] Rewrite install tool
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Resources / Private / Templates / Action / Step / DatabaseSelect.html
1 {namespace i=TYPO3\CMS\Install\ViewHelpers}
2
3 <f:layout name="Step" />
4
5 <f:section name="Content">
6 <h3>Select database</h3>
7
8 You have two options:
9
10 <form method="post" id="stepInstaller-databaseSelect">
11 <f:render partial="Action/Common/HiddenFormFields" arguments="{_all}" />
12 <input type="hidden" value="execute" name="install[set]" />
13
14 <fieldset>
15 <ul>
16 <li>
17 <input
18 id="t3-install-form-db-select-type-new"
19 type="radio"
20 name="install[values][type]"
21 value="new"
22 checked="checked"
23 class="radio"
24 />
25 <div>
26 <label for="t3-install-step-database-new">Create a new database (recommended):</label>
27 <p>Enter a name for your TYPO3 database.</p>
28 <input
29 id="t3-install-step-database-new"
30 class="t3-install-form-input-text"
31 type="text"
32 name="install[values][new]"
33 checked="checked"
34 onfocus="document.getElementById('t3-install-form-db-select-type-new').checked=true;"
35 />
36 </div>
37 </li>
38
39 <li>
40 <input
41 id="t3-install-form-db-select-type-existing"
42 type="radio"
43 name="install[values][type]"
44 value="existing"
45 class="radio"
46 />
47 <div>
48 <label for="t3-install-step-database-existing">Select an EMPTY existing database:</label>
49 <p>Any tables used by TYPO3 will be overwritten.</p>
50 <select
51 id="t3-install-step-database-existing"
52 name="install[values][existing]"
53 onfocus="document.getElementById('t3-install-form-db-select-type-existing').checked=true;"
54 >
55 <option value="">Select database</option>
56 <f:for each="{databaseList}" as="database">
57 <option value="{database}">{database}</option>
58 </f:for>
59 </select>
60 </div>
61 </li>
62 </ul>
63 </fieldset>
64
65 <button type="submit">
66 Continue
67 <span class="t3-install-form-button-icon-positive">&nbsp;</span>
68 </button>
69 </form>
70 </f:section>