2.4.6: bulk orders vs reg_period_hints template

From: Gregory Neil Shapiro (gshapiro+opensrs-dev@gshapiro.net)
Date: Mon Dec 31 2001 - 18:27:20 EST


This patch allows bulk orders to use the new reg_period_hints template:

--- cgi-bin/reg_system.cgi 31 Dec 2001 23:01:31 -0000 1.12
+++ cgi-bin/reg_system.cgi 31 Dec 2001 23:20:09 -0000
@@ -1617,7 +1617,9 @@
 "
         } elsif ($in{reg_type} eq 'transfer') {
                 $htmlForm = "$path_templates/bulk_transfer.html";
- }
+ } else {
+ $HTML{reg_period_hints} = get_content("$path_templates/reg_period_hints.html");
+ }
     } else {
         @domains = split /\0/, $in{domain};
         foreach $domain (@domains) {

--- templates/reg_system/bulk_order.html 24 Nov 2001 00:37:15 -0000 1.7
+++ templates/reg_system/bulk_order.html 31 Dec 2001 23:20:10 -0000
@@ -45,8 +45,7 @@
         <TD><select name=period>
             {{PERIOD_LIST}}
             </select>
- <i>(2 years for .uk)</i><br>
- <i>(min 2 years for .info and .biz)</i><br>
+ {{reg_period_hints}}
         </TD>
 </TR>
 {{AUTO_RENEW}}



This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:36:52 EDT