Erik Fonnesbeck
bddc88183a
Form image buttons are submit buttons and thus default buttons, causing unwanted behavior with the enter key. Use links instead, where possible.
2010-11-12 22:44:11 -07:00
Erik Fonnesbeck
6f7a997828
Add style to rowhelper normal text fields in packages for consistency.
2010-11-12 20:05:15 -07:00
Scott Ullrich
98bcf1f8b5
Fix misc input validation errors. Move routed/* to same dir as pkg items
2010-11-06 12:40:54 -04:00
Warren Baker
d1a0d9d0d1
Ensure that the value is returned as 'selected' when using a multiple select list.
2010-09-21 13:16:12 +02:00
Warren Baker
cf6a1f80e8
Change windows.onLoad event to rely on DOM readiness instead, for enablechange() function. Tested on Safari, Chrome, FFox and IE7+8 on windows and OSX.
2010-09-15 14:32:25 +02:00
Warren Baker
0c8cdb2571
Ensure $value is unset so that subsequent rowhelper fields, without <value/> don't have a previous $value set.
2010-09-14 21:31:01 +02:00
Warren Baker
b9d8c75d82
Add Save + Cancel buttons to be below advanced features section if advanced features is enabled.
2010-09-14 19:51:29 +02:00
Warren Baker
d92b33116b
Fix enablechange() js problem caused by converting print() to echo().
2010-09-11 14:18:20 +02:00
Warren Baker
e11aa16151
Converted all print() statements to echo() and also added 2 new XML tags for packages to create an 'Advanced Features' section.
...
Tags are <advanced_options/> and <advancedfield/> which when enabled will add the advanced field into the new advanced section and also gives it a shiny new 'Advanced' button to click.
2010-09-08 22:06:09 +02:00
Warren Baker
9055180719
New Package XML tag 'tab_level' allows for multiple rows of tab displays.
2010-08-25 18:18:08 +02:00
Scott Ullrich
969a36ce00
Ignore sorting field types
2010-08-03 18:57:03 -04:00
Carlos Eduardo Ramos
f0d1af931a
Fix gettext issues
2010-04-29 14:53:19 -03:00
Carlos Eduardo Ramos
e6ffcfbd7b
Reviewing gettext()
2010-04-29 10:31:28 -03:00
Carlos Eduardo Ramos
c8536f7d86
Implementing gettext()
2010-04-29 10:17:59 -03:00
Scott Ullrich
9605d06f63
Restore select_source value correctly
2010-04-28 20:49:23 -04:00
Scott Ullrich
4f6a5e6a45
Update (C) to 2010
2010-04-27 19:32:30 -04:00
Scott Ullrich
db3829e199
Add binding support for row helper drop downs
2010-04-27 00:38:18 -04:00
Scott Ullrich
9f65abbfb6
Allow mapping a select drop down to any area of config.xml
2010-04-27 00:06:03 -04:00
jim-p
a2a7f74df4
Check for an empty <config/> as the first setting for a given package's config. When present, this breaks saving for certain packages (namely Squid's caching tab).
2010-04-04 00:58:08 -04:00
Ermal Luçi
e54626e226
Fix rowhelper size usage.
2010-03-08 12:29:43 +00:00
Scott Ullrich
0089af7c1e
Increase execution time
2010-01-21 19:20:10 -05:00
Scott Ullrich
b8d220ab8a
Nuke pkg_build_filter_rules();. It would have never covered reinstallation cases.
2009-12-24 21:30:22 -05:00
jim-p
58362f9d5d
Fix webgui protocol detection here, too.
2009-12-24 20:37:21 -05:00
Scott Ullrich
7a927e67a5
Require filter.inc and shaper.inc
2009-11-21 19:28:00 -05:00
Ermal Luçi
5d65350b30
Missed commit on removing all_interfaces.
2009-10-05 18:52:13 +00:00
Ermal Luçi
203de6bf85
Remove support for all_interfaces from wizard.php it is not used anywhere. Convert the interfaces_selection to use the interface API.
2009-10-05 18:49:42 +00:00
Scott Ullrich
1d333258dc
Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to include 2009 on files that I have asserted (C) on
2009-09-14 21:49:40 -04:00
Ermal Luçi
07bcca251d
Add needed filter_reload call.
2009-07-08 14:50:28 +00:00
Renato Botelho
457106da66
Revert 2 last hunks of last commit since it's not related with the fix
2009-06-25 16:17:30 -03:00
Manoel Carvalho
dcf6d56377
PHP wasn't generating javascript for input fields named with brackets like "iface_array[]"
2009-06-25 16:13:40 -03:00
Scott Ullrich
7e542bd186
Remove is_int check, it appears to be failing
2009-06-20 21:18:27 -04:00
Scott Ullrich
13e92c3697
Unbreal rowhelper in 2.0
2009-06-20 20:25:09 -04:00
Scott Ullrich
4c09b655fb
Ensure size is a int
2009-06-20 19:19:08 -04:00
Ermal Luçi
a9b2e638f8
Present a new package option filter_rules_needed which has a function name to be called if the package needs to create firewall rules. The function should have a switch statement one with 'nat' option wich is called for nat/rdr and one with 'rule' option which is needed for rules. This will help on removing from filter.inc all the packages hardcoded includes and rules and give some more dynamicity. The rules by this function will be included on rules.nat.packages and rules.packages on /tmp partition and called by anchors include file when filter reloads(still this has to come).
2009-05-29 21:49:50 +00:00
Bill Marquette
625dcc400c
Massive javascript cleanup, all .js files now live in $g['www_path']/javascript
...
Purged unused JS
2009-03-14 14:41:04 -05:00
Bill Marquette
e4f8f7d260
make packages use the same formfield css the rest of the UI uses
2009-03-13 20:35:05 -05:00
Bill Marquette
2e069686fb
Move Scriptaculous/Prototype includes to head.inc and remove the code duplication
2009-03-13 01:04:26 -05:00
Scott Ullrich
916b74c604
When editing a record and not posting, there must be a valid id.
...
This will fix pages coming in from after authing that accidently
drop &id=0
2009-02-14 22:44:09 -05:00
Scott Ullrich
0f68e35268
Test that item has a value instead of using isset which
...
will return true on blank <descr/> items.
2009-02-10 13:46:05 -05:00
Scott Ullrich
6e32d276d0
Do not allow \ in fieldnames.
2008-12-12 18:20:37 +00:00
Scott Ullrich
349ef5c973
Do not attempt to save blank fieldname values
2008-10-25 06:46:55 +00:00
Scott Ullrich
41fd044584
Ignore listtopic fields
2008-10-25 02:53:37 +00:00
Scott Ullrich
32487e426c
Add listtopic field type
2008-10-25 00:44:36 +00:00
Ermal Luçi
85a5da131c
* Rename get_current_wan_address to get_interface_ip
...
* Rename get_real_wan_interface to get_real_interface
* Simplify get_interface_ip by using find_interface_ip which should help in speed to since its using caching. Pointed by billm@
* Cleanup some code when passing or remove some unused one.
2008-10-23 21:51:53 +00:00
Scott Ullrich
f1412ed6c4
Allow setting the size of password fields
2008-10-11 23:27:11 +00:00
Mark Crane
82458abb20
pkg_edit add <wrap>off</wrap> for textarea
2008-09-29 22:09:11 +00:00
Matthew Grooms
6b07c15ad8
Rewrite the pfsense privilege system with the following goals in mind ...
...
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
2008-08-01 06:30:34 +00:00
Matthew Grooms
a93e56c58a
Overhaul IPsec related code. Shared functions have been consolidated into
...
a new file named /etc/ipsec.inc. Tunnel definitions have been split into
phase1 and phase2. This allows any number of phase2 definitions to be
created for a single phase1 definition. Several facets of configuration
have also been improved. The key size for variable length algorithms can
now be selected and the phase1 ID options have been extended to allow for
more flexible configuration. Several NAT-T related issues have also been
resolved.
Please note, IPsec remote access functionality has been temporarily
disabled. An improved implementation will be included in a follow up
commit.
2008-07-11 01:55:30 +00:00
Scott Ullrich
1ebe9f62f4
Do not redeclare gettext
2008-03-10 00:38:23 +00:00
Scott Ullrich
d8c1a6c53c
Make scripts XSS input safe.
...
Pointed-out: by hoopercharles@gmail.com
2008-02-12 04:40:35 +00:00