diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-11-20 08:59:05 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-11-20 08:59:05 -0200 |
commit | 140183fd94295871167db51e02d9df4b29766873 (patch) | |
tree | d1337f9b35181cb880235f5058b52ca677af7288 | |
parent | bc9155c33b55d75814cf6f280ea773e61474d6d3 (diff) | |
parent | 3fc92f970bbcc7893070d9adebe4b63c99a3727d (diff) | |
download | pfsense-140183fd94295871167db51e02d9df4b29766873.zip pfsense-140183fd94295871167db51e02d9df4b29766873.tar.gz |
Merge pull request #1344 from phil-davis/patch-2
-rw-r--r-- | usr/local/www/services_unbound.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/usr/local/www/services_unbound.php b/usr/local/www/services_unbound.php index ff2c8ff..af7b649 100644 --- a/usr/local/www/services_unbound.php +++ b/usr/local/www/services_unbound.php @@ -465,6 +465,27 @@ function show_advanced_dns() { </tr> </table> </tr> + <?php if ($hostent['aliases']['item'] && is_array($hostent['aliases']['item'])): ?> + <?php foreach ($hostent['aliases']['item'] as $alias): ?> + <tr> + <td class="listlr" ondblclick="document.location='services_unbound_host_edit.php?id=<?=$i;?>';"> + <?=strtolower($alias['host']);?> + </td> + <td class="listr" ondblclick="document.location='services_unbound_host_edit.php?id=<?=$i;?>';"> + <?=strtolower($alias['domain']);?> + </td> + <td class="listr" ondblclick="document.location='services_unbound_host_edit.php?id=<?=$i;?>';"> + Alias for <?=$hostent['host'] ? $hostent['host'] . '.' . $hostent['domain'] : $hostent['domain'];?> + </td> + <td class="listbg" ondblclick="document.location='services_unbound_host_edit.php?id=<?=$i;?>';"> + <?=htmlspecialchars($alias['description']);?> + </td> + <td valign="middle" class="list nowrap"> + <a href="services_unbound_host_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" width="17" height="17" border="0" alt="edit" /></a> + </td> + </tr> + <?php endforeach; ?> + <?php endif; ?> <?php $i++; endforeach; ?> <tr style="display:none"><td></td></tr> </tbody> |