summaryrefslogtreecommitdiffstats
path: root/usr/local/www/pkg_edit.php
Commit message (Collapse)AuthorAgeFilesLines
* Welcome 2015Renato Botelho2014-12-311-2/+2
|
* Change copyright statement to reflect realityJim Thompson2014-11-101-0/+1
|
* modify 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/+1
| | | | HTTP_REFERER, there are a couple of places I didn't touch on this commit because it requires more work
* We need to allow subdirectories under /usr/local/pkg, here is the proper fixRenato Botelho2014-06-181-7/+5
|
* Avoid directory traversal when reading package xml files, also check if file ↵Renato Botelho2014-06-171-1/+6
| | | | exists before try to read it
* Replace Header() calls by lowercaseRenato Botelho2014-06-131-1/+1
|
* Update "pkg_edit.,php"Colin Fleming2014-06-051-2/+7
| | | | | | | | | | "custom_php_after_head_command", if the PHP code also contains JavaScript ("squid_auth.xml" for example) then this will cause HTML errors, as you are not supposed to have anything between the closing HEAD tag and the opening BODY tag. Add the CLOSEHEAD PHP variable, move the include HEAD.INC into the PHP IF statement and manually close the HEAD tab, else just include HEAD.INC
* Tidy up Ampersand XHTMLColin Fleming2014-05-271-1/+1
| | | | Deprecate Ampersand in Anchor tags
* fixes Bug #3569Marcello Coutinho2014-04-071-1/+4
| | | | | | | | On packages that uses row_helper when user clicks on add or delete button, the page scrolls to top. It seems something with ajax http://stackoverflow.com/questions/1061580/jquery-click-on-anchor-element-forces-scroll-to-top A simple return false after jquery action fixes the unwanted scroll.
* replaced uppercase html tags with lowercaseayvis2014-03-191-1/+1
| | | | js files saved as UTF-8 / LF language="JavaScript" deprecated, replaced with type="text/javascript"
* xhtml Complianceayvis2014-03-141-12/+12
| | | replaced <br>, <br/> and </br> with <br />
* Update "pkg_edit.php" XHTMLColin Fleming2013-09-261-2/+2
| | | | Update HTML Boolean operator
* Set network interfaces description as interface name.ccesario2013-09-251-1/+3
|
* Remove call-time pass by reference for do_input_validation, helps ticket #2565Renato Botelho2013-09-121-1/+1
|
* Fix #3127Renato Botelho2013-09-061-6/+6
| | | | | | | By default htmlspecialchars does not consider single quotes, what can be a problem when value attribute is set using it. Replace value attribute set to use double quotes on places where it's obviously recieving a result of htmlspecialchars() call.
* Fix #3113, fix multiple english spell errors s/seperet/separat/Renato Botelho2013-07-281-4/+4
|
* Update "pkg_edit.php"Colin Fleming2013-05-021-1/+1
| | | | | Move closing TR tag outside, otherwise the 'foreach' statement will produce a duplicate closing TR tag.
* Update "pkg_edit.php"Colin Fleming2013-04-221-1/+2
| | | | Add missing closing B tag Add missing closing TD tag
* Tidy up "pkg_edit.php" XHTMLColin Fleming2013-04-161-5/+5
| | | | | Remove duplicate $size variable Add summary statement to TABLE tags
* Tidy up "pkg_edit.php" XHTMLColin Fleming2013-04-151-27/+27
| | | | | | | | Close INPUT tags Update HTML boolean operators Add missing start TR tag Remove "name" statement from OPTION tag, invalid in XHTML Remove duplicate "id" statement in SELECT tag
* Update pkg_edit.phpColin Fleming2013-04-141-2/+2
| | | | Correct CDATA sections in SCRIPT tag Correct ALT statement in IMG tag
* Update pkg_edit.phpColin Fleming2013-04-141-1/+1
| | | Correct CDATA section in SCRIPT tag
* Tidy up "pkg_edit.php" XHTMLColin Fleming2013-04-141-25/+31
| | | | | | | Close BR and IMG tags and add ALT statement to IMG tags Change ONCLICK to lower case Move "fbegin.inc" PHP statement before the SCRIPTS Add CDATA sections to SCRIPT tags
* Add onchange tag to checkbox tooLuiz Gustavo Costa (gugabsd)2013-02-241-1/+2
|
* Fix PHP errors relating to using string offset as an arrayPhil Lavin2013-02-051-2/+2
|
* add input autocomplete array aliasesbruno2012-12-061-1/+44
|
* More encoding...jim-p2012-10-311-7/+7
|
* pkg_edit - add show_disable_value option to select_source xml optionCharlie Root2012-07-061-3/+10
|
* If a package has donotsave, still process its input validation. Properly ↵jim-p2012-06-281-79/+82
| | | | handle preoutput in the case of input errors also.
* fix select_source optionMarcello Coutinho2012-06-071-26/+27
|
* include more features to interfaces_selection Marcello Coutinho2012-06-011-29/+50
| | | | | | | | <showips> <showvirtualips> <showlistenall> <hideinterfaceregex> New features will show only with these new options on xml file
* new pkg_edit.php code with revised functions, no 0-99 loop on row_helper, ↵Marcello Coutinho2012-05-311-578/+547
| | | | | | | movable rows, tootip with domtt. new field types button, info as well combinefileds working and colspan2 on nodisplaname option. jquery code improved too. tested on squid, dansguardian, sshdcond , filer , pfblocker package.
* Fix tag order.bcyrill2012-04-121-1/+1
|
* Removed flawed HTML.bcyrill2012-04-111-4/+0
|
* Added interface_selection to choose a interface in tinydns failover selectionwhizkidzz2012-04-061-2/+26
| | | | Changed the $text so that no "option value" is preselected when adding a newrow with addrowto function.
* Added rowsize[] for use in row_helper_dynamic.jswhizkidzz2012-04-061-3/+4
|
* Added empty option line so not to write to config.xml if not filled inwhizkidzz2012-04-061-1/+5
|
* Fix missing description in rowhelper.Marcello Coutinho2011-10-271-0/+1
|
* Fix use post here, since the other var isn't defined as it was before my ↵jim-p2011-07-061-1/+1
| | | | commit yesterday.
* Fix handling of interface selectors in packages.jim-p2011-07-051-5/+6
|
* Revert "Correct displaying any availble default value."Warren Baker2011-06-221-1/+1
| | | | This reverts commit 01c170c4612a4afdbaa2d6e9bf98552dddc1cde3.
* Correct displaying any availble default value.Ermal2011-06-141-1/+1
|
* Allow packages to specify that their tabmenus should not be a drop-down list ↵Warren Baker2011-06-121-3/+5
| | | | by using a <no_drop_down/> tag.
* Allow setting package interfaces to loopback (lo0)Scott Ullrich2011-01-191-0/+1
|
* Move this validation down so we can still assume id=0 if it's not present, ↵jim-p2010-12-071-7/+6
| | | | and then redirect if it's non-numeric.
* Form image buttons are submit buttons and thus default buttons, causing ↵Erik Fonnesbeck2010-11-121-2/+2
| | | | unwanted behavior with the enter key. Use links instead, where possible.
* Add style to rowhelper normal text fields in packages for consistency.Erik Fonnesbeck2010-11-121-1/+1
|
* Fix misc input validation errors. Move routed/* to same dir as pkg itemsScott Ullrich2010-11-061-0/+6
|
* Ensure that the value is returned as 'selected' when using a multiple select ↵Warren Baker2010-09-211-1/+1
| | | | list.
OpenPOWER on IntegriCloud