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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
|
<?php /** * System diagnostics */ $this->extend('../layout');
/* @var Loco_mvc_ViewParams $versions */ /* @var Loco_mvc_ViewParams $encoding */ ?> <div class="panel" id="loco-versions"> <h3> Versions <a href="#loco-versions" class="loco-anchor" aria-hidden="true"></a> </h3> <dl><?php foreach( $versions as $key => $value ): if( $value ):?> <dt> <?php self::e($key)?>: </dt> <dd> <code class="path" id="loco-vers-<?php self::e(strtolower(strtr($key,' ','-')))?>"><?php $versions->e($key)?></code> </dd><?php endif; endforeach?> </dl> </div> <div class="panel" id="loco-unicode"> <h3> Unicode <a href="#loco-unicode" class="loco-anchor" aria-hidden="true"></a> </h3> <dl> <dt>UTF-8 rendering:</dt> <dd><?php echo $encoding->OK?> <span id="loco-utf8-check"><?php echo $encoding->tick?></span></dd>
<dt>Multibyte support:</dt> <dd><?php $encoding->e('mbstring')?></dd>
<dt>Site character set</dt> <dd><?php $encoding->e('charset')?></dd> </dl> </div> <div class="panel" id="loco-ajax"> <h3> Ajax <a href="#loco-ajax" class="loco-anchor" aria-hidden="true"></a> </h3> <dl> <dt>Endpoint:</dt> <dd><code id="loco-ajax-url" class="path">/wp-admin/admin-ajax.php</code></dd> <dt>JSON decoding:</dt> <dd><?php echo $encoding->json?></dd> <dt class="jsonly">Ajax test result:</dt> <dd class="jsonly" id="loco-ajax-check"><span class="inline-spinner"> </span></dd> </dl> </div>
<div class="panel" id="loco-apis"> <h3> Translation APIs <a href="#loco-apis" class="loco-anchor" aria-hidden="true"></a> </h3> <dl><?php /* @var Loco_mvc_ViewParams[] $apis */ foreach( $apis as $api ):?> <dt><?php $api->e('name')?>:</dt> <dd class="jsonly" id="loco-api-<?php $api->e('id')?>"><span class="inline-spinner"> </span></dd><?php endforeach?> </dl> </div>
<div class="panel" id="loco-sizes"> <h3> Limits <a href="#loco-sizes" class="loco-anchor" aria-hidden="true"></a> </h3> <dl><?php /* @var Loco_mvc_ViewParams $memory */ foreach( $memory as $key => $value ):?> <dt> <?php echo $memory->escape($key)?>: </dt> <dd> <?php $memory->e($key)?> </dd><?php endforeach?> </dl> </div> <div class="panel" id="loco-files"> <h3> Filesystem <a href="#loco-files" class="loco-anchor" aria-hidden="true"></a> </h3> <dl> <dt>File mods disallowed:</dt> <dd><?php echo $fs->disabled?'Yes':'No'?></dd> <dt>File mod safety level:</dt> <dd><?php $fs->e('fs_protect')?></dd><?php /* @var Loco_mvc_ViewParams[] $locations */ foreach( $locations as $label => $f ):?> <dt><?php echo $f->escape($label)?>:</dt> <dd><?php $f->e('path'); if( $f->writable ): echo ' ✓'; else:?> <span class="icon icon-warn" title="Not writable directly by PHP"></span><?php endif?> </dd><?php endforeach?> <dt>PHP open_basedir:</dt> <dd><?php self::e(ini_get('open_basedir'))?></dd> </dl> </div>
<div class="panel" id="loco-debug"> <h3> Debug settings <a href="#loco-debug" class="loco-anchor" aria-hidden="true"></a> </h3> <dl><?php foreach( $debug as $key => $value ):?> <dt> <?php echo $debug->escape($key)?>: </dt> <dd> <?php $debug->e($key)?> </dd><?php endforeach?> </dl> </div>
|