[SECURITY] Prevent possible XSS in Fluid templates
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Resources / Private / Partials / Action / Tool / ImportantActions / SystemInformation.html
1 {namespace i=TYPO3\CMS\Install\ViewHelpers}
2
3 <h3>Main system information</h3>
4 <table class="table table-striped table-bordered">
5 <tr>
6 <td>Operating system:</td>
7 <td><strong>{operatingSystem}</strong></td>
8 </tr>
9 <tr>
10 <td>PHP version:</td>
11 <td><strong><i:constant name="PHP_VERSION" /></strong></td>
12 </tr>
13 <tr>
14 <td>PHP CGI detected:</td>
15 <td><strong>{f:if(condition:cgiDetected, then:'Yes', else:'No')}</strong></td>
16 </tr>
17 <f:if condition="{connections -> f:count()} > 1">
18 <tr>
19 <td>Number of database connections:</td>
20 <td><strong>{connections -> f:count()}</strong></td>
21 </tr>
22 </f:if>
23 <f:for each="{connections}" as="connection">
24 <tr>
25 <td>Database connection <strong>'{connection.connectionName}'</strong></td>
26 <td>
27 <ul>
28 <li><strong>Database name:</strong> {connection.databaseName}</li>
29 <li><strong>Username:</strong> {connection.username}</li>
30 <li><strong>Host:</strong> {connection.host}</li>
31 <f:if condition="{connection.port}">
32 <f:then>
33 <li><strong>Port:</strong> {connection.port}</li>
34 </f:then>
35 <f:else>
36 <li>
37 <strong>Socket:</strong>
38 {f:if(condition:connection.socket, then: '{connection.socket}', else:'<em>PHP default</em>')}
39 </li>
40 </f:else>
41 </f:if>
42 <li><strong>Version:</strong> {connection.version}</li>
43 <li><strong>Tables:</strong> {connection.numberOfTables}</li>
44 <f:if condition="{connection.numberOfMappedTables}">
45 <f:then>
46 <li><strong>Mapped tables:</strong> {connection.numberOfMappedTables}</li>
47 </f:then>
48 </f:if>
49 </ul>
50 </td>
51 </tr>
52 </f:for>
53 </table>