102 Commits

Author SHA1 Message Date
NOYB
9d96bdcbc7 Help For - Data For Attribute
Use original element (<div>/<small>) with "data-for" attribute.

The old jquery "for" attribute selectors can be removed once conversion to "data-for" attribute is complete (including plugins).

The old jquery selectors to remove once conversion is complete.
  opnsense_ui.js & head.inc
  $("*[for='" + $(this).attr('id') + "']")....
  $('[for*="help_for"]')....
2018-03-17 16:12:55 +01:00
NOYB
4a7bcae7af HTML Compliance - Attribute "for" on Element <div>
Error: Attribute "for" not allowed on element "div" at this point.
Attributes for element "div": http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-div-element

HTML attribute reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes
The "Output" element: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output

Attributes for element "output": http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-output-element
2018-01-06 10:52:17 +01:00
NOYB
b2f4cfa7c1 HTML Compliance - Attribute "type" on Element <i>
Error: Attribute "type" not allowed on element <i> at this point.
2018-01-05 08:36:26 +01:00
NOYB
76aab5cb52 HTML Compliance - Obsolete table attributes
width, align, valign, cellpadding, cellspacing, border, summary

Error: The width attribute on the table element is obsolete. Use CSS instead.
Error: The align attribute on the table element is obsolete. Use CSS instead.
Error: The valign attribute on the table element is obsolete. Use CSS instead.
Error: The cellpadding attribute on the table element is obsolete. Use CSS instead.
Error: The cellspacing attribute on the table element is obsolete. Use CSS instead.
Error: The border attribute on the table element is obsolete. Use CSS instead.
Error: The summary attribute on the table element is obsolete. Consider describing the structure of the table in a caption element or in a figure element containing the table; or, simplify the structure of the table so that no description is needed.
2018-01-04 18:26:02 +01:00
Ad Schellevis
54e06bee9c system/settings/general, simplify theme selection and ditch return_dir_as_array(), also prevents files in the theme directory to show up as selection options 2017-12-15 15:02:31 +01:00
Ad Schellevis
de093f32e0 fix timezone selection, closes https://github.com/opnsense/core/issues/1973 (retry) 2017-12-07 16:12:04 +01:00
Ad Schellevis
f0664c1ec6 Revert "fix timezone selection, closes https://github.com/opnsense/core/issues/1973"
This reverts commit a79be1b112207c6d8d9c47c670dd8bb59b75f9fe.
2017-12-07 16:11:16 +01:00
Ad Schellevis
a79be1b112 fix timezone selection, closes https://github.com/opnsense/core/issues/1973 2017-12-07 16:07:48 +01:00
Franco Fichtner
b605812b71 system: user-based language, no wonder nobody wants works on this ;)
PR: https://github.com/opnsense/core/issues/1218
2017-09-21 22:05:04 +00:00
Ad Schellevis
fdd230e34e filter, ditch more filter_generate_optcfg_array() usage. 2017-09-18 20:29:30 +02:00
Franco Fichtner
9b957e31d6 gateways: several changes
* Plug gateway fixup "feature" into filter_configure_sync(), the
  only point where it should matter as everything else is GUI
  trigger-happy disruption.

* Discourage the use of the "feature" by moving it into the firewall
  advanced settings, adding a deprecated note.

* Use the new system_default_route() call to avoid code drift.
2017-05-31 09:33:21 +02:00
Franco Fichtner
ec3bcbe26b system: also for #1291 2017-05-14 08:05:00 +02:00
Franco Fichtner
4fa4d21140 system: address oddities in general setup 2017-05-14 07:50:33 +02:00
Franco Fichtner
b47c65bc01 system: allow up to 8 nameservers 2017-05-14 07:50:30 +02:00
Franco Fichtner
72223b2db0 system: theme is not stored under system 2017-05-12 10:35:53 +02:00
Franco Fichtner
8c6c1f5ec5 system: change time zone first via @evbevz #1551 2017-04-26 16:58:02 +02:00
Franco Fichtner
6b13ff1dfe Revert "Force restart radvd on TZ change; closes #1551"
This reverts commit 36af267de333a970bedffe54766c8e1aa99b5911.
Looks like dhcp restart already does this by default now...
2017-04-26 16:42:43 +02:00
evbevz
36af267de3 Force restart radvd on TZ change; closes #1551 2017-04-26 16:36:55 +02:00
Franco Fichtner
32f2ddbcf4 src: show save message in correct language after language switch
get_std_save_message() should be removed eventually, there are only a
few callers left.  Out of lack of imagintion, just fix the apparent
issue and remove the attached filter/firewall message that doesn't
really work because it does not look for "firewall" in the script name.
2017-04-19 00:00:22 +02:00
Franco Fichtner
399b9090a4 dns: make DNS services fully pluggable #1491 2017-03-21 08:53:23 +01:00
Franco Fichtner
6801b20c06 src: use the opportunity to scrub supurious ";;" spots 2017-01-07 10:46:06 +01:00
Franco Fichtner
d3376f7f10 src: webConfigurator -> web GUI 2016-12-19 07:16:08 +01:00
Franco Fichtner
c1bd019603 rc: unwind nested calls and $verbose for system_resolvconf_generate() 2016-12-09 09:48:07 +01:00
Ad Schellevis
214385bc78 (system_general.php) performance issue, lookup_gateway_ip_by_name() is very inefficient, don't try to execute if we know it's not a gateway..... 2016-12-02 21:58:42 +01:00
Franco Fichtner
7e75cf2631 dnsmasq: further cleanups for dhcpleases handling for #1226
o Respect the 'dnslocalhost' option, which wasn't previously possible
  because dhcpleases clobbered /etc/hosts directly anyway.
o Align the code with how unbound does it: use a private file for
  the hosts generation.
o HUP dnsmasq at the end of the hosts file regeneration.
o `--dhcp-hostsfile' was really really wrong as /etc/hosts is read
  automatically, and the file specified here should have been adhering
  to the dhcp leases format of on `--dhcp-host' argument per line.
2016-11-23 07:47:07 +01:00
Franco Fichtner
a5fc46bd97 dnsmasq: refactor services_dhcpleases_configure() for #1266 2016-11-22 20:10:54 +01:00
Franco Fichtner
79da7c9a13 dnsmasq: pluginification 2016-11-19 08:52:34 +01:00
Franco Fichtner
3fcf1b3c36 unbound: pluginify 2016-11-18 18:27:36 +01:00
Franco Fichtner
715b636793 unbound: clean up includes and function usage
o consolidate "unbound_" prefix for unbound.inc for pluginification
o services.inc includes unbound.inc rightfully, a bit like a
  plugin would do in the future, but this also means we can
  zap all requires from top pages, which are entirely spurious.
o get_dns_servers() moves to system.inc because it is used by
  status_interfaces.php
o RIP read_hosts()
2016-11-14 11:28:01 +01:00
Franco Fichtner
408ebbef48 dnsmasq: same as previous with bits for #1256 2016-11-13 17:03:26 +01:00
Franco Fichtner
20b3939520 unbound: straighten out the dhcp reload mess, loosely refs #1256
This was done in early 16.7, seems to work fine so finish the
transition, dnsmasq is next...
2016-11-13 17:03:25 +01:00
Franco Fichtner
2a76c4ab9f wizard: add language selection; closes #648 2016-09-27 21:58:09 +02:00
Franco Fichtner
835ad1b754 services: refactor lease handling and dns along with it 2016-07-24 16:12:32 +00:00
Franco Fichtner
224b5d8247 www: util.inc is provided by guiconfig.inc for #1065 2016-07-22 07:12:21 +02:00
Franco Fichtner
ba3f863f2d system: Spanish locale changed for portability 2016-07-05 16:26:14 +02:00
Ad Schellevis
4e3b66c257 zapp pfsense-utils.inc 2016-06-20 16:59:19 +02:00
Ad Schellevis
31cbcff27b (legacy) move calculate_ipv6_delegation_length() to util.inc and change dependencies 2016-06-20 16:47:20 +02:00
Franco Fichtner
ea31c80969 www: more php print issues 2016-06-15 06:32:40 +02:00
Franco Fichtner
a45f5fab0d system: add two more languages in development: Italian and Swedish 2016-06-15 07:25:11 +02:00
Franco Fichtner
b891dc9fd8 system: only two sections for general settings now 2016-06-11 08:00:54 +02:00
Ad Schellevis
eb7a9a31c5 move firmware mirror/flavour settings to firmware page, closes https://github.com/opnsense/core/issues/834 2016-06-06 14:39:40 +02:00
Franco Fichtner
93de08bd36 src: clean up global 'g' handling, still more work to do 2016-05-30 08:36:18 +02:00
Ad Schellevis
0b31dc522f add opnsense_standard_table_form class to forms 2016-05-20 17:09:58 +02:00
Franco Fichtner
d8f5a12d1f system: shuffle more features and bring back ETC zones
PR: https://forum.opnsense.org/index.php?topic=3004
2016-05-20 07:55:01 +02:00
Ad Schellevis
2325fc61a3 fix alignment in System: Settings: General, closes https://github.com/opnsense/core/issues/803 2016-05-12 20:17:18 +02:00
Ad Schellevis
7ab0b3463f (legacy) www: strip action attribute from forms where not needed, closes https://github.com/opnsense/core/issues/929 2016-05-12 19:45:28 +02:00
Franco Fichtner
756389d0a9 system: add Turkish as available language 2016-05-02 07:25:30 +02:00
Franco Fichtner
1bcba39eb2 system: add Portuguese to HEAD 2016-04-24 20:05:31 +02:00
Franco Fichtner
daa479b419 system: tweak previous 2016-04-07 22:24:18 +02:00
Franco Fichtner
eb53c06567 system: migrate ip version prefer option #832 2016-04-07 22:20:57 +02:00