i think this is a bug; should not show the svc_www.usersvc selector unless it is...
[freeside.git] / httemplate / edit / svc_www.cgi
index a9f97ff..e19a4fa 100644 (file)
@@ -43,7 +43,7 @@
 %
 %  $pkgnum=$cust_svc->pkgnum;
 %  $svcpart=$cust_svc->svcpart;
-%  $config=$svc_www->config;
+%  $config=$cgi->escapeHTML($svc_www->config);
 %  
 %  $part_svc=qsearchs('part_svc',{'svcpart'=>$svcpart});
 %  die "No part_svc entry!" unless $part_svc;
 %
 %
 %my $p1 = popurl(1);
-%print header("Web Hosting $action", '');
-%
+
+<% include("/elements/header.html", "Web Hosting $action", '') %>
+
 %print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: !, $cgi->param('error'),
 %      "</FONT>"
 %  if $cgi->param('error');
 %
 %print '</TABLE><BR><INPUT TYPE="submit" VALUE="Submit">';
 %
-%print <<END;
-%
-%    </FORM>
-%  </BODY>
-%</HTML>
-%END
-%
 
+</FORM>
+
+<% include('/elements/footer.html') %>