summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/pkg_edit.php
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Change Form_TextArea to Form_TextareaStephen Beaver2015-11-231-4/+4
| | | | (autoload now makes the classes case sensitive)
* Added use of class autoloading (GUI stuff only)Doug Wollison2015-11-231-2/+0
| | | | | Any GUI script that loads the guiconfig.inc file will have access to the autoloader.
* Always honor the required tag in package XML fieldsdoktornotor2015-11-211-1/+1
| | | Dunno whose idea it was to restrict this to input. WTH really.
* pkg_edit.php - base64 encoding/decoding fixes (Bug #5134)doktornotor2015-11-171-2/+15
| | | | | | | Currently, the base64 is only usable for textarea fields - see Bug #5134 for details. This adds base64_decode() to input and password field types if &lt;encoding&gt;base64&lt;/encoding&gt; tag is set for those fields (also for rowhelpers) to prevent the values from getting perpetually re-encoded which makes it unusable for those field types. Ideally, usage of the &lt;encoding&gt; tag should be prevented for fields type where it doesn't make any sense whatsoever, someone else needs to look into that, the packages.dtd XSD schema is a pathetic useless POS.
* Fixed #5443Stephen Beaver2015-11-141-16/+12
|
* Copyright and license cleanupRenato Botelho2015-11-091-1/+0
| | | | | | - Remove personal copyright from people who assigned it to employer (ESF) - Remove $Id$ - Remove extra spaces
* EOL whitespace and header consistency for wwwPhil Davis2015-11-091-2/+2
|
* Javascript refine to hide Delete row button if there is only one rowStephen Beaver2015-10-271-1/+4
|
* Random comment typos like htePhil Davis2015-10-231-5/+5
|
* Comment typoStephen Beaver2015-10-021-1/+1
|
* Create a Form_Section if hte XML has not yet defined oneStephen Beaver2015-10-021-0/+5
| | | | https://forum.pfsense.org/index.php?topic=100249.0
* Completes #5159Stephen Beaver2015-10-021-166/+0
| | | | All duplicated JS removed to included file
* Fixed #5206Stephen Beaver2015-09-291-2/+3
| | | | Completes conversion of the pkg* files
OpenPOWER on IntegriCloud