Changeset 20 for trunk


Ignore:
Timestamp:
10/25/04 17:35:54 (20 years ago)
Author:
Kris Deugau
Message:

Allow updating city for an allocation

Location:
trunk
Files:
2 edited

Legend:

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

    r17 r20  
    12211221    } else {
    12221222      $sql = "update allocations set custid='$webvar{custid}',".
    1223         "description='$webvar{desc}',notes='$webvar{notes}' ".
     1223        "description='$webvar{desc}',notes='$webvar{notes}',city='$webvar{city}' ".
    12241224        "where cidr='$webvar{block}'";
    12251225    }
  • trunk/editDisplay.html

    r4 r20  
    88<tr class="color1"><td class=heading>IP block:</td><td colspan=2 class="regular">$$BLOCK$$</td></tr>
    99
    10 <tr class="color2"><td class=heading>City:</td><td colspan=2 class="regular">$$CITY$$<input type=hidden name=city value="$$CITY$$"></td></tr>
     10<tr class="color2"><td class=heading>City:</td><td colspan=2 class="regular">
     11<input type=text name=city value="$$CITY$$"></td></tr>
    1112
    1213<tr class="color1"><td class=heading>Type:</td><td colspan=2 class=regular>$$FULLTYPE$$
Note: See TracChangeset for help on using the changeset viewer.