summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dhcp_edit.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-02-22 11:47:06 +0545
committerPhil Davis <phil.davis@inf.org>2015-02-22 11:47:06 +0545
commit1862040059e4e64859f2fc8cd8395c367ec59a57 (patch)
treec502e24fe333209dc0a386ce6c8b1cfa4d956304 /usr/local/www/services_dhcp_edit.php
parente5a67d33db79a7efc0de100ca1fa838753c517c7 (diff)
downloadpfsense-1862040059e4e64859f2fc8cd8395c367ec59a57.zip
pfsense-1862040059e4e64859f2fc8cd8395c367ec59a57.tar.gz
Mention interface name on DHCP edit GUI
IMHO it can be confusing on the DHCP edit page for static mapped entries to know which interface the entry is being edited/added for. Specially if the user comes from the Status DHCP Leases page, the lease they are editing/adding could be for 1 of many LAN-style interfaces. This also made it easier for me to see which interface entry I was editing when I was testing https://github.com/pfsense/pfsense/pull/1504
Diffstat (limited to 'usr/local/www/services_dhcp_edit.php')
-rw-r--r--usr/local/www/services_dhcp_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_dhcp_edit.php b/usr/local/www/services_dhcp_edit.php
index c044185..e91a23d 100644
--- a/usr/local/www/services_dhcp_edit.php
+++ b/usr/local/www/services_dhcp_edit.php
@@ -368,7 +368,7 @@ include("head.inc");
<form action="services_dhcp_edit.php" method="post" name="iform" id="iform">
<table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0" summary="static mapping">
<tr>
- <td colspan="2" valign="top" class="listtopic"><?=gettext("Static DHCP Mapping");?></td>
+ <td colspan="2" valign="top" class="listtopic"><?=sprintf(gettext("Static DHCP Mapping on %s"),$ifcfgdescr);?></td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("MAC address");?></td>
OpenPOWER on IntegriCloud