Changeset 135 for trunk/cgi-bin/main.cgi


Ignore:
Timestamp:
01/26/05 15:30:30 (20 years ago)
Author:
Kris Deugau
Message:

/trunk

Merge bugfixes from /branches/stable r130:134

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cgi-bin/main.cgi

    r118 r135  
    317317  }
    318318
    319   foreach my $element (@$rowRef) {
    320     print "<td></td>" if (!defined($element));
     319ELEMENT:  foreach my $element (@$rowRef) {
     320    if (!defined($element)) {
     321      print "<td></td>\n";
     322      next ELEMENT;
     323    }
    321324    $element =~ s|\n|</br>|g;
    322325    print "<td>$element</td>\n";
     
    10801083# this has now been Requested, so here goes.
    10811084
    1082   if ($data[2] =~ /^d[nyc]|cn|ee|ii$/) {
     1085  if ($data[2] =~ /^d[nyc]|cn|ee|in$/) {
    10831086    # Block that can be changed
    10841087    my $blockoptions = "<select name=alloctype><option".
     
    10881091        (($data[2] eq 'cn') ? ' selected' : '') ." value='cn'>Customer netblock</option>\n<option".
    10891092        (($data[2] eq 'ee') ? ' selected' : '') ." value='ee'>End-use netblock</option>\n<option".
    1090         (($data[2] eq 'ii') ? ' selected' : '') ." value='ii'>Internal netblock</option>\n".
     1093        (($data[2] eq 'in') ? ' selected' : '') ." value='in'>Internal netblock</option>\n".
    10911094        "</select>\n";
    10921095    $html =~ s/\$\$TYPESELECT\$\$/$blockoptions/g;
Note: See TracChangeset for help on using the changeset viewer.