summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_unbound.php
Commit message (Collapse)AuthorAgeFilesLines
* Services - PunctuationNOYB2016-04-211-1/+1
| | | | | | Clean up some services menu punctuation. (cherry picked from commit e78ecb9681106889f94b5c7f7b1dbf7b46f54766)
* Merge pull request #2816 from ↵Stephen Beaver2016-04-041-6/+5
| | | | | | NOYB/Services_/_DNS_Resolver_-_Remove_Personalizations (cherry picked from commit 09aad9f8a6f190f4ca5cf2f08a824af695da6304)
* Echo boolean value instead of stringNewEraCracker2016-03-211-1/+1
| | | | Prior to this change, code would echo an empty string if false and 1 if true. In all other files, with similar code, boolean representation is printed.
* Services / DNS Resolver / General SettingsNOYB2016-03-191-4/+1
| | | | | | Static should be static. Elements that don't need to be dynamic should be static. More robust than depending on client-side processing to set them.
* Much cleaner like this.NOYB2016-03-181-6/+1
|
* Services / DNS Resolver / General SettingsNOYB2016-03-181-3/+10
| | | | | Echoing $pconfig['custom_options'] directly into JavaScript is prone to breaking the script by creating invalid syntax due to characters such as line feeds etc. Best to transfer a flag from PHP.
* Redmine #5994 Standardize Unbound custom options buttonPhil Davis2016-03-171-10/+39
| | | This is the last piece of code I have for standardizing "advanced" buttons in the UI.
* Revert "Merge pull request #2728 from phil-davis/form_button"Renato Botelho2016-03-151-1/+1
| | | | | This reverts commit a32bed49516f3df3d104a5026a5b2c74451f348f, reversing changes made to 9ec9978267a5d1985d6da8ba35d52b7174239d2f.
* Internationalize Form_Button textPhil Davis2016-03-111-1/+1
| | | | | | 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.
* Advanced button consistency. Ticket #5965jim-p2016-03-101-2/+4
|
* Add Actions column headingPhil Davis2016-03-081-2/+2
| | | | to other places where it was missing, for UI consistency.
* Bring all calls of print_info_box to same standardNewEraCracker2016-02-151-2/+2
| | | | The call itself to print_info_box already echoes the content. There is no need of additionally using the short-open-echo tag on those calls to echo return value. The previous implementation shouldn't yell any visible issues as return is 'NULL' (undefined) which casts to an empty string when printing. But, just for the sake of conformity, this changes are advisable in my opinion.
* Review alert wording.k-paulius2016-02-141-1/+1
|
* Synchronize page title with tab title. Convert page title to title case.k-paulius2016-02-121-3/+3
|
* Use a better check for whether there are DNS servers available with dynamic ↵Chris Buechler2016-02-061-5/+4
| | | | WAN types. Ticket #4747
* Verify a DNS server exists before allowing enabling of forwarding mode. ↵Chris Buechler2016-02-061-0/+26
| | | | Ticket #4747
* Merge pull request #2120 from ↵Renato Botelho2016-01-281-13/+1
|\ | | | | | | NOYB/Services-DNS_Resolver-System_Domain_Local_Zone_Type
| * Remove unnecessary checks. Code prevents var from being empty.NOYB2016-01-251-9/+0
| | | | | | | | Wrap var in string with braces.
| * Move unbound local zone types array to function in unbound.inc.NOYB2016-01-251-13/+1
| | | | | | | | Protect against breaking the system; check for valid unbound local zone type rather than just the setting existence.
| * Remove errant var set to self.NOYB2016-01-251-1/+0
| |
| * Break long line of local zone types list.NOYB2016-01-251-1/+11
| |
* | Standardize print_apply_box usagePhil Davis2016-01-271-1/+1
|/ | | | | | | | | | 1) For the translators, it should be better to do it consistently. Then they only need to have 1 translation of "You must apply the changes in order for them to take effect" and can translate each of the other custom sentences individually. 2) The full-stop should always go at the end of the sentence, inside the gettext(). There are some languages where the full-stop is not the same as European. e.g. In Nepal we use the vertical bar for end of sentence.
* add call gettext function in the services menubruno2016-01-251-8/+8
|
* 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().
* Allow thee use of multiple infoblock on a pageStephen Beaver2016-01-111-1/+1
|
* Change the automatic information block to look for <div class="infoblock" ↵Stephen Beaver2016-01-071-1/+1
| | | | | | instrad of <div id="infoblock" Just makes more sense to use a class for this
* Adjust more calls to print_info_box with unquoted stringsNewEraCracker2016-01-071-1/+1
|
* Fixed bug to disable dns resolver serviceFrancisco Cavalcante2015-12-231-18/+15
|
* Remove $closehead variableColin Fleming2015-12-191-1/+0
| | | | Remove unused variable $closehead
* Code style servicesPhil Davis2015-12-171-6/+9
|
* Remove all pfSense_MODULE and pfSense_BUILDER_BINARIES definitions, whatever ↵Renato Botelho2015-12-151-3/+0
| | | | was the reason they were added, it was never finished and it's not being used
* Revise child iconStephen Beaver2015-12-141-1/+1
|
* Add fa icon to show override is a childStephen Beaver2015-12-141-0/+1
|
* Standardize DNS Resolver breadcrumbsPhil Davis2015-12-071-1/+1
|
* Remove txtsupport from Unbound. Of limited use, and the back end code was ↵Chris Buechler2015-12-031-12/+0
| | | | never ported over from the package (and is messy to do so). Ticket #5545
* Services - DNS Resolver - System Domain Local Zone Type OptionNOYB2015-12-011-0/+27
| | | | Expose system domain unbound local-zone type to be configurable.
* Type up SCRIPT tagsColin Fleming2015-11-291-1/+1
|
* Listen port type should probably be 'number' instead of 'text'NOYB2015-11-271-1/+1
|
* Listen Port Config Not Being Saved - Correct it.NOYB2015-11-271-0/+1
|
* Services DNS Resolver Listen Port PlaceholderNOYB2015-11-271-1/+2
| | | | Add default value (53) placeholder.
* Merge pull request #2115 from ↵Renato Botelho2015-11-261-5/+5
|\ | | | | | | NOYB/Services-DNS_Resolver-Host_Overrides-Case_Sensitivity
| * Services - DNS Resolver - Host Overrides - Case SensitivityNOYB2015-11-251-5/+5
| | | | | | | | Host and domain names are not case sensitive. Maintain display case as entered.
* | 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.
* | Various updates to privileges and related metadatajim-p2015-11-251-1/+1
|/
* Typo fixStephen Beaver2015-11-241-1/+1
|
* Change Form_TextArea to Form_TextareaStephen Beaver2015-11-231-1/+1
| | | | (autoload now makes the classes case sensitive)
* Completed #5407Stephen Beaver2015-11-231-1/+1
|
* Correct Form_TextArea -> Form_TextareaStephen Beaver2015-11-231-1/+1
|
* 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.
* Add tr/td to empty tbodys for Microsoft IEStephen Beaver2015-11-191-0/+1
|
OpenPOWER on IntegriCloud