summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/pkg_edit.php
Commit message (Collapse)AuthorAgeFilesLines
* Reengineer Form_Button setAttributePhil Davis2016-03-201-3/+1
| | | | | | As per what was done for https://github.com/pfsense/pfsense/pull/2765 - do it to the rest of them. Seems to work OK.
* Revert "Merge pull request #2728 from phil-davis/form_button"Renato Botelho2016-03-151-3/+3
| | | | | This reverts commit a32bed49516f3df3d104a5026a5b2c74451f348f, reversing changes made to 9ec9978267a5d1985d6da8ba35d52b7174239d2f.
* Merge pull request #2728 from phil-davis/form_buttonStephen Beaver2016-03-141-3/+3
|\
| * Internationalize Form_Button textPhil Davis2016-03-111-3/+3
| | | | | | | | | | | | The text of a Form_Button is not translated internally. Some Form_Button calls already had the button text enclosed in gettext(), this does it for the remaining ones.
* | Some safety belts to avoid presenting PHP errors to the user. Ticket #5973jim-p2016-03-111-1/+6
|/
* More icon/button inconsistencies. Ticket #5965jim-p2016-03-101-3/+17
|
* Add the ability for packages to control their button icon and class. Ticket ↵jim-p2016-03-101-1/+14
| | | | #5965
* Add button on pkg needs fa-plus, too. Ticket #5965jim-p2016-03-091-2/+4
|
* Print help text when passed as "description" for a select_source.Luiz Otavio O Souza2016-02-231-3/+4
|
* Headers don't need HTML entitiesNewEraCracker2016-02-161-1/+1
| | | | This commits fixes form submission on Services/UPnP redirecting to an URL with & on it.
* Show page title because that's where page help icon is displayed.k-paulius2016-02-141-0/+1
|
* Review alert wording. End sentence with period, remove redundant 'Warning', ↵k-paulius2016-02-141-1/+1
| | | | 'Error', etc. prefixes, since alerts are now color coded. Remove <b> tags.
* Remove redundant gettext callk-paulius2016-02-101-2/+2
|
* Convert section titles to title casek-paulius2016-02-101-2/+2
|
* Internationalization of pkg*.phpPhil Davis2016-01-251-2/+3
| | | | | | | | Various sentences were being built up from gettext() of individual words or phrases concatenated together. That will not work for translation to languages with different word order, so I have restructured that. Note: TODO: The countdown timer text with seconds countdown is all in JS so I will think about how that can be translated nicely.
* Fix #5794 remove print_info_box_np chackes for gettext("apply")Phil Davis2016-01-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 1) Get rid of the stristr() checks to "guess" if an apply button should be used. 2) Change print_info_box() so it can take a button name of "close" , "apply" or none to decide which button to show. 3) Delete function print_info_box_np_undo() - nothing calls it. 4) Add new function print_apply_box() to provide an easy wrapper for print_info_box() with the parameters to be 'warning' level and 'apply' button. 5) Change print_info_box_np() calls to just print_info_box() or print_apply_box() as appropriate. There is 1 direct call to print_info_box_np() from vpn_ipsec_mobile.php remaining. That tries to make a "create" button. It was not working before this change. It needs to be sorted out and fixed separately. After this change there is no dependency on a string containing text like "apply" to make the apply button appear. Then we can work on re-engineering the internal code of print_info_box_np() print_info_box() and print_apply_box() to fit together however we like. It should be easy to preserving the current API to print_info_box() and print_apply_box().
* Replaced jQuery to $ in same filesFrancisco Cavalcante2016-01-221-9/+9
|
* Do not call gettext() for empty stringRenato Botelho2016-01-211-1/+1
|
* Test for an array here to avoid an error if the var isn't an arrayjim-p2016-01-171-0/+3
|
* Merge branch 'print_info_box' of https://github.com/phil-davis/pfsenseStephen Beaver2016-01-111-1/+1
|\ | | | | | | | | * 'print_info_box' of https://github.com/phil-davis/pfsense: Redmine #5759 print_info_box style
| * Redmine #5759 print_info_box stylePhil Davis2016-01-111-1/+1
| | | | | | | | Define the 'success' 'info' etc style of calls to print_info_box()
* | Added support for <collapse> tags in listtopic fields. e.g.:Stephen Beaver2016-01-111-1/+16
|/ | | | | <collapse>closed</collapse> // Creates a panel that is collapsible and iniatially closed <collapse>open</collapse> // Creates a panel that is collapsible and iniatially open
* Update pkg_edit.phpBBcan1772015-12-241-2/+2
| | | * Incorrect variable name in pkg_edit
* Added support for <width> on inouts and aliases.Stephen Beaver2015-12-231-30/+26
|
* Fixed #5668Stephen Beaver2015-12-231-1/+0
|
* Add trash can icon to rowhelper delete buttonsStephen Beaver2015-12-221-1/+3
|
* Remove name collision in $width attributeStephen Beaver2015-12-221-3/+3
|
* Accommodate <width> XML tag in rowhelper input fieldsStephen Beaver2015-12-221-2/+9
|
* Move width:auto style to textarea handler in pkg_edit.phpStephen Beaver2015-12-221-1/+3
|
* Adds support for <width> XML tag in rowhelper selectsStephen Beaver2015-12-221-29/+30
|
* Added support for rows, cols and wrap to Forms_Textarea and to pkg_edit.phpStephen Beaver2015-12-211-17/+27
|
* Test for #5676Stephen Beaver2015-12-211-2/+11
|
* Remove $closehead variableColin Fleming2015-12-191-4/+1
| | | | Remove unused variable $closehead
* Support <savehelp> package tag to allow adding help text to the save button.Stephen Beaver2015-12-161-2/+13
|
* Remove all pfSense_MODULE and pfSense_BUILDER_BINARIES definitions, whatever ↵Renato Botelho2015-12-151-4/+0
| | | | was the reason they were added, it was never finished and it's not being used
* Merge pull request #2237 from phil-davis/r009Stephen Beaver2015-12-151-43/+52
|\
| * Code style pkgPhil Davis2015-12-151-43/+52
| |
* | pkg_edit curliesPhil Davis2015-12-151-1/+2
|/ | | | This looks wrong - with the way the curlies were, the custom_php_after_form_command stuff was inside the ($pkg['note'] != "") block. It looks like these should be 2 independent if statement blocks.
* Add gettext() calls to title elementsStephen Beaver2015-12-141-7/+11
|
* Parse package title, splitting into an array delineated by '/'.Stephen Beaver2015-12-141-0/+4
| | | | So if the package title is "Services/Magic" the $pgtitle will be array("Services", "Magic") and the breadcrumb display will be as expected.
* Automatic panel collapse defines moved to jquery/pfSenseHelpsers.jsStephen Beaver2015-12-141-3/+2
| | | | | | define(COLLAPSIBLE, 0x08); define(SEC_CLOSED, 0x04); define(SEC_OPEN, 0x00);
* Merge pull request #2161 from heper/patch-1Stephen Beaver2015-12-141-19/+27
|\
| * problem with $only_editheper2015-12-051-2/+5
| |
| * proposed fix breadcrumb pkg xmlheper2015-12-051-19/+24
| |
* | Fix field description/name display of select_source package fields.jim-p2015-12-081-3/+3
|/
* fix syntax errorsheper2015-12-031-2/+2
|
* Support the fieldtype "<sethelp>" for checkboxes.Stephen Beaver2015-12-031-3/+5
|
* Support <comment> tag in package XMLStephen Beaver2015-12-021-1/+3
|
* Tidy up Boolean operators for HTML5Colin Fleming2015-11-291-3/+3
| | | | | Remove the XHTML standard Boolean operators (makes reading HTML much simpler).
* Calling all of these "Page" in the privilege name is redundant since they ↵jim-p2015-11-251-1/+1
| | | | are all pages and the "WebCfg" prefix implies they are pages.
OpenPOWER on IntegriCloud