diff options
author | ivan <ivan> | 2002-07-08 13:07:40 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-07-08 13:07:40 +0000 |
commit | 1f8d7610c245ecb21667aa656ce083420e5bb797 (patch) | |
tree | 5655886b9ab0d6ad1e4d843fd1372f30f60fe986 /httemplate/edit/REAL_cust_pkg.cgi | |
parent | e61703420a7eaef1f16ad4251cc7733e7a35604f (diff) |
edit expiration dates
Diffstat (limited to 'httemplate/edit/REAL_cust_pkg.cgi')
-rwxr-xr-x | httemplate/edit/REAL_cust_pkg.cgi | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/httemplate/edit/REAL_cust_pkg.cgi b/httemplate/edit/REAL_cust_pkg.cgi index 580313e88..0d2f1c238 100755 --- a/httemplate/edit/REAL_cust_pkg.cgi +++ b/httemplate/edit/REAL_cust_pkg.cgi @@ -1,6 +1,6 @@ <!-- mason kludge --> <% -# <!-- $Id: REAL_cust_pkg.cgi,v 1.3 2002-04-23 07:32:49 ivan Exp $ --> +# <!-- $Id: REAL_cust_pkg.cgi,v 1.4 2002-07-08 13:07:40 ivan Exp $ --> my $error =''; my $pkgnum = ''; @@ -45,7 +45,7 @@ print '<FORM NAME="formname" ACTION="process/REAL_cust_pkg.cgi" METHOD="POST">', print qq!<FONT SIZE="+1" COLOR="#ff0000">Error: $error</FONT>! if $error; -print &ntable("#cccccc"), '<TR><TD>', &ntable("#cccccc",2), +print ntable("#cccccc",2), '<TR><TD ALIGN="right">Package number</TD><TD BGCOLOR="#ffffff">', $pkgnum, '</TD></TR>', '<TR><TD ALIGN="right">Package</TD><TD BGCOLOR="#ffffff">', @@ -66,16 +66,23 @@ print '<TR><TD ALIGN="right">Suspension date</TD><TD BGCOLOR="#ffffff">', time2str("%D",$susp), '</TD></TR>' if $susp; -print '<TR><TD ALIGN="right">Expiration date</TD><TD BGCOLOR="#ffffff">', - time2str("%D",$expire), '</TD></TR>' - if $expire; +#print '<TR><TD ALIGN="right">Expiration date</TD><TD BGCOLOR="#ffffff">', +# time2str("%D",$expire), '</TD></TR>' +# if $expire; +print '<TR><TD ALIGN="right">Expiration date'. + '</TD><TD>', + '<INPUT TYPE="text" NAME="expire" SIZE=32 VALUE="', + ( $expire ? time2str("%c %z (%Z)",$expire) : "" ), '">'. + '<BR><FONT SIZE=-1>(will <b>cancel</b> this package'. + ' when the date is reached)</FONT>'. + '</TD></TR>'; print '<TR><TD ALIGN="right">Cancellation date</TD><TD BGCOLOR="#ffffff">', time2str("%D",$cancel), '</TD></TR>' if $cancel; %> -</TABLE></TD></TR></TABLE> +</TABLE> <BR><INPUT TYPE="submit" VALUE="Apply Changes"> </FORM> </BODY> |