Commit Graph

77 Commits

Author SHA1 Message Date
Phil Davis
ce77a9c4bd Fix lineup of copyright lines
and module names and other bits of formatting and typos in header
comment sections.
2015-01-01 15:11:15 +05:45
Renato Botelho
ed2d13436a Welcome 2015 2014-12-31 16:22:00 -02:00
Renato Botelho
ae38cb75cc Pass path parameter through htmlpecialchars() 2014-11-18 11:54:52 -02:00
Jim Thompson
dd447bde2b modify copyright statement to reflect reality 2014-11-10 22:49:50 -06:00
Colin Fleming
74286b9ebd Tidy up "edit.php" XHTML
Add PHP closehead variable and close HEAD manually
Add CDATA sections to SCRIPTS
Add SUMMARY to TABLES
Add JavaScript code to take off wrap in TEXTAREA tag
2014-05-17 17:30:26 +01:00
Charlie Marshall
4fd091046f remove css 2013-08-18 22:37:48 +01:00
Ermal
c0f613e298 Add these file so they get added during regeneration 2012-11-20 14:23:01 +00:00
Ermal
b71f0cbb05 Resolves #2294. Base64 encode the file when sending to the browser same way it is encoded when sent to us. This prevents csrf from mangling things 2012-11-20 14:06:12 +00:00
Ermal
55344e2c5d Allow only post action and not get to avoid security problems 2012-11-20 09:19:25 +00:00
Darren Embry
a38ea8d88e fix for: Output from CSRF magic mangles files in Diagnostics > Edit File
http://redmine.pfsense.org/issues/2294
2012-03-21 12:47:25 -04:00
Vinicius Coque
e3c1ea9b9a converting from prototype to jQuery 2011-10-16 18:05:23 -02:00
Ermal
9fbb35996f Add missing pages to the authentication system. 2011-03-04 21:53:07 +00:00
Erik Fonnesbeck
0f806ecab4 Upon restoring a config, replacing whole sections, or editing config.xml in edit.php, prevent possible accidental lockout from DNS rebind and HTTP referrer checks by disabling them until reboot or the next time they pass, whichever comes sooner. Ticket #1027 2010-11-21 10:23:34 -07:00
Ermal
c13b0b3103 Ticket #777. Use Base64 encoding for file content so javascript/php does not get confused! 2010-08-31 15:34:27 +00:00
Scott Ullrich
ee650539a2 Revert "Restart dnsmasq on change in case of dns rebinding changes"
This reverts commit a94e3f2016.
2010-08-30 18:04:00 -04:00
Scott Ullrich
a94e3f2016 Restart dnsmasq on change in case of dns rebinding changes 2010-08-30 18:02:42 -04:00
Carlos Eduardo Ramos
a1c2ef43fc Implement gettext() calls on edit.php 2010-07-29 17:40:21 -03:00
jim-p
1fa00d6d70 Strip windows carriage return (^M) on save. IE adds this, and it can break certain files that don't expect to deal with it. 2010-06-17 10:28:32 -04:00
jim-p
5a557f44a3 Fix file editing on NanoBSD 2010-01-03 12:49:53 -05:00
Scott Ullrich
7ac5a4cb18 Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to include 2009 on files that I have asserted (C) on 2009-09-14 19:14:40 -04:00
mcrane
df61b7b4ad Escape & and + for Diagnostics -> Edit File so that files save correctly. 2009-06-27 21:14:19 -06: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
447611c415 Remove stray 1 2008-09-28 05:28:25 +00:00
Scott Ullrich
fae0b5112d * Remove debugging code
* Hide syntax highlighting option for now
2008-09-28 05:26:48 +00:00
Scott Ullrich
bd125eb250 Do not encode, AJAX function handles. 2008-09-28 05:24:23 +00:00
Scott Ullrich
5f05c1e819 Automatically remote /tmp/config.cache if it exists after file save. 2008-09-28 05:06:36 +00:00
Scott Ullrich
ccce75df84 Appear for both cases 2008-08-31 01:49:40 +00:00
Scott Ullrich
e6c4670d0b Reverse fade order 2008-08-31 01:40:57 +00:00
Scott Ullrich
39fb987421 Fade out edit box when we are browsing. Fade it back in when file is loaded. 2008-08-31 01:16:10 +00:00
Scott Ullrich
fdb38c10f3 We do not have a toolbox on RELENG_1. 2008-08-31 00:04:22 +00:00
Scott Ullrich
0d6a185a72 Backport edit.php from HEAD, which is Dead, Zed. 2008-08-30 23:34:04 +00:00
Scott Ullrich
acc4d42539 Do not show Apply button after saving by changing save text slightly. 2008-08-30 03: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
Scott Ullrich
36d0358b56 Add product_copyright re-branding support
Add product_copyright_years re-branding support
Add product_website re-branding support
Add product_email re-branding support

Work sponsored-by: Centipede Networks
2007-12-16 20:43:26 +00:00
Scott Ullrich
a2bb45861a edit.php show an error on opening an empty file
Ticket #1519
2007-11-24 01:26:52 +00:00
Scott Ullrich
d88c6a9fdf Switch over to array style page titles. Obtained-from: m0n0wall 2007-11-16 00:48:53 +00:00
Seth Mos
b5c7850109 Fixing css layout 2007-09-01 20:47:31 +00:00
Scott Ullrich
ad6eae25dc Allow loading of text from outside scripts such as snort. 2006-09-26 22:49:53 +00:00
Scott Ullrich
b66aa8326c Remove highlighting function, it doesn't work. 2006-08-26 19:54:34 +00:00
Scott Ullrich
5cfb93bc64 When editing config.xml, automatically kill /tmp/config.cache if it exists as the user does not wish for config.xml to be restored from the cache.
This makes it easier to edit config.xml from the Diagnostics -> Edit menu.
2006-08-09 02:29:54 +00:00
Scott Ullrich
0831bc8616 Fix bugs found by eclipse 2006-01-15 03:11:31 +00:00
Scott Ullrich
e54d4de6d5 Remove #!/usr/local/bin/php 2006-01-02 23:46:18 +00:00
Scott Ullrich
8e0e58ffb7 Cleanup misc editor nits 2005-07-24 18:34:36 +00:00
Scott Ullrich
48581bb7f2 Include head.inc 2005-07-15 20:53:42 +00:00
Bill Marquette
998abf60ac use pgtitle for standardization
make exec.php look like a "normal" page
2005-07-03 16:05:55 +00:00
Scott Ullrich
6e558e52ba Move load and save button next to save and load path 2005-07-03 02:35:42 +00:00
Scott Ullrich
ab541dbbda missing <br> 2005-07-03 02:26:25 +00:00
Scott Ullrich
8a1ec45d07 Curvify 2005-07-03 02:23:37 +00:00
Scott Ullrich
b16def07a0 Curvify 2005-07-03 02:17:28 +00:00
Scott Ullrich
ee6d9b3481 Adjust size to keep bottom from moving 2005-07-03 00:54:01 +00:00