Project

General

Profile

Download (14.5 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
f5bea142 02/22/2015 05:36 AM Phil Davis

Status_dhcp_leases fix edit button for static entries with no IP address

The edit button for static entries always has an index id=0 and thus pressing the edit button goes to (mostly) edit the wrong entry.
It was easier and made the code cleaner to get rid of the looping through the staticmap array every time trying to matach IP, MAC address... That data ('if' and 'staticmap_array_index') is easily gathered further up, the first time the staticmap array for each DHCP interface is traversed. I think this should also be more efficient when there are many static mapping entries....

ce77a9c4 01/01/2015 09:26 AM Phil Davis

Fix lineup of copyright lines

and module names and other bits of formatting and typos in header
comment sections.

ed2d1343 12/31/2014 06:22 PM Renato Botelho

Welcome 2015

dd447bde 11/11/2014 04:49 AM Jim Thompson

modify copyright statement to reflect reality

73a96698 10/15/2014 06:41 AM Phil Davis

Provide an edit button for static mapped entries

As suggested in forum https://forum.pfsense.org/index.php?topic=82883.msg0#new
Instead of a non-functioning red plus icon, show an edit icon for static mapped entries, and take the user to services_dhcp_edit page if it is clicked. IMHO this makes it much easier to correct things that are noticed when viewing the Status, DHCP Leases display.

fff9ee45 10/15/2014 05:47 AM Phil Davis

Whitespace in status_dhcp_leases.php

3c4cddc7 09/27/2014 12:02 PM Phil Davis

Spelling

2871ce84 05/16/2014 08:58 PM Colin Fleming

Tidy up "status_dhcp_leases.php" XHTML

Add SUMMARY to TABLES
Updates spaces in $fspans and $fspane
Close INPUT and IMG tags and ALT to IMG
Deprecate Ampersand in Anchor tags

8cd558b6 03/14/2014 08:24 PM ayvis

xhtml Compliance
replaced <br>, <br/> and </br> with <br />

d8b37f91 12/23/2013 07:27 PM Renato Botelho

Fix DHCP lease time display, strftime already convert it to local timezone, so we no need to calc offset

6ccefb28 10/22/2013 12:59 PM Jim Pingle

Optimize DHCPv4 lease display online status for static leases. Do not re-parse complete ARP table for each lease, as it can be slow with large ARP tables.

97752da5 07/02/2013 06:26 PM Jim Pingle

Add the interface's descr after the pool name.

3ae16b9b 02/07/2013 12:44 PM Colin Fleming

Value in attributes should be lower case

Value in the "method" attribute should be lower case

f6fef11d 09/18/2012 05:38 AM Phil Davis

Fix deleting DHCP leases

This broke when the code was changed to suck the whole leases file into an array with:
$leases_contents = file($leasesfile);
Each array entry has the text of a line in the file AND the newline at the end of the line. So when matching array entries, the match has to expect the "\n" on the end.

b32dd0a6 08/10/2012 05:32 PM Jim Pingle

Activate new shortcuts/status in the rest of the areas that are currently setup.

8d8f0090 07/07/2012 11:59 PM Jim Pingle

If the range isn't an array, skip it, or it will give a PHP error displaying leases.

d579e3db 03/22/2012 02:19 PM Seth Mos

Improve the memory use while processing the leases file.

df321263 02/26/2012 01:06 AM Daniel Rasmussen

need to break out of foreach loop once it finds there is a local time has been selected by any interface of DHCP.

e085eba5 02/26/2012 12:38 AM Daniel Rasmussen

I now parses the xml tags in the dhcpd to check if an interface for DHCP lease is using local time if not defaults to UTC time.

7d1e0109 02/25/2012 09:29 PM Daniel Rasmussen

Added choice of UTC time or local time for DHCP leases.

1a137650 05/16/2011 08:47 PM Jim Pingle

Fixup MAC display on this other path too

701989fb 05/16/2011 07:40 PM Jim Pingle

Print the MAC mfg on another line in a smaller font if it's found. Less obtrusive than completely replacing the MAC.

57f2840e 05/14/2011 04:23 PM Evgeny Yurchenko

MAC prefix to vendor resolution at Status->Interfaces, Status->DHCP leases, Diagnostics->ARP table

042578fd 05/12/2011 06:04 PM Jim Pingle

Fix comment

dc073abd 05/12/2011 05:59 PM Jim Pingle

Also skip the rewind binding state or leases show expired. Reported at http://forum.pfsense.org/index.php/topic,36657.0.html

6ac988f1 12/22/2010 03:18 PM Erik Fonnesbeck

Display confirmation before sending Wake on LAN packet to clicked MAC address in list of DHCP leases. Ticket #861

225a2f0b 11/12/2010 04:03 PM Scott Ullrich

Bring in XSS id fixes from m0n0wall

daab67a1 11/10/2010 02:49 PM Scott Ullrich

Fix misc XSS issues from davey b

f75d8a89 07/21/2010 01:29 PM Carlos Eduardo Ramos

Implement gettext() calls on status_dhcp_leases.php

513c5c11 06/14/2010 09:45 PM Jim Pingle

Make DHCP leases sortable. Fixes #653

b9546722 06/14/2010 04:08 AM Chris Buechler

this page is status, not diag.