Revision 6ee37b41
Added by Sjon Hortensius over 10 years ago
usr/local/www/diag_dns.php | ||
---|---|---|
38 | 38 |
$host = trim($_REQUEST['host'], " \t\n\r\0\x0B[];\"'"); |
39 | 39 |
$host_esc = escapeshellarg($host); |
40 | 40 |
|
41 |
/* If this section of config.xml has not been populated yet we need to set it up
|
|
41 |
/* If this section of config.xml has not been populated yet we need to set it up |
|
42 | 42 |
*/ |
43 | 43 |
if (!is_array($config['aliases']['alias'])) { |
44 | 44 |
$config['aliases']['alias'] = array(); |
... | ... | |
209 | 209 |
print $form; |
210 | 210 |
|
211 | 211 |
if (!$input_errors && $type) { |
212 |
if ($resolved) {
|
|
212 |
if ($resolved):
|
|
213 | 213 |
?> |
214 | 214 |
<div class="panel panel-default"> |
215 | 215 |
<div class="panel-heading">Results</div> |
... | ... | |
224 | 224 |
$found++; |
225 | 225 |
} |
226 | 226 |
} |
227 |
} |
|
228 |
|
|
229 | 227 |
?> |
230 | 228 |
</ul> |
231 | 229 |
</div> |
232 | 230 |
</div> |
231 |
<? endif?> |
|
233 | 232 |
|
234 | 233 |
<!-- Second table displays the server resolution times --> |
235 | 234 |
<div class="panel panel-default"> |
Also available in: Unified diff
diag_dns - TIL HTML, let's not barf out incomplete nodes