summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_unbound_acls.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-07-16 08:48:07 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-07-16 08:48:07 -0300
commit026f3639155f2ad534502f40fec50b7a87231e0e (patch)
treefe9f2ae4b2bfdfe64bb91b8c176fd8e06cf622a0 /usr/local/www/services_unbound_acls.php
parent18eb5d0eaf10d327df1ad99efa55b7e67b3f7103 (diff)
downloadpfsense-026f3639155f2ad534502f40fec50b7a87231e0e.zip
pfsense-026f3639155f2ad534502f40fec50b7a87231e0e.tar.gz
Few GUI tweaks on unbound ACL page
Diffstat (limited to 'usr/local/www/services_unbound_acls.php')
-rw-r--r--usr/local/www/services_unbound_acls.php36
1 files changed, 22 insertions, 14 deletions
diff --git a/usr/local/www/services_unbound_acls.php b/usr/local/www/services_unbound_acls.php
index 275c91d..49a420c 100644
--- a/usr/local/www/services_unbound_acls.php
+++ b/usr/local/www/services_unbound_acls.php
@@ -318,17 +318,22 @@ if (is_subsystem_dirty("unbound"))
<tr>
<td width="25%" class="listhdrr"><?=gettext("Access List Name"); ?></td>
<td width="25%" class="listhdrr"><?=gettext("Action"); ?></td>
- <td width="40%" class="listhdrr"><?=gettext("Description"); ?></td>
- <td width="10%" class="list"></td>
+ <td width="45%" class="listhdr"><?=gettext("Description"); ?></td>
+ <td width="5%" class="list">&nbsp;</td>
</tr>
</thead>
<tfoot>
<tr>
- <td class="list" colspan="4"></td>
+ <td class="list" colspan="3">&nbsp;</td>
<td class="list">
- <a href="services_unbound_acls.php?act=new">
- <img src="./themes/<?=$g['theme'];?>/images/icons/icon_plus.gif" title="<?=gettext("Add new Access List"); ?>" border="0" alt="add" />
- </a>
+ <table border="0" cellspacing="0" cellpadding="1" summary="icons">
+ <tr>
+ <td width="17">&nbsp;</td>
+ <td valign="middle"><a href="services_unbound_acls.php?act=new">
+ <img src="./themes/<?=$g['theme'];?>/images/icons/icon_plus.gif" title="<?=gettext("Add new Access List"); ?>" border="0" alt="add" />
+ </a></td>
+ </tr>
+ </table>
</td>
</tr>
<tr>
@@ -346,7 +351,7 @@ if (is_subsystem_dirty("unbound"))
?>
<tr ondblclick="document.location='services_unbound_acls.php?act=edit&amp;id=<?=$i;?>'">
<td class="listlr">
- <?=$acl['aclname'];?>
+ <?=htmlspecialchars($acl['aclname']);?>
</td>
<td class="listr">
<?=htmlspecialchars($acl['aclaction']);?>
@@ -355,13 +360,16 @@ if (is_subsystem_dirty("unbound"))
<?=htmlspecialchars($acl['description']);?>
</td>
<td valign="middle" class="list nowrap">
- <a href="services_unbound_acls.php?act=edit&amp;id=<?=$i;?>">
- <img src="./themes/<?=$g['theme'];?>/images/icons/icon_e.gif" title="<?=gettext("edit access list"); ?>" width="17" height="17" border="0" alt="edit" />
- </a>
- &nbsp;
- <a href="services_unbound_acls.php?act=del&amp;id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this access list?"); ?>')">
- <img src="/themes/<?=$g['theme'];?>/images/icons/icon_x.gif" title="<?=gettext("delete access list"); ?>" width="17" height="17" border="0" alt="delete" />
- </a>
+ <table border="0" cellspacing="0" cellpadding="1" summary="icons">
+ <tr>
+ <td valign="middle"><a href="services_unbound_acls.php?act=edit&amp;id=<?=$i;?>">
+ <img src="./themes/<?=$g['theme'];?>/images/icons/icon_e.gif" title="<?=gettext("edit access list"); ?>" width="17" height="17" border="0" alt="edit" />
+ </a></td>
+ <td valign="middle"><a href="services_unbound_acls.php?act=del&amp;id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this access list?"); ?>')">
+ <img src="/themes/<?=$g['theme'];?>/images/icons/icon_x.gif" title="<?=gettext("delete access list"); ?>" width="17" height="17" border="0" alt="delete" />
+ </a></td>
+ </tr>
+ </table>
</td>
</tr>
<?php
OpenPOWER on IntegriCloud