1 {namespace i=TYPO3\CMS\Install\ViewHelpers}
3 <f:layout name=
"Step" />
5 <f:section name=
"Content">
6 <f:render partial=
"Action/Step/StepCounter.html" arguments=
"{steps: steps, currentStep: currentStep}" />
8 <h3>Select database
</h3>
10 <f:if condition=
"{errors -> f:count()}">
11 <f:for each=
"{errors}" as=
"error">
12 <div class=
"alert alert-danger">
19 <f:if condition=
"{isInitialInstallationInProgress}">
25 <form method=
"post" id=
"stepInstaller-databaseSelect">
26 <f:render partial=
"Action/Common/HiddenFormFields" arguments=
"{_all}" />
27 <input type=
"hidden" value=
"execute" name=
"install[set]" />
31 <div class=
"col-md-6">
33 <f:if condition=
"{isInitialInstallationInProgress}">
40 <label for=
"t3-install-form-db-select-type-existing">
41 <input id=
"t3-install-form-db-select-type-existing" type=
"radio" name=
"install[values][type]" value=
"existing" class=
"radio" checked=
"checked" />
42 Use an existing empty database:
45 <div class=
"form-group">
47 id=
"t3-install-step-database-existing"
48 name=
"install[values][existing]"
50 onfocus=
"document.getElementById('t3-install-form-db-select-type-existing').checked=true;"
52 <option value=
"">-- Select database --
</option>
53 <f:for each=
"{databaseList}" as=
"database">
54 <f:if condition=
"{database.tables}">
56 <option value=
"{database.name}" disabled=
"disabled">{database.name} ({database.tables} Tables)
</option>
59 <option value=
"{database.name}">{database.name}
</option>
66 <label for=
"t3-install-step-database-new">
68 id=
"t3-install-form-db-select-type-new"
70 name=
"install[values][type]"
74 OR create a new database:
</label>
76 <div class=
"form-group">
78 <em>Attention: The database user must have sufficient privileges to create the whole structure.
</em>
80 Enter a name for your TYPO3 database.
83 id=
"t3-install-step-database-new"
84 class=
"t3-install-form-input-text form-control"
86 name=
"install[values][new]"
88 onfocus=
"document.getElementById('t3-install-form-db-select-type-new').checked=true;"
98 id=
"t3-install-form-db-select-type-existing"
100 name=
"install[values][type]"
104 <label for=
"t3-install-step-database-existing">Select an existing database:
</label>
105 <p>The database will not be altered in any way.
</p>
107 id=
"t3-install-step-database-existing"
108 name=
"install[values][existing]"
109 onfocus=
"document.getElementById('t3-install-form-db-select-type-existing').checked=true;"
111 <option value=
"">Select database
</option>
112 <f:for each=
"{databaseList}" as=
"database">
113 <option value=
"{database}">{database}
</option>
120 <div class=
"form-group">
121 <button class=
"btn btn-success" type=
"submit">