I've enhanced the Tech Contact Info section of 2.0 to allow the same "Same
as Contact Info" that the Billing section currently has to make things a
little more user friendly. Here is the patch:
--- reg_system.cgi 2000/04/13 06:31:42 1.9
+++ reg_system.cgi 2000/04/13 06:48:52
@@ -216,6 +216,17 @@
}
}
+ # copy over the normal contact info to 'tech' info if they had that
+ # flag set
+ if (defined $in{flag_tech_use_contact_info}) {
+ foreach $key (keys %in) {
+ if ($key =~ /^owner_(.+)$/) {
+ $HTML{"tech_$1"} = $in{"owner_$1"};
+ $in{"tech_$1"} = $in{"owner_$1"};
+ }
+ }
+ }
+
$HTML{domain} = join "\0", @domains;
# use library to verify the supplied data
@@ -992,6 +1003,11 @@
<TR>
<TD COLSPAN=2 bgcolor="#90c0ff" align=center>
<B><FONT SIZE=+1>Tech Contact Information</FONT></B>
+ </TD>
+</TR>
+<TR>
+ <TD COLSPAN=2 bgcolor="e0e0e0" align=center>
+ <B>Same as Contact Information</B> <input type=checkbox name=flag_tech_use_contact_info checked>
</TD>
</TR>
<TR>
This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:35:27 EDT