Fixed a few XHTML 1.0 related bugs
This commit is contained in:
parent
ad6b484f0e
commit
01ad8fd12c
7 changed files with 26 additions and 26 deletions
|
|
@ -433,7 +433,7 @@ sub www_editCommerceSettings {
|
|||
|
||||
# payment plugin
|
||||
if (%paymentPlugins) {
|
||||
$tabform->getTab('payment')->raw('<script language="JavaScript" type="text/javascript"> var activePayment="'.$paymentPlugin.'"; </script>');
|
||||
$tabform->getTab('payment')->raw('<script type="text/javascript"> var activePayment="'.$paymentPlugin.'"; </script>');
|
||||
$tabform->getTab("payment")->selectList(
|
||||
-name => 'commercePaymentPlugin',
|
||||
-options => \%paymentPlugins,
|
||||
|
|
@ -442,7 +442,7 @@ sub www_editCommerceSettings {
|
|||
-extras => 'onchange="activePayment=operateHidden(this.options[this.selectedIndex].value,activePayment)"'
|
||||
);
|
||||
|
||||
$jscript = '<script language="JavaScript" type="text/javascript">';
|
||||
$jscript = '<script type="text/javascript">';
|
||||
foreach $currentPlugin (@paymentPlugins) {
|
||||
$tabform->getTab('payment')->raw('<tr id="'.$currentPlugin->namespace.'"><td colspan="2" width="100%">'.
|
||||
'<table border=0 cellspacing=0 cellpadding=0 width="100%">'.
|
||||
|
|
@ -474,7 +474,7 @@ sub www_editCommerceSettings {
|
|||
|
||||
# shipping plugin
|
||||
if (%shippingPlugins) {
|
||||
$tabform->getTab('shipping')->raw('<script language="JavaScript" type="text/javascript"> var activeShipping="'.$shippingPlugin.'"; </script>');
|
||||
$tabform->getTab('shipping')->raw('<script type="text/javascript"> var activeShipping="'.$shippingPlugin.'"; </script>');
|
||||
$tabform->getTab('shipping')->selectList(
|
||||
-name => 'commerceShippingPlugin',
|
||||
-options=> \%shippingPlugins,
|
||||
|
|
@ -483,7 +483,7 @@ sub www_editCommerceSettings {
|
|||
-extras => 'onchange="activeShipping=operateHidden(this.options[this.selectedIndex].value,activeShipping)"'
|
||||
);
|
||||
|
||||
$jscript = '<script language="JavaScript" type="text/javascript">';
|
||||
$jscript = '<script type="text/javascript">';
|
||||
foreach $currentPlugin (@shippingPlugins) {
|
||||
$tabform->getTab('shipping')->raw('<tr id="'.$currentPlugin->namespace.'"><td colspan="2" width="100%">'.
|
||||
'<table border=0 cellspacing=0 cellpadding=0 width="100%">'.
|
||||
|
|
@ -498,7 +498,7 @@ sub www_editCommerceSettings {
|
|||
|
||||
$tabform->submit;
|
||||
|
||||
WebGUI::Style::setScript($session{config}{extrasURL}.'/swapLayers.js',{language=>"Javascript"});
|
||||
WebGUI::Style::setScript($session{config}{extrasURL}.'/swapLayers.js',{type=>"text/javascript"});
|
||||
|
||||
return _submenu($tabform->print, 'edit commerce settings title', 'commerce manage');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue