Commit Graph

50 Commits

Author SHA1 Message Date
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
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
Scott Ullrich
df02c7292c Do not redeckare gettext 2008-03-10 00:39:40 +00:00
Scott Ullrich
d8c1a6c53c Make scripts XSS input safe.
Pointed-out: by hoopercharles@gmail.com
2008-02-12 04:40:35 +00:00
Scott Ullrich
d88c6a9fdf Switch over to array style page titles. Obtained-from: m0n0wall 2007-11-16 00:48:53 +00:00
Scott Ullrich
8060d89a47 Correct the ordering of unsetting the item and running the delete command. The delete command should be run after the unset so it can populate information correctly such as tinydns's data file. 2007-02-21 03:56:09 +00:00
Scott Ullrich
b91540da0b MFC from HEAD
* Add gettext() dummy function to avoid needing gettext from -HEAD's php binary.
2006-04-20 21:53:38 +00:00
Scott Ullrich
7c172009f6 MFC Fernando's OpenVPN changes. 2006-04-01 22:18:36 +00:00
Scott Ullrich
e54d4de6d5 Remove #!/usr/local/bin/php 2006-01-02 23:46:18 +00:00
Erik Kristensen
677c08696a updating files to use theme images
removing images from /usr/local/www
adding specific images into the correct theme directories
2005-07-21 00:17:40 +00:00
Colin Smith
79f6fe7bac Say hello to rounded tabs ;) 2005-07-14 01:04:52 +00:00
Colin Smith
ce696feb1d Clean up eval()s. 2005-07-13 18:56:29 +00:00
Bill Marquette
96d9f5c9d6 Use $pgtitle 2005-07-03 16:35:36 +00:00
Scott Ullrich
323d040b87 * Fix diagnostics logging tab menus
* Curve bottom of grey areas if needed
* Curve tabs
* Cleanup
2005-07-02 20:51:59 +00:00
Scott Ullrich
83ddedcda4 Set page titles accordingly 2005-07-02 03:50:50 +00:00
Colin Smith
19a1167852 parse_xml_config -> parse_xml_config_pkg 2005-06-23 03:17:21 +00:00
Colin Smith
e4bf1c1908 require -> require_once 2005-06-21 01:25:30 +00:00
Colin Smith
c6ab761de0 No more xmlparse_pkg. 2005-06-20 02:50:30 +00:00
Colin Smith
e307a80910 Minor cleanup and parse_xml_config_pkg -> parse_xml_config. 2005-06-18 21:20:05 +00:00
Bill Marquette
5f9c0e6803 doubleclick to edit 2005-04-12 19:30:02 +00:00
Bill Marquette
a339c26a98 icon placement 2005-04-04 01:36:00 +00:00
Bill Marquette
b46bfcf575 Add $Id$ tag 2005-03-27 22:31:32 +00:00
Colin Smith
194b4e0a3b Add basic support for <custom_php_global_functions> tag. 2005-03-19 23:29:39 +00:00
Colin Smith
009c79057b Add <prefix> and <suffix> tags to <adddeleteeditfields>. 2005-03-12 19:26:07 +00:00
Scott Ullrich
5cd30ac398 Process before form events 2005-02-26 19:49:23 +00:00
Scott Ullrich
2d512c8446 Do not attempt to foreach through the ['adddeleteeditpagefields']['columnitem'] if it does not exist 2005-02-19 03:08:14 +00:00
Scott Ullrich
64fba011ba Set the page title to <title> 2005-02-19 02:27:18 +00:00
Scott Ullrich
e17ce934fd Allow $myurl in the url of the tabs .. $myurl is translated to getenv("HTTP_HOST") on the fly 2005-02-18 22:16:48 +00:00
Scott Ullrich
3d335c4dbd Update tab codef. 2005-02-18 19:03:04 +00:00
Scott Ullrich
7c061036a1 Add tab code. 2005-02-18 17:21:54 +00:00
Scott Ullrich
549912e311 Check that $pkg['adddeleteeditpagefields']['columnitem'] exists before foreaching through it. 2005-02-16 19:32:54 +00:00
Scott Ullrich
8596e0a417 Enclose the php call in <?php ?> 2005-02-09 04:44:28 +00:00
Scott Ullrich
ad2987f13a Add savemsg get parm. 2005-02-05 23:26:28 +00:00
Scott Ullrich
2c634bddb0 Add support for vpn_selection. 2005-01-18 01:26:43 +00:00
Scott Ullrich
2cf712c449 Add type column to adddeleteeditpagefields allowing for the script to answer yes and no for checkbox items. 2005-01-18 00:01:05 +00:00
Scott Ullrich
7c53996539 Add package edit buttons 2005-01-11 18:35:18 +00:00
Scott Ullrich
b49448acd9 Update a few (C) 2005-01-10 06:24:02 +00:00
Scott Ullrich
f9a91638b3 Add new custom_php_command_before_form directive which is handy to setup function evals that can be hooked into throughout the life of a package 2005-01-05 01:07:19 +00:00
Scott Ullrich
a28c8b5979 Correct package header name 2004-12-29 00:37:35 +00:00
Scott Ullrich
e55a0a2556 Make sure item is array before traversing. 2004-12-23 00:16:19 +00:00
Scott Ullrich
65dd1ea396 Stray a. 2004-12-22 00:26:53 +00:00
Scott Ullrich
3a35ed1933 Dont delete pkg* here, delete in pkg_mgr only. 2004-12-22 00:25:49 +00:00
Scott Ullrich
090d69c082 Remove package manifest after usage forcing fresh package listing each time you enter packaage manager. 2004-12-21 18:50:16 +00:00
Scott Ullrich
116b51148c Remove package manifest after usage forcing fresh package listing each time you enter packaage manager. 2004-12-21 18:47:13 +00:00
Scott Ullrich
3eaeb70338 Changes for nmap and packages that do not require anything to be saved. 2004-12-21 18:03:50 +00:00
Scott Ullrich
0bb335f43c document the new xml variable setting routine 2004-12-21 01:49:43 +00:00
Scott Ullrich
e3c4b6b767 Finish packaging storage mechanism. Upon package deletin the package manager will loop through the variables and set them so that you can invoke commands such as system("pw userdel " . $username); from the xml configuration file. 2004-12-21 01:46:29 +00:00
Scott Ullrich
d47013e119 Say hello to the pkg_edit.php automated gui creation utility!
http://www.pfsense.com/screens/pkg_mgr.JPG
http://www.pfsense.com/screens/pkg_edit.JPG
2004-12-13 00:58:59 +00:00
Scott Ullrich
859329c867 * converted return_menu to return_ext_menu in fbegin.inc.
* fixed interfaces left menu from not displaying additional interfaces by saving and restoring config value.
* equipped edit.php with the pfSense theme so it looks uniform
2004-12-12 20:25:24 +00:00
Scott Ullrich
a7f908dbec * Add pkg.php which will parse the package xml file and present an interface (see http://www.pfsense.com/screens/pkg.JPG )
* Correct behavior of pkg_mgr.php when multiple packages are included
* Other minor cleanups
2004-12-12 20:05:38 +00:00