Chris@0
|
1 {#
|
Chris@0
|
2 /**
|
Chris@0
|
3 * @file
|
Chris@0
|
4 * Default theme implementation for the status report general info.
|
Chris@0
|
5 *
|
Chris@0
|
6 * Available variables:
|
Chris@0
|
7 * - drupal: The status of Drupal installation:
|
Chris@0
|
8 * - value: The current status of Drupal installation.
|
Chris@0
|
9 * - description: The description for current status of Drupal installation.
|
Chris@0
|
10 * - cron: The status of cron:
|
Chris@0
|
11 * - value: The current status of cron.
|
Chris@0
|
12 * - description: The description for current status of cron.
|
Chris@0
|
13 * - cron.run_cron: An array to render a button for running cron.
|
Chris@0
|
14 * - database_system: The status of database system:
|
Chris@0
|
15 * - value: The current status of database sytem.
|
Chris@0
|
16 * - description: The description for current status of cron.
|
Chris@0
|
17 * - database_system_version: The info about current database version:
|
Chris@0
|
18 * - value: The current version of database.
|
Chris@0
|
19 * - description: The description for current version of database.
|
Chris@0
|
20 * - php: The current version of PHP:
|
Chris@0
|
21 * - value: The status of currently installed PHP version.
|
Chris@0
|
22 * - description: The description for current installed PHP version.
|
Chris@0
|
23 * - php_memory_limit: The info about current PHP memory limit:
|
Chris@0
|
24 * - value: The status of currently set PHP memory limit.
|
Chris@0
|
25 * - description: The description for currently set PHP memory limit.
|
Chris@0
|
26 * - webserver: The info about currently installed web server:
|
Chris@0
|
27 * - value: The status of currently installed web server.
|
Chris@0
|
28 * - description: The description for the status of currently installed web
|
Chris@0
|
29 * server.
|
Chris@0
|
30 */
|
Chris@0
|
31 #}
|
Chris@0
|
32
|
Chris@0
|
33 <h2>{{ 'General System Information'|t }}</h2>
|
Chris@0
|
34 <div class="system-status-general-info__item">
|
Chris@0
|
35 <h3 class="system-status-general-info__item-title">{{ 'Drupal Version'|t }}</h3>
|
Chris@0
|
36 {{ drupal.value }}
|
Chris@0
|
37 {% if drupal.description %}
|
Chris@0
|
38 {{ drupal.description }}
|
Chris@0
|
39 {% endif %}
|
Chris@0
|
40 </div>
|
Chris@0
|
41 <div class="system-status-general-info__item">
|
Chris@0
|
42 <h3 class="system-status-general-info__item-title">{{ 'Last Cron Run'|t }}</h3>
|
Chris@0
|
43 {{ cron.value }}
|
Chris@0
|
44 {% if cron.run_cron %}
|
Chris@0
|
45 {{ cron.run_cron }}
|
Chris@0
|
46 {% endif %}
|
Chris@0
|
47 {% if cron.description %}
|
Chris@0
|
48 {{ cron.description }}
|
Chris@0
|
49 {% endif %}
|
Chris@0
|
50 </div>
|
Chris@0
|
51 <div class="system-status-general-info__item">
|
Chris@0
|
52 <h3 class="system-status-general-info__item-title">{{ 'Web Server'|t }}</h3>
|
Chris@0
|
53 {{ webserver.value }}
|
Chris@0
|
54 {% if webserver.description %}
|
Chris@0
|
55 {{ webserver.description }}
|
Chris@0
|
56 {% endif %}
|
Chris@0
|
57 </div>
|
Chris@0
|
58 <div class="system-status-general-info__item">
|
Chris@0
|
59 <h3 class="system-status-general-info__item-title">{{ 'PHP'|t }}</h3>
|
Chris@0
|
60 <h4>{{ 'Version'|t }}</h4> {{ php.value }}
|
Chris@0
|
61 {% if php.description %}
|
Chris@0
|
62 {{ php.description }}
|
Chris@0
|
63 {% endif %}
|
Chris@0
|
64
|
Chris@0
|
65 <h4>{{ 'Memory limit'|t }}</h4>{{ php_memory_limit.value }}
|
Chris@0
|
66 {% if php_memory_limit.description %}
|
Chris@0
|
67 {{ php_memory_limit.description }}
|
Chris@0
|
68 {% endif %}
|
Chris@0
|
69 </div>
|
Chris@0
|
70 <div class="system-status-general-info__item">
|
Chris@0
|
71 <h3 class="system-status-general-info__item-title">{{ 'Database'|t }}</h3>
|
Chris@0
|
72 <h4>{{ 'Version'|t }}</h4>{{ database_system_version.value }}
|
Chris@0
|
73 {% if database_system_version.description %}
|
Chris@0
|
74 {{ database_system_version.description }}
|
Chris@0
|
75 {% endif %}
|
Chris@0
|
76
|
Chris@0
|
77 <h4>{{ 'System'|t }}</h4>{{ database_system.value }}
|
Chris@0
|
78 {% if database_system.description %}
|
Chris@0
|
79 {{ database_system.description }}
|
Chris@0
|
80 {% endif %}
|
Chris@0
|
81 </div>
|