Changeset 135 for trunk/cgi-bin/main.cgi
- Timestamp:
- 01/26/05 15:30:30 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/main.cgi
r118 r135 317 317 } 318 318 319 foreach my $element (@$rowRef) { 320 print "<td></td>" if (!defined($element)); 319 ELEMENT: foreach my $element (@$rowRef) { 320 if (!defined($element)) { 321 print "<td></td>\n"; 322 next ELEMENT; 323 } 321 324 $element =~ s|\n|</br>|g; 322 325 print "<td>$element</td>\n"; … … 1080 1083 # this has now been Requested, so here goes. 1081 1084 1082 if ($data[2] =~ /^d[nyc]|cn|ee|i i$/) {1085 if ($data[2] =~ /^d[nyc]|cn|ee|in$/) { 1083 1086 # Block that can be changed 1084 1087 my $blockoptions = "<select name=alloctype><option". … … 1088 1091 (($data[2] eq 'cn') ? ' selected' : '') ." value='cn'>Customer netblock</option>\n<option". 1089 1092 (($data[2] eq 'ee') ? ' selected' : '') ." value='ee'>End-use netblock</option>\n<option". 1090 (($data[2] eq 'i i') ? ' selected' : '') ." value='ii'>Internal netblock</option>\n".1093 (($data[2] eq 'in') ? ' selected' : '') ." value='in'>Internal netblock</option>\n". 1091 1094 "</select>\n"; 1092 1095 $html =~ s/\$\$TYPESELECT\$\$/$blockoptions/g;
Note:
See TracChangeset
for help on using the changeset viewer.