- Timestamp:
- 01/17/13 17:25:46 (12 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/IPDB.pm
r587 r588 1118 1118 my @fieldlist; 1119 1119 my @vallist; 1120 foreach ('custid', 'city', 'description', 'notes', 'circuitid', 'privdata' ) {1120 foreach ('custid', 'city', 'description', 'notes', 'circuitid', 'privdata', 'rdns') { 1121 1121 if ($args{$_}) { 1122 1122 push @fieldlist, $_; … … 1173 1173 return ('FAIL', $msg); 1174 1174 } 1175 return 0; 1175 1176 _rpc('addOrUpdateRevRec', cidr => $args{block}, name => $args{rdns}, rpcuser => $args{user}); 1177 return ('OK','OK'); 1176 1178 } # end updateBlock() 1177 1179 -
trunk/cgi-bin/main.cgi
r586 r588 749 749 swip => $webvar{swip}, 750 750 rdepth => $webvar{rdepth}, 751 rdns => $webvar{rdns}, 752 user => $authuser, 751 753 ); 752 754 … … 796 798 797 799 $page->param(cidr => $webvar{block}); 800 $page->param(rdns => $webvar{rdns}); 798 801 $page->param(city => $webvar{city}); 799 802 $page->param(disptype => $disp_alloctypes{$webvar{alloctype}}); -
trunk/templates/update.tmpl
r576 r588 15 15 16 16 <tr class="row1"> 17 <td>Reverse DNS pattern:</td> 18 <td><TMPL_VAR NAME=rdns> 19 <input type="button" value=" ? " onclick="helpRDNS()" class="regular"> 20 </td> 21 </tr> 22 23 <tr class="row0"> 17 24 <td>City:</td> 18 25 <td><TMPL_VAR NAME=city></td> 19 26 </tr> 20 27 21 <tr class="row 0">28 <tr class="row1"> 22 29 <td>Type:</td> 23 30 <td><TMPL_VAR NAME=disptype></td> 24 31 </tr> 25 32 26 <tr class="row 1">33 <tr class="row0"> 27 34 <td>Demarc/tower:</td> 28 35 <td><TMPL_IF nodename><TMPL_VAR NAME=nodename><TMPL_ELSE>N/A</TMPL_IF></td> 29 36 </tr> 30 37 31 <tr class="row 0">38 <tr class="row1"> 32 39 <td>Customer ID:</td> 33 40 <td><TMPL_VAR NAME=custid></td> 34 41 </tr> 35 42 36 <tr class="row 1">43 <tr class="row0"> 37 44 <td>SWIPed?:</td> 38 45 <td><TMPL_VAR NAME=swip></td> 39 46 </tr> 40 47 41 <tr class="row 0">48 <tr class="row1"> 42 49 <td>Circuit ID:</td> 43 50 <td><TMPL_VAR ESCAPE=HTML NAME=circid></td> 44 51 </tr> 45 52 46 <tr class="row 1">53 <tr class="row0"> 47 54 <td valign="top">Description/Name:</td> 48 55 <td><TMPL_VAR ESCAPE=HTML NAME=desc></td> 49 56 </tr> 50 57 51 <tr class="row 0">58 <tr class="row1"> 52 59 <td valign="top">Notes:</td> 53 60 <td><TMPL_VAR NAME=notes></td> … … 55 62 56 63 <TMPL_IF privdata> 57 <tr class="row 1">64 <tr class="row0"> 58 65 <td valign="top">Restricted data:</td> 59 66 <td><TMPL_VAR NAME=privdata></td>
Note:
See TracChangeset
for help on using the changeset viewer.