summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_dhcp_leases.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-23 17:36:42 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-23 17:36:42 +0000
commit7477df4f99f46b996db7cb63c67e16a33c950fb3 (patch)
tree5568f7c4ef58072a7bdc03da91495f3c8d51295c /usr/local/www/diag_dhcp_leases.php
parent195b6162b5fff3cae85ed1a92991109bf8b7ac61 (diff)
downloadpfsense-7477df4f99f46b996db7cb63c67e16a33c950fb3.zip
pfsense-7477df4f99f46b996db7cb63c67e16a33c950fb3.tar.gz
Changes submitted by databeestje which adds links to dhcp and other pages
that display mac easily allowing the addition of the item to the WOL db.
Diffstat (limited to 'usr/local/www/diag_dhcp_leases.php')
-rwxr-xr-xusr/local/www/diag_dhcp_leases.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/diag_dhcp_leases.php b/usr/local/www/diag_dhcp_leases.php
index 9978636..8655c44 100755
--- a/usr/local/www/diag_dhcp_leases.php
+++ b/usr/local/www/diag_dhcp_leases.php
@@ -177,8 +177,10 @@ foreach ($leases as $data) {
echo "<td class=\"listr\">{$fspans}{$data['hostname']}{$fspane}&nbsp;</td>\n";
echo "<td class=\"listr\">{$fspans}" . adjust_gmt($data['start']) . "{$fspane}&nbsp;</td>\n";
echo "<td class=\"listr\">{$fspans}" . adjust_gmt($data['end']) . "{$fspane}&nbsp;</td>\n";
- echo "<td class=\"list\" valign=\"middle\"><a href=\"services_dhcp_edit.php?if={$data['if']}&mac={$data['mac']}\">";
+ echo "<td class=\"list\" valign=\"middle\"><a href=\"services_dhcp_edit.php?if={$data['if']}&mac={$data['mac']}&descr={$data['hostname']}\">";
echo "<img src=\"/themes/{$g['theme']}/images/icons/icon_plus.gif\" width=\"17\" height=\"17\" border=\"0\" title=\"add a static mapping for this MAC address\"></a></td>\n";
+ echo "<td valign=\"middle\"><a href=\"services_wol_edit.php?if={$data['if']}&mac={$data['mac']}&descr={$data['hostname']}\">";
+ echo "<img src=\"/themes/{$g['theme']}/images/icons/icon_wol_all.gif\" width=\"17\" height=\"17\" border=\"0\" title=\"add a wake on lan mapping for this MAC address\"></a></td>\n";
echo "</tr>\n";
}
}
OpenPOWER on IntegriCloud