summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorrsiddall <rsiddall>2009-06-23 20:33:10 +0000
committerrsiddall <rsiddall>2009-06-23 20:33:10 +0000
commitcc6072eff54dd197dacb089c248a8543b330cd1d (patch)
tree170c144cc74103c87cc1fbc8e09fde0b3ff4b5a0 /httemplate
parent961ed0b05abcd9c9180d4c91ef4dd75cca4e3eb2 (diff)
Remove ability to renew domain registration for more than one year as we
can't automatically bill for multi-year renewals at this time.
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/view/svc_domain.cgi11
1 files changed, 1 insertions, 10 deletions
diff --git a/httemplate/view/svc_domain.cgi b/httemplate/view/svc_domain.cgi
index b9a8de7..fc099d8 100755
--- a/httemplate/view/svc_domain.cgi
+++ b/httemplate/view/svc_domain.cgi
@@ -22,16 +22,7 @@ Service #<% $svcnum %>
<A HREF="<% ${p} %>edit/process/domreg.cgi?op=transfer&svcnum=<% $svcnum %>">Transfer to <% $registrar->{'name'} %></A>&nbsp;
% }
% if ( defined($ops{'renew'}) ) {
- <FORM NAME="Renew" METHOD="POST" ACTION="<% ${p} %>edit/process/domreg.cgi">
- <INPUT TYPE="hidden" NAME="svcnum" VALUE="<%$svcnum%>">
- <INPUT TYPE="hidden" NAME="op" VALUE="renew">
- <SELECT NAME="period">
-% foreach (1..10) {
- <OPTION VALUE="<%$_%>"><%$_%> year<% $_ > 1 ? 's' : '' %></OPTION>
-% }
- </SELECT>
- <INPUT TYPE="submit" VALUE="Renew">&nbsp;
- </FORM>
+ <A HREF="<% ${p} %>edit/process/domreg.cgi?op=renew&svcnum=<% $svcnum %>&period=1">Renew at <% $registrar->{'name'} %></A>&nbsp;
% }
% if ( defined($ops{'revoke'}) ) {
<A HREF="<% ${p} %>edit/process/domreg.cgi?op=revoke&svcnum=<% $svcnum %>">Revoke</A>