Commit Graph

195 Commits

Author SHA1 Message Date
Colin Fleming
81ecdc6c00 Update "pkg_edit.php"
Move closing TR tag outside, otherwise the 'foreach' statement will
produce a duplicate closing TR tag.
2013-05-02 19:02:55 +01:00
Colin Fleming
8612c53938 Update "pkg_edit.php"
Add missing closing B tag
Add missing closing TD tag
2013-04-22 12:09:32 +02:00
Colin Fleming
2a83d2bd00 Tidy up "pkg_edit.php" XHTML
Remove duplicate $size variable
Add summary statement to TABLE tags
2013-04-16 19:22:15 +01:00
Colin Fleming
2e606955ba Tidy up "pkg_edit.php" XHTML
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
2013-04-15 14:08:36 +01:00
Colin Fleming
8df076fe35 Update pkg_edit.php
Correct CDATA sections in SCRIPT tag
Correct ALT statement in IMG tag
2013-04-14 21:48:03 +02:00
Colin Fleming
7c8bce79ea Update pkg_edit.php
Correct CDATA section in SCRIPT tag
2013-04-14 21:43:23 +02:00
Colin Fleming
befa8be057 Tidy up "pkg_edit.php" XHTML
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
2013-04-14 13:37:11 +01:00
Luiz Gustavo Costa (gugabsd)
cfa845a9ce Add onchange tag to checkbox too 2013-02-24 03:18:54 -03:00
Phil Lavin
80d5bd413f Fix PHP errors relating to using string offset as an array 2013-02-05 14:31:10 +00:00
bruno
b89a8cbce6 add input autocomplete array aliases 2012-12-06 17:06:23 -02:00
jim-p
313a14f759 More encoding... 2012-10-31 16:01:35 -04:00
Charlie Root
504a57b238 pkg_edit - add show_disable_value option to select_source xml option 2012-07-06 18:54:43 -03:00
jim-p
2c51f29386 If a package has donotsave, still process its input validation. Properly handle preoutput in the case of input errors also. 2012-06-28 19:58:59 -04:00
Marcello Coutinho
1624b5f1e2 fix select_source option 2012-06-07 15:59:49 -03:00
Marcello Coutinho
e14fbca4fa include more features to interfaces_selection
<showips>
<showvirtualips>
<showlistenall>
<hideinterfaceregex>

New features will show only with these new options on xml file
2012-06-01 18:34:27 -03:00
Marcello Coutinho
55c846c445 new pkg_edit.php code with revised functions, no 0-99 loop on row_helper, 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.
2012-05-31 18:49:05 -03:00
bcyrill
098686aff1 Fix tag order. 2012-04-12 21:50:43 +03:00
bcyrill
2afb2c3758 Removed flawed HTML. 2012-04-11 19:34:49 +03:00
whizkidzz
85a46fbdcd Added interface_selection to choose a interface in tinydns failover selection
Changed the $text so that no "option value" is preselected when adding a newrow with addrowto function.
2012-04-06 16:21:07 +02:00
whizkidzz
44c7059177 Added rowsize[] for use in row_helper_dynamic.js 2012-04-06 16:17:07 +02:00
whizkidzz
177a823e52 Added empty option line so not to write to config.xml if not filled in 2012-04-06 16:13:50 +02:00
Marcello Coutinho
b65ce59a59 Fix missing description in rowhelper. 2011-10-27 19:09:20 -02:00
jim-p
9622da2659 Fix use post here, since the other var isn't defined as it was before my commit yesterday. 2011-07-06 11:47:45 -04:00
jim-p
8aafd58e46 Fix handling of interface selectors in packages. 2011-07-05 15:43:50 -04:00
Warren Baker
91c3133910 Revert "Correct displaying any availble default value."
This reverts commit 01c170c461.
2011-06-22 19:19:41 +02:00
Ermal
01c170c461 Correct displaying any availble default value. 2011-06-14 13:39:03 +00:00
Warren Baker
f8c462dd89 Allow packages to specify that their tabmenus should not be a drop-down list by using a <no_drop_down/> tag. 2011-06-12 16:10:22 +02:00
Scott Ullrich
86ae36217b Allow setting package interfaces to loopback (lo0) 2011-01-19 18:35:51 -05:00
jim-p
5a61331aff Move this validation down so we can still assume id=0 if it's not present, and then redirect if it's non-numeric. 2010-12-07 11:34:15 -05:00
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