X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fsvc_forward.cgi;h=c1b90a9bda29ea1be1dea8a320e2f886de417b3c;hp=2e6c5f1a074f1e8d68fc898c76e77752816ced03;hb=c1bb4ddb71147d0571bd301a6d8c452fdf0e1bc9;hpb=8d581f6199c27147f417f73cc9f58260efabf327
diff --git a/httemplate/edit/svc_forward.cgi b/httemplate/edit/svc_forward.cgi
index 2e6c5f1a0..c1b90a9bd 100755
--- a/httemplate/edit/svc_forward.cgi
+++ b/httemplate/edit/svc_forward.cgi
@@ -110,7 +110,7 @@ my $src = $svc_forward->dbdef_table->column('src') ? $svc_forward->src : '';
%>
-<%= header("Mail Forward $action") %>
+<%= include("/elements/header.html","Mail Forward $action") %>
<% if ( $cgi->param('error') ) { %>
Error: <%= $cgi->param('error') %>
@@ -129,15 +129,19 @@ Service: <%= $part_svc->svc %>
function srcchanged(what) {
if ( what.options[what.selectedIndex].value == 0 ) {
what.form.src.disabled = false;
+ what.form.src.style.backgroundColor = "white";
} else {
what.form.src.disabled = true;
+ what.form.src.style.backgroundColor = "lightgrey";
}
}
function dstchanged(what) {
if ( what.options[what.selectedIndex].value == 0 ) {
what.form.dst.disabled = false;
+ what.form.dst.style.backgroundColor = "white";
} else {
what.form.dst.disabled = true;
+ what.form.dst.style.backgroundColor = "lightgrey";
}
}
@@ -153,7 +157,7 @@ function dstchanged(what) {
<% } %>
<% if ( $svc_forward->dbdef_table->column('src') ) { %>
->
+>
<% } %>
@@ -164,7 +168,7 @@ function dstchanged(what) {
<% } %>
->
+>