-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathstatistics.html.twig
More file actions
43 lines (37 loc) · 1.65 KB
/
Copy pathstatistics.html.twig
File metadata and controls
43 lines (37 loc) · 1.65 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
{% extends '@forum/layout.html.twig' %}
{% block content %}
{% include '@forum/admin/menu.html.twig' %}
{{ fireHook('view.admin.statistics.start') }}
<div class="block">
<h2><span>{{ trans('Server statistics head') }}</span></h2>
<div id="adstats" class="box">
<div class="inbox">
<dl>
<dt>{{ trans('Server load label') }}</dt>
<dd>
{{ trans(['Server load data', server_load, num_online]) }}
</dd>
{% if isAdmin() %}
<dt>{{ trans('Environment label') }}</dt>
<dd>
{{ trans(['Environment data OS', php_os]) }}<br />
{{ trans(['Environment data version', php_version, '<a href="' ~pathFor('phpInfo') ~'">' ~trans('Show info') ~'</a>']) }}<br />
{{ trans(['Environment data acc', php_accelerator]) }}
</dd>
<dt>{{ trans('Database label') }}</dt>
<dd>
{% if total_records is not empty and total_size is not empty %}
{{ trans(['Database data rows', formatNumber(total_records)]) }}
<br />
{{ trans(['Database data size', total_size]) }}
{% endif %}
</dd>
{% endif %}
</dl>
</div>
</div>
</div>
<div class="clearer"></div>
</div>
{{ fireHook('view.admin.statistics.end') }}
{% endblock content %}