38 Commits

Author SHA1 Message Date
NOYB
6ef9a127ff HTML Compliance - Attribute "type" on Element <script>
Warning: The type attribute is unnecessary for JavaScript resources.

HTML5: Edition for Web Authors
http://www.w3.org/TR/2014/REC-html5-20141028/scripting-1.html
The default, which is used if the attribute is absent, is "text/javascript".

The Script element
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
HTML5 specification urges authors to omit the attribute rather than provide a redundant MIME type.
2018-01-22 19:13:34 +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
Franco Fichtner
b0aa1be38d www: more cleanups possible for #1733 2017-07-22 16:52:50 +02:00
Ad Schellevis
69510a5fad legacy ui pages cleanup for https://github.com/opnsense/core/issues/1733 2017-07-22 15:01:26 +02:00
Franco Fichtner
9b694b705d start to hide IPsec and OpenVPN for pluginification 2017-03-11 17:51:54 +01:00
Ad Schellevis
52b95b80c0 (legacy) cancel button behaviour, closes https://github.com/opnsense/core/issues/1099 2016-12-12 21:34:03 +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
152141866b interfaces: url_safe() redirects for #1168 2016-10-09 18:26:39 +02:00
Franco Fichtner
224b5d8247 www: util.inc is provided by guiconfig.inc for #1065 2016-07-22 07:12:21 +02:00
Fabian Franz
07b0b34773 translation 2016-07-16 15:02:15 +02:00
Ad Schellevis
4e3b66c257 zapp pfsense-utils.inc 2016-06-20 16:59:19 +02:00
Ad Schellevis
65aa038255 (legacy) move is_private_ip() to util.inc 2016-06-20 14:33:30 +02:00
Franco Fichtner
ea31c80969 www: more php print issues 2016-06-15 06:32:40 +02:00
Ad Schellevis
0b31dc522f add opnsense_standard_table_form class to forms 2016-05-20 17:09:58 +02:00
Franco Fichtner
571bdae6ee interfaces: allow bridges with one interface for #61 2016-04-27 20:28:58 +02:00
Ad Schellevis
67b827a84f html correction 2016-03-04 12:07:12 +01:00
Ad Schellevis
2ed6e9b179 (legacy) fix for PHP Warning: in_array() expects parameter 2 to be array, null given in /usr/local/www/interfaces_bridge_edit.php on line 605 2016-02-02 11:47:56 +01:00
Ad Schellevis
0bc35548aa (legacy) refactor interfaces_bridge_edit.php 2015-12-31 15:40:56 +01:00
Franco Fichtner
86d50f8793 www: remove the need for manual $pgtitle #461 2015-12-08 19:45:59 +01:00
Franco Fichtner
1b03f583a7 www: transform $input_error strings to gettext()
Spotted by: @fabianfrz
2015-11-07 21:52:56 +01:00
Franco Fichtner
98a0662d07 interfaces: zap legacy shortcuts 2015-10-15 00:04:12 +02:00
Franco Fichtner
1fcd3fc161 src: whitespace and style sweep 2015-08-14 09:18:14 +02:00
Ad Schellevis
e556c306b7 (legacy) fix dependencies, related to crashreport "PHP Fatal error: Call to undefined function services_dnsmasq_configure() in /usr/local/etc/inc/interfaces.inc on line 3098" 2015-08-12 06:52:26 +00:00
Ad Schellevis
bf573b51fd (legacy) fix crash report "PHP Warning: explode() expects parameter 2 to be string, array given in /usr/local/www/interfaces_bridge_edit.php on line 290" 2015-08-12 06:43:23 +00:00
Ad Schellevis
020ce673cd (legacy) more dependency cleanups 2015-07-23 09:45:57 +00:00
Ad Schellevis
4075a285eb (legacy) move openvpn.inc out of interfaces.inc 2015-07-23 08:27:56 +00:00
Ad Schellevis
ea5dd43a31 (legacy) move pfsense-utils.inc dependency 2015-07-22 15:09:18 +00:00
Ad Schellevis
cbcf5927ca (legacy) more dependency moves, slowly pouring functions.inc empty.... 2015-07-22 13:08:05 +00:00
Ad Schellevis
7418af459b (legacy) add additional check on $input_errors as part of cleanup notices 2015-07-06 16:58:36 +00:00
Ad Schellevis
ba800ae6c8 (legacy) fix check on $savemsg and $input_errors 2015-07-06 14:43:02 +00:00
Franco Fichtner
75cf7115a0 src: more is_array() -> isset() conversions 2015-04-15 14:57:32 +02:00
Ad Schellevis
fe5ae1b7b2 cleanup requires + small typo's 2015-03-23 20:47:12 +00:00
Jos Schellevis
60a5170dc8 Several GUI fixes, including mobile presentation 2015-01-27 14:20:30 +00:00
Jos Schellevis
fb340fcd94 More cleanups, copyrights and links 2015-01-01 13:47:20 +00:00
Franco Fichtner
d389da3582 interfaces: apply whitespace cleanups 2014-12-28 09:36:37 +01:00
Franco Fichtner
727453c076 src: move all files (again)
Make "src" the implicit "/usr/local" so that nobody can
sneak in weird files in the base file system or potentially
overwrite them.

This is the last time, I swear...  :)
2014-12-10 16:42:39 +01:00