Overhaul IPsec related code. Shared functions have been consolidated intoa new file named /etc/ipsec.inc. Tunnel definitions have been split intophase1 and phase2. This allows any number of phase2 definitions to becreated for a single phase1 definition. Several facets of configuration...
Do not redeclare gettext
Make scripts XSS input safe.
Pointed-out: by hoopercharles@gmail.com
Switch over to array style page titles. Obtained-from: m0n0wall
Ensure that all form elements have an id.
Kill trailing space and note that dsh submitted last patch.
Fix multiple selection in RELENG_1 package editor. -HEAD does not suffer from this bug as the codebase is different.
MFC fixes for Ticket 1187 by proxy for Scott Dale
Set value to ON when checked.
Kill trailing space
Add checkbox support to rowhelper
Detect if stored item in config.xml is an array. If it's an array simply pass array along, if its not then attempt to explode the array.
Fix interfaces selection widget. Now selections are restored.
display page title during package editing
per dsh@ this breaks enablechange() when multiselect is used (routed packageis an example of this)
Rowhelper saves rows in incorrect order when you save for the 1st time
Ticket #1000
<br> before showing options
Add dummy stubs for some code that was MFC'd
MFC more needed package improvements
add multiple select support
todo: figure out the new mystery which is our system in -HEAD. it sure isshiny.
Kill Warning: in_array(): Wrong datatype for second argument in /usr/local/www/pkg_edit.php on line 417 errors
Nuke a c/r if included.
MFC Fernando's OpenVPN changes.
Correctly restore interface array selections
Process include_file
Correct warnings and errors found eclipse
Remove #!/usr/local/bin/php
MFC 8610'cancel' -> 'Cancel'
Do not show value = foo
Turn off debugging helper line
When multiple and size is defined for a interface, treat it as a php array.
Fix a XXX
updating files to use theme imagesremoving images from /usr/local/wwwadding specific images into the correct theme directories
Respect themes.
If we don't have any adddeleteedit fields or a special redirect, default to pkg_edit.php?xml=$xml&id=0.
It no longer breaks when the output of a package is displayed.
Minor cleanup.
Add rounded tabs.
Fix missing ')'.
Clean up eval()s.
Code cleanup
Include IP on interface when all_interfaces is enabled
Correctly show all interfaces
Add <all_interfaces> option
Allow filtering of interfaces_selection box
Use $pgtitle
Set page titles accordingly
Add field greyout.
Set title to Package Editor if $title is unset
parse_xml_config -> parse_xml_config_pkg
No need to backup $config and restore. This is a ages old bug.
Fix package saving.
Allow a GET savemsg= parm to notify user of updating, etc.
No more xmlparse_pkg.
Minor cleanup and parse_xml_config_pkg -> parse_xml_config.
require -> require_once
Include pkg-utils.inc to atleast get the scripts running again. It doesn't install correctly however.
Look at the correct field to deterimine which item should be selected in the interfaces_selection widget
Reset size in between widgets
Allow additional entries to be inserted into the interfaces selection widget.The first usage of this will be with carpdev.
Make Save and Cancel buttons the same size
Add a Cancel button which takes the browser back to the page prior.
pka -> pkga
Fix handling of <note> fields.
Add $Id$ tag
Gotta load the global functions before the rest of them :)
Add basic support for <custom_php_global_functions> tag.
Populate interface drop down with the correct selected interface when editing a package record.
Add note field
is_subqueue() returns 1 if the item is a subqeueu
Do not redirect if preoutput is setup
Instead of hard coding an interface address, use the friendly name in packages.
Process before form events
Run custom_php_command_before_form commands beforecustom_php_resync_config_command if they exist
Eliminate extra <br>
Set the page title to <title>
Allow $myurl in the url of the tabs .. $myurl is translated to getenv("HTTP_HOST") on the fly
Update tab codef.
Add tab code.
Note an area that needs to be cleaned up for emedded platforms
Restore the infterface selection widget in the package manager correctly.
Overlooked one small aspect. Lets REALLY restore the checkbox correctly.
Correct checkbox state after editing a line item.
Add start_command and restart_command xml tags.
Eliminate extra space after template parsing
Add size capability to rowhelper fields
Add template support to packages. Useful for generating the packages .conf files and such.
Do not set a value="" on checkbox fields.
Add description for interfaces selection widget if its set.
Add support for vpn_selection.
reset selected variable at the begining of foreach loop
Tweak package manager to not require a package to function.
Add variable substitutions: $wanip, $lanip to wizard and pkg_edit facilities.
Expand the usage of $myurl in wizard fields and pkg_edit
Correctly save and restore values.
Say hello to package editing capabilities!
Convert Add to + button, Delete to - button
Allow multiple interfaces