Merge pull request #165 from Bouwdie/services_dhcp_relay
Covnert services_dhcp_relay + bugfix in IpAddress
Remove 'form-control' class from file inputs
Refs. #180
Added fix in IpAddress to check if a mask is set to prevent a method call on a non object.Migrated form.Moved server input to an array form value.
ensure gettext and htmlspecialchars are correctly called
system_authservers - fix toggle by making it explicit fixes #108
also allow calling toggles without any arguments
introduce Form::setMultipartEncoding() for uploading files
Revert "Merge pull request #100 from sbeaver-netgate/halt"
This reverts commit 5bd406696ae634b3993d79a8b9aef03eeab42488, reversingchanges made to b9bd62735f2afb818d9ff3afd399c6c7d3b904c5.
Prepare for different width, make widths static
refs #141
Form - show all global Buttons in a single wrapper
fixes #135
Merge pull request #100 from sbeaver-netgate/halt
Updated halt.php for consistency with reboot.php
IpAddress - set correct validationpattern, toggle mask based on family
IpAddress - move from max mask=32 to 128, removed method-default @ fw_edit
Merge branch 'diag_routes' of https://github.com/sbeaver-netgate/pfsense into sbeaver-netgate-diag_routes
refs #91
make construct less strict to allow hiding submit button
dig_routes Update complete
Javascript required update for bootstrap compatibility.Form.class.php updated so that form button is not drawn if the buttonname is empty.
Input - for type=number, default to min=1 & step=1
Group - add support for $params in setHelp
Group - only push placeholder if Input doesn't have it yet
Input - introduce hasAttribute method
refs #56
removing unused maintable.inc
Merge branch 'master' into bootstrap
Merge branch 'master' of github.com:pfsense/pfsense
Bugfix; textarea needs form-control class too
Introduce Group::enableDuplication and Input::setIsRepeated
also fix label-target, was based on name but should be ID instead. Alsomake ID unique to facilitate functionality
refs #45
Multiple Inputs in group = copy Title to placeholder
fixes #56
Merge branch 'sbeaver-netgate-diag_dns' into bootstrap
- refactored Form_Table to plain html- put results below form- reverted a few unintentional changes
Merge branch 'diag_dns' of git://github.com/sbeaver-netgate/pfsense into sbeaver-netgate-diag_dns
IpAddress - make range go down instead of up
Input - better chaining plus added setPattern, IpAddress - chaining fix
Combo changes to support diag_dns.php
Version allows button to be suppressed
Add a table to a section by passing it a two-dimensional array
Is there a better way to do this? Can the table position be controlled?
Allow "Save" button to be suppressed
new Form(false) suppresses the “Save” button so that you can then addyour won custom button.
Fix a few misc encoding issues in load balancer code.
replace Input->column methods with generic Element plus fixes
Form.class - fix adding offset to submit buttonCheckbox - add class to column, not input. Fix displayAsRadio returnElement - no longer abstract, used as a generic element in Input
fixes #43, refs #37
refactor attributes from Input to Element to make it a bit more generic
fixes #37, refs #21
Merge branch 'form-element' of https://github.com/psophis/pfsense into psophis-form-element
Proof of concept for Form_IpAddress that shows a mask-selector too
refs #23
Move attribute to Form_Element
- Removes redundant code- Adds the ability to remove attributes- Can now add attributes to Form- getHtmlAttribute() returns all attributes including class
Conflicts: usr/local/www/classes/Form/Button.class.php usr/local/www/classes/Form/Select.class.php
Select - fix selected for multiple (again), correct order in js
Button - fix title when not <a>, Input - no need for tempvar
Add copyright headers to Form classes
Minor fixes in forms, introduce Textarea
Button - make sure we correctly escape link & textSelect - with multiple selected values; look at keys instead of valuesStaticText - switch Input::__construct argsTextarea - introduce
Return object after instantiation
Fix Form_Section so you can add classes
Make it possible to add multiple classes at once
Fix $title
Form - add setAction for adding custom _GET parameters
Button - renamed parameter, put $title into value attribute
refs #11
clarify Button, centralize A vs INPUT logic
refs b125fab2ba
Introduce Form_Button, which can morph into <a class=btn>
fixes #11
After instantiation return object. Return object after setWidth.
Major change: require caller to specify name of inputs
no longer do we automatically determine an input-name; it meant a lot ofbackend-changes (or forceName calls). This commit fixes all occurencesexcept for firewall_rules_edit
refs #16
moved setSubmit to addGlobal, to be used for hidden inputs
fixes #10, #11
Merge branch 'bootstrap' of github.com:SjonHortensius/pfsense into bootstrap
Replaced addSubmit by addGlobal, which will be used for hidden inputs
Group - add support for additional classes by using Element::getHtmlClassInput - if we have no columnClasses or help, don't wrap ourself in DIV
Merge pull request #15 from SanderVanLeeuwen/bootstrap
Pass checkbox value to parent constructor
correct 2 typos
Form_Input - forceName should actually use parameterfirewall_rules_edit - add Inputs to Section, not form
Initial version of converted firewall_rules_edit
Select - update name to name[] when multiple=true
Form_Select - handle selected values
Support data-toggle=disable
Checkbox - moved call to better locationSelect - use parent:: for attributesInput - add support for attributes without valuepfSense.js - implement data-toggle=disablesystem_adv_admin - set disabled state on certificate
Don't treat >name special, just put it in attr; fixes Select.id
Select - name is no longer special, use $attr and get a free IDCheckbox - make displayAsRadio return itself for chainingInput - move name to attr; plus remove support for input without $title...
Add support for sprintf to setHelp
clean - fix typo in php-end-tag cleanerInput - support sprintf parameterSelect - put option-names through gettext
Add id attribute to input elements
Fix name attr for Select, implement Checkbox::displayAsRadio
final touches on Forms
system - removed trailing unused form-htmlForm - set proper width for submit-button columnElement - support returning raw-list for InputsGroup,Input - renamed getColumnWidth to getWidthInput - make setWidth consistent with Form->setWidth, directly add...
finalized Form classes, allowed add/removeClass on all elements
+ add overloadable submit button
whitespace changes; renamed classes to Form_ prefix
New POC for generating forms through PHP classes
reduce the amount of html c/ping by keeping the amount of meta-data limited
remove old DISABLE_PHP_LINT_CHECKING, which dates way back to the CVS days and hasn't been relevant in years.
Tidy up "maintable.inc" XHTML
Change escaped single quotes to just a single quote
Merge branch 'master-br' of https://github.com/ayvis/pfsense into ayvis-master-br
standardize on www.pfsense.org and HTTPS, point package URLs topackages.pfsense.org
xhtml Compliancereplaced <br>, <br/> and </br> with <br />
Update HTML code in "include" files
Close BR, INPUT and IMG tabs, update the IMG tags with "alt" and updatethe TABLE tags with "summary".
Update SCRIPT with proper CDATA sections.
fix double click to edit
Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to include 2009 on files that I have asserted (C) on