summaryrefslogtreecommitdiffstats
path: root/etc/inc/pkg-utils.inc
diff options
context:
space:
mode:
authorayvis <ayvis.infra@gmail.com>2014-03-19 23:38:56 +0100
committerayvis <ayvis.infra@gmail.com>2014-03-19 23:38:56 +0100
commit91f026b02c06751028965bb28cc354dca547f548 (patch)
tree7f8bc722e13a256296d464778e3c7446f1f97c19 /etc/inc/pkg-utils.inc
parentec879e3db4d36212ee200d19e1f7e92f9f4d83c9 (diff)
downloadpfsense-91f026b02c06751028965bb28cc354dca547f548.zip
pfsense-91f026b02c06751028965bb28cc354dca547f548.tar.gz
replaced uppercase html tags with lowercase
js files saved as UTF-8 / LF language="JavaScript" deprecated, replaced with type="text/javascript"
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-rw-r--r--etc/inc/pkg-utils.inc16
1 files changed, 8 insertions, 8 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index 7e16414..d075bab 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -700,8 +700,8 @@ function install_package_xml($pkg) {
$static_output .= sprintf(gettext("The %s package is not installed.%sInstallation aborted."), $pkg, "\n\n");
update_output_window($static_output);
if($pkg_interface <> "console") {
- echo "\n<script language=\"JavaScript\">document.progressbar.style.visibility='hidden';</script>";
- echo "\n<script language=\"JavaScript\">document.progholder.style.visibility='hidden';</script>";
+ echo "\n<script type=\"text/javascript\">document.progressbar.style.visibility='hidden';</script>";
+ echo "\n<script type=\"text/javascript\">document.progholder.style.visibility='hidden';</script>";
}
sleep(1);
return false;
@@ -727,8 +727,8 @@ function install_package_xml($pkg) {
update_output_window($static_output);
pkg_debug(gettext("Package WAS NOT installed properly.") . "\n");
if($pkg_interface <> "console") {
- echo "\n<script language=\"JavaScript\">document.progressbar.style.visibility='hidden';</script>";
- echo "\n<script language=\"JavaScript\">document.progholder.style.visibility='hidden';</script>";
+ echo "\n<script type=\"text/javascript\">document.progressbar.style.visibility='hidden';</script>";
+ echo "\n<script type=\"text/javascript\">document.progholder.style.visibility='hidden';</script>";
}
sleep(1);
return false;
@@ -924,8 +924,8 @@ function install_package_xml($pkg) {
update_output_window($static_output);
pkg_debug(gettext("Unable to load package configuration. Installation aborted.") ."\n");
if($pkg_interface <> "console") {
- echo "\n<script language=\"JavaScript\">document.progressbar.style.visibility='hidden';</script>";
- echo "\n<script language=\"JavaScript\">document.progholder.style.visibility='hidden';</script>";
+ echo "\n<script type=\"text/javascript\">document.progressbar.style.visibility='hidden';</script>";
+ echo "\n<script type=\"text/javascript\">document.progholder.style.visibility='hidden';</script>";
}
sleep(1);
return false;
@@ -990,8 +990,8 @@ function delete_package_xml($pkg) {
$static_output .= sprintf(gettext("The %s package is not installed.%sDeletion aborted."), $pkg, "\n\n");
update_output_window($static_output);
if($pkg_interface <> "console") {
- echo "\n<script language=\"JavaScript\">document.progressbar.style.visibility='hidden';</script>";
- echo "\n<script language=\"JavaScript\">document.progholder.style.visibility='hidden';</script>";
+ echo "\n<script type=\"text/javascript\">document.progressbar.style.visibility='hidden';</script>";
+ echo "\n<script type=\"text/javascript\">document.progholder.style.visibility='hidden';</script>";
}
ob_flush();
sleep(1);
OpenPOWER on IntegriCloud