summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_vlan_edit.php
Commit message (Collapse)AuthorAgeFilesLines
* Move main pfSense content to src/Renato Botelho2015-08-251-236/+0
|
* Cancel button after input errorPhil Davis2015-07-131-1/+6
| | | | | | | | | | | If there is an input error then the edit page is redrawn showing the input errors. The HTTP_REFERER becomes the current page, rather than the true original referer. Then if you click Cancel the current page is just redrawn. This change makes the code remember the original referer, so if the user enters some invalid data, presses Save, reads the input error messages then presses Cancel they are taken back out to the original page - the same as if Cancel was used before Save.
* Code spacingPhil Davis2015-06-151-3/+3
| | | | | | | and other random stuff I noticed. I think this finishes messing with code style. The codebase should match the developer style guide closely enough that 99.9% of changes will not feel the need to also massage the formatting.
* Code style interfaces miscellaneous filesPhil Davis2015-05-131-66/+83
|
* Do not allow VLAN tag zeroPhil Davis2015-03-161-1/+1
| | | | At the moment you can make a VLAN with tag 0. The input validation does not catch it because when $_POST['tag'] = "0" that evaluates to false by PHP. Always make the checks on 'tag' value whenever the 'tag' key is set at all. If the (required) 'tag' key is not set, then that is already checked for by do_input_validation().
* Fix lineup of copyright linesPhil Davis2015-01-011-1/+1
| | | | | and module names and other bits of formatting and typos in header comment sections.
* Welcome 2015Renato Botelho2014-12-311-1/+1
|
* Change copyright statement to reflect realityJim Thompson2014-11-101-0/+1
|
* Remove almost all calls to history.back() and make Cancel button back to ↵Renato Botelho2014-09-121-1/+4
| | | | HTTP_REFERER, there are a couple of places I didn't touch on this commit because it requires more work
* xhtml Complianceayvis2014-03-141-3/+3
| | | replaced <br>, <br/> and </br> with <br />
* Improve checks for params 'id', 'dup' and other similar ones to make sure ↵Renato Botelho2014-03-121-2/+3
| | | | they are numeric integer, also, pass them through htmlspecialchars() before print
* Remove call-time pass by reference for do_input_validation, helps ticket #2565Renato Botelho2013-09-121-1/+1
|
* Prevent assigned vlans from being changed the tag.Ermal2013-08-121-0/+6
|
* fix text - s/occured/occurred/Chris Buechler2013-08-011-1/+1
|
* Tidy up "interfaces_vlan_edit.php" XHTMLColin Fleming2013-04-151-9/+9
| | | | | Update HTML boolean operators Close INPUT and BR tags
* Put some more sanity checking for various interface configurationsErmal2013-01-241-0/+3
|
* Activate new shortcuts/status in the rest of the areas that are currently setup.jim-p2012-08-101-0/+1
|
* When editing a vlan and chaning its tag id and the vlan is assigned correct ↵Ermal2011-06-271-3/+7
| | | | even the interface name of the assignment otherwise we result in breaking the install.
* Ticket #944. Also destory the previous interface if the user changing the ↵Ermal2011-06-011-1/+1
| | | | vlan tag of an existing vlan entry.
* Fixes #944. Use the correct interface name to destroy the previous vlan if ↵Ermal2011-06-011-3/+7
| | | | the parent is changed.
* Fix page title text. Replace "Firewall" with "Interfaces" in title.gnhb2011-03-021-1/+1
|
* Ticket #944. Do not use the interface_bring_down fucntion here since it is ↵Ermal2011-01-101-5/+5
| | | | meant for assigned interfaces. Directly destroy previous vlan interface if parent changes.
* Ticket #944. Wehn changing the parent interface make sure to destroy the old ↵Ermal2010-12-271-0/+5
| | | | vlan before creating the new one. Since vlans use the name of the parent the old interface referencing the old parent vlan will remain intact.
* Fix XSS issuesScott Ullrich2010-11-121-1/+1
|
* Bring in XSS id fixes from m0n0wallScott Ullrich2010-11-121-1/+1
|
* Fix gettext implementation on interfaces_vlan_edit.phpVinicius Coque2010-07-101-2/+2
|
* Implement gettext() callsRafael Lucas2010-06-301-3/+3
|
* Implement gettext() callsRafael Lucas2010-06-301-16/+16
|
* Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to ↵Scott Ullrich2009-09-141-1/+3
| | | | include 2009 on files that I have asserted (C) on
* s/./_/ for vlans since netgraph does not like .(dots) in the path names.Ermal Luci2009-06-161-1/+1
|
* Use $RealIf.vlan$tag interface names for vlans. This makes them more ↵Ermal Luçi2009-06-081-1/+1
| | | | userfriendly.
* Revert "Do not use tags for vlan interface names since there might be same ↵Ermal Luçi2009-06-081-6/+1
| | | | | | vlan tags on different parent interfaces and this will break configs and will hide the reason it does not work. Thanks-to: smos@" This reverts commit 83bdca55920ca6ab3d848f0993d57a1f9b85098f.
* Do not use tags for vlan interface names since there might be same vlan tags ↵Ermal Luçi2009-06-081-1/+6
| | | | on different parent interfaces and this will break configs and will hide the reason it does not work. Thanks-to: smos@
* Do not allow to add a vlan tag on the same interface when it is used by qinq.Ermal Luçi2009-03-301-0/+5
|
* Bring in support for QinQ. At this time it is limited to only 2 levels.Ermal Luçi2009-03-281-2/+2
|
* Opps, unbreak the page by removing unneeded curly.Ermal Luci2009-01-251-2/+2
|
* Allow vlans to be created on lagg interfaces on the GUI.Ermal Luci2009-01-201-0/+6
|
* Rename interfaces_wan_configure to interface_configure now that it is used ↵Ermal Luçi2008-09-091-1/+1
| | | | for all assigned interface configuration.
* Merge lan configuration to the interfaces_wan.php page wich does the ↵Ermal Luçi2008-09-071-3/+1
| | | | | | configuration of all other assigned interfaces.
* Dress VLAN edit page up with a CSS header like other pages use.Scott Ullrich2008-08-301-0/+3
|
* Rewrite the pfsense privilege system with the following goals in mind ...Matthew Grooms2008-08-011-0/+8
| | | | | | | | 1) Redefine page privileges to not use static urls 2) Accurate generation of privilege definitions from source 3) Merging the user and group privileges into a single set 4) Allow any privilege to be added to users or groups w/ inheritance 5) Cleaning up the related WebUI pages
* If we are an assigned vlan just reconfigure it after the editing.Ermal Luçi2008-07-241-0/+6
|
* Remove the parent interface reconfiguration functions they are only ↵Ermal Luçi2008-07-091-7/+0
| | | | | | | | | | | bogusly/erroneously called here: * On bootup without this change the parent interface will be configured twice. * Even when the system is up a vlan does not have to mock up with the parent apart guaranteeing that it is up. The only thing that does not work is makeing a VLAN on dynamic interfaces like pppoe/pptp. Afaik it has never worked and i do not think that many people would use vlans over pppoe, if a feature request for such things comes up it will be on my TODO around 2.x of pfSense.
* * Correctly edit existing vlans.Ermal Luçi2008-07-091-22/+9
| | | | | | | * Speedup very much the vlan creation/editing but not reconfiguring all the other interfaces but just the one where the vlan resides. NOTE: It is even questionable if it is needed at all to reconfigure the underlying interface since the only thing that vlan needs from the parent is the former to be up so packets can travel.
* Fix braindead vlan creation procedures.Ermal Luçi2008-06-041-24/+34
| | | | Now we do not need to go through all vlans just to delete/create one of them.
* add comment from RELENG_1_2Chris Buechler2007-12-261-0/+13
|
* Switch over to array style page titles. Obtained-from: m0n0wallScott Ullrich2007-11-161-2/+1
|
* Fixing css layoutSeth Mos2007-09-011-3/+3
|
* Reload vlan interfaces correctly after adding a new interfaceScott Ullrich2007-03-141-0/+3
|
* Call interfaces_vlan_configure() instead of reload_interfaces(). ↵Scott Ullrich2007-01-251-19/+19
| | | | reload_interfaces() is still considered experimental and I am really not sure how this snuck past on the prior cleanup.
OpenPOWER on IntegriCloud