diff options
author | Colin Fleming <cj_fleming@sky.com> | 2017-01-13 14:19:08 +0000 |
---|---|---|
committer | Colin Fleming <cj_fleming@sky.com> | 2017-01-13 14:19:08 +0000 |
commit | 463456964709015d4b1c591aa4251c831a39c71d (patch) | |
tree | ad5ccd2f44a24fd4b85761c540ab83954b18f342 | |
parent | 441d2870180f52eb5544fd99a055b854c0240090 (diff) | |
download | pfsense-463456964709015d4b1c591aa4251c831a39c71d.zip pfsense-463456964709015d4b1c591aa4251c831a39c71d.tar.gz |
Tidy up "<script>" tags
Tidy up <script> tags by adding TYPE attribute
(https://doc.pfsense.org/index.php/Developer_Style_Guide#HTML_Specific_Rules)
-rw-r--r-- | src/usr/local/www/pkg_mgr_install.php | 4 | ||||
-rw-r--r-- | src/usr/local/www/system.php | 2 | ||||
-rw-r--r-- | src/usr/local/www/system_advanced_misc.php | 2 | ||||
-rw-r--r-- | src/usr/local/www/system_crlmanager.php | 2 | ||||
-rw-r--r-- | src/usr/local/www/widgets/widgets/services_status.widget.php | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/src/usr/local/www/pkg_mgr_install.php b/src/usr/local/www/pkg_mgr_install.php index 2710198..47f2b0b 100644 --- a/src/usr/local/www/pkg_mgr_install.php +++ b/src/usr/local/www/pkg_mgr_install.php @@ -496,7 +496,7 @@ if ($completed): if ($firmwareupdate && $reboot_needed): ?> -<script> +<script type="text/javascript"> //<![CDATA[ events.push(function() { time = "<?=$guitimeout?>"; @@ -510,7 +510,7 @@ endif; ?> -<script> +<script type="text/javascript"> //<![CDATA[ // Update the progress indicator // transition = true allows the bar to move at default speed, false = instantaneous diff --git a/src/usr/local/www/system.php b/src/usr/local/www/system.php index 858ca00..e60c7fb 100644 --- a/src/usr/local/www/system.php +++ b/src/usr/local/www/system.php @@ -551,7 +551,7 @@ $csswarning = sprintf(gettext("%sUser-created themes are unsupported, use at you ?> </div> -<script> +<script type="text/javascript"> //<![CDATA[ events.push(function() { diff --git a/src/usr/local/www/system_advanced_misc.php b/src/usr/local/www/system_advanced_misc.php index c33a402..6e997a0 100644 --- a/src/usr/local/www/system_advanced_misc.php +++ b/src/usr/local/www/system_advanced_misc.php @@ -589,7 +589,7 @@ print $form; $ramdisk_msg = gettext('The \"Use Ramdisk\" setting has been changed. This will cause the firewall\nto reboot immediately after the new setting is saved.\n\nPlease confirm.');?> -<script> +<script type="text/javascript"> //<![CDATA[ events.push(function() { // Record the state of the Use Ramdisk checkbox on page load diff --git a/src/usr/local/www/system_crlmanager.php b/src/usr/local/www/system_crlmanager.php index 2ea9014..4bfcc55 100644 --- a/src/usr/local/www/system_crlmanager.php +++ b/src/usr/local/www/system_crlmanager.php @@ -676,7 +676,7 @@ if ($act == "new" || $act == gettext("Save") || $input_errors) { } ?> -<script> +<script type="text/javascript"> //<![CDATA[ events.push(function() { diff --git a/src/usr/local/www/widgets/widgets/services_status.widget.php b/src/usr/local/www/widgets/widgets/services_status.widget.php index 864432e..e5c0347 100644 --- a/src/usr/local/www/widgets/widgets/services_status.widget.php +++ b/src/usr/local/www/widgets/widgets/services_status.widget.php @@ -154,7 +154,7 @@ if (count($services) > 0) { </div> </form> -<script> +<script type="text/javascript"> //<![CDATA[ events.push(function(){ $("#showallservices").click(function() { |