Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.tpl « templates « SecurityInfo « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f40b86f1b7d637637749a829864efaaceddacee0 (plain)
1
2
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
{include file="CoreAdminHome/templates/header.tpl"}
{loadJavascriptTranslations plugins='SecurityInfo'}

<h2>{'SecurityInfo_SecurityInformation'|translate}</h2>
<p>{'SecurityInfo_PluginDescription'|translate}</p>
<p>Learn more: read our guide <a target='_blank' href='http://piwik.org/security/how-to-secure-piwik/'>Hardening Piwik: How to make Piwik and your web server
        more secure?</a></p>
<div style="max-width:980px;">
    {foreach from=$results.test_results key=i item=section}
        <h2>{$i}</h2>
        <table class="dataTable entityTable">
            <thead>
            <tr>
                <th>{'SecurityInfo_Test'|translate}</th>
                <th>{'SecurityInfo_Result'|translate}</th>
            </tr>
            </thead>
            <tbody>
            {foreach from=$section key=j item=test}
                <tr>
                    <td>{$j}</td>
                    <td style="{if $test.result==-1}background-color:green;color:white;{elseif $test.result==-2}background-color:yellow;color:black;{else if $test.result=--4}background-color:red;color:white;{/if}">{$test.message}</td>
                </tr>
            {/foreach}
            </tbody>
        </table>
    {/foreach}
</div>

{include file="CoreAdminHome/templates/footer.tpl"}