[freeside-commits] freeside/httemplate/edit svc_www.cgi,1.21,1.22
Ivan,,,
ivan at wavetail.420.am
Fri Jun 29 14:06:54 PDT 2007
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail:/tmp/cvs-serv2901/edit
Modified Files:
svc_www.cgi
Log Message:
add regular header/footer to svc_www view and edit
Index: svc_www.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/svc_www.cgi,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- svc_www.cgi 18 Jun 2007 16:46:20 -0000 1.21
+++ svc_www.cgi 29 Jun 2007 21:06:51 -0000 1.22
@@ -156,8 +156,9 @@
%
%
%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');
@@ -192,7 +193,7 @@
%print "</SELECT></TD></TR>";
%
%if ( $part_svc->part_svc_column('usersvc')->columnflag ne 'F'
-% || $part_svc->part_svc_column('usersvc')->columnvalue !~ /^\s*$/) {
+% || $part_svc->part_svc_column('usersvc')->columnvalue =~ /^\s*$/) {
% print '<TR><TD ALIGN="right">Username</TD><TD><SELECT NAME="usersvc" SIZE=1>';
% print '<OPTION VALUE="">(none)';
% foreach $_ (keys %svc_acct) {
@@ -220,11 +221,7 @@
%
%print '</TABLE><BR><INPUT TYPE="submit" VALUE="Submit">';
%
-%print <<END;
-%
-% </FORM>
-% </BODY>
-%</HTML>
-%END
-%
+</FORM>
+
+<% include('/elements/footer.html') %>
More information about the freeside-commits
mailing list