diff options
author | Colin Fleming <cj_fleming@sky.com> | 2017-01-13 14:19:08 +0000 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-01-13 18:45:46 -0200 |
commit | e296b39919ebc9a74136c2074b7d77c250a3a17f (patch) | |
tree | 97f5b126339ad70e540e0557ab53c1d45b4a76d6 /src/usr/local/www | |
parent | 7492e42006f88374092e60b284958c15222931f3 (diff) | |
download | pfsense-e296b39919ebc9a74136c2074b7d77c250a3a17f.zip pfsense-e296b39919ebc9a74136c2074b7d77c250a3a17f.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)
(cherry picked from commit 463456964709015d4b1c591aa4251c831a39c71d)
Diffstat (limited to 'src/usr/local/www')
-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 8c2765b..f83bfc9 100644 --- a/src/usr/local/www/pkg_mgr_install.php +++ b/src/usr/local/www/pkg_mgr_install.php @@ -521,7 +521,7 @@ if ($completed): if ($firmwareupdate && $reboot_needed): ?> -<script> +<script type="text/javascript"> //<![CDATA[ events.push(function() { time = "<?=$guitimeout?>"; @@ -535,7 +535,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 c21c67a..2a10a8f 100644 --- a/src/usr/local/www/system.php +++ b/src/usr/local/www/system.php @@ -584,7 +584,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 b88a19e..f00e40f 100644 --- a/src/usr/local/www/system_advanced_misc.php +++ b/src/usr/local/www/system_advanced_misc.php @@ -608,7 +608,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 b86218d..861737c 100644 --- a/src/usr/local/www/system_crlmanager.php +++ b/src/usr/local/www/system_crlmanager.php @@ -706,7 +706,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() { |