diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-03-28 03:42:39 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-03-28 03:42:40 +0400 |
commit | ae4b03163792f0b6e933933e5d37df87dc3fd566 (patch) | |
tree | d1d7510a9728f587d3d63ebd03e4ecf3d904838b /plugins/SecurityInfo/templates | |
parent | 158c2150f5f2e13ece459b8d131244c11b763997 (diff) |
Mass conversion of all files to the newly agreed coding standard: PSR 1/2
Converting Piwik core source files, PHP, JS, TPL, CSS
More info: http://piwik.org/participate/coding-standards/
Diffstat (limited to 'plugins/SecurityInfo/templates')
-rw-r--r-- | plugins/SecurityInfo/templates/index.tpl | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/plugins/SecurityInfo/templates/index.tpl b/plugins/SecurityInfo/templates/index.tpl index ac9f8c9254..f40b86f1b7 100644 --- a/plugins/SecurityInfo/templates/index.tpl +++ b/plugins/SecurityInfo/templates/index.tpl @@ -3,27 +3,28 @@ <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> +<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} + {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"}
\ No newline at end of file |