Revision 8cd558b6
Added by ayvis over 11 years ago
usr/local/www/diag_dns.php | ||
---|---|---|
196 | 196 |
if(is_array($resolved)) { |
197 | 197 |
foreach($resolved as $hostitem) { |
198 | 198 |
if($hostitem <> "") { |
199 |
echo $hostitem . "<br/>"; |
|
199 |
echo $hostitem . "<br />";
|
|
200 | 200 |
$found++; |
201 | 201 |
} |
202 | 202 |
} |
... | ... | |
205 | 205 |
} |
206 | 206 |
if($found > 0) { |
207 | 207 |
if($alias_exists) { |
208 |
echo "<br/><font size='-2'>An alias already exists for the hostname " . htmlspecialchars($host) . ". To overwrite, click <a href='diag_dns.php?host=" . trim(urlencode(htmlspecialchars($host))) . "&createalias=true&override=true'>here</a>."; |
|
208 |
echo "<br /><font size='-2'>An alias already exists for the hostname " . htmlspecialchars($host) . ". To overwrite, click <a href='diag_dns.php?host=" . trim(urlencode(htmlspecialchars($host))) . "&createalias=true&override=true'>here</a>.";
|
|
209 | 209 |
} else { |
210 | 210 |
if(!$createdalias) { |
211 |
echo "<br/><font size='-2'><a href='diag_dns.php?host=" . trim(urlencode(htmlspecialchars($host))) . "&createalias=true'>Create alias</a> out of these entries."; |
|
211 |
echo "<br /><font size='-2'><a href='diag_dns.php?host=" . trim(urlencode(htmlspecialchars($host))) . "&createalias=true'>Create alias</a> out of these entries.";
|
|
212 | 212 |
} else { |
213 |
echo "<br/><font size='-2'>Alias created with name " . htmlspecialchars($newalias['name']); |
|
213 |
echo "<br /><font size='-2'>Alias created with name " . htmlspecialchars($newalias['name']);
|
|
214 | 214 |
} |
215 | 215 |
} |
216 | 216 |
} |
... | ... | |
257 | 257 |
<tr> |
258 | 258 |
<td width="22%" valign="top" class="vncell"><?=gettext("More Information:");?></td> |
259 | 259 |
<td width="78%" class="vtable"> |
260 |
<a target="_new" href ="/diag_ping.php?host=<?=htmlspecialchars($host)?>&interface=wan&count=3"><?=gettext("Ping");?></a> <br/> |
|
260 |
<a target="_new" href ="/diag_ping.php?host=<?=htmlspecialchars($host)?>&interface=wan&count=3"><?=gettext("Ping");?></a> <br />
|
|
261 | 261 |
<a target="_new" href ="/diag_traceroute.php?host=<?=htmlspecialchars($host)?>&ttl=18"><?=gettext("Traceroute");?></a> |
262 | 262 |
<p/> |
263 |
<?=gettext("NOTE: The following links are to external services, so their reliability cannot be guaranteed.");?><br/><br/>
|
|
263 |
<?=gettext("NOTE: The following links are to external services, so their reliability cannot be guaranteed.");?><br /><br />
|
|
264 | 264 |
<a target="_new" href="http://private.dnsstuff.com/tools/whois.ch?ip=<?php echo $ipaddr; ?>"><?=gettext("IP WHOIS @ DNS Stuff");?></a><br /> |
265 | 265 |
<a target="_new" href="http://private.dnsstuff.com/tools/ipall.ch?ip=<?php echo $ipaddr; ?>"><?=gettext("IP Info @ DNS Stuff");?></a> |
266 | 266 |
</td> |
... | ... | |
269 | 269 |
<tr> |
270 | 270 |
<td width="22%" valign="top"> </td> |
271 | 271 |
<td width="78%"> |
272 |
<br/> |
|
272 |
<br />
|
|
273 | 273 |
<input name="Submit" type="submit" class="formbtn" value="<?=gettext("DNS Lookup");?>"> |
274 | 274 |
</td> |
275 | 275 |
</tr> |
Also available in: Unified diff
xhtml Compliance
replaced <br>, <br/> and </br> with <br />