- Timestamp:
- 01/18/13 16:36:48 (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/main.cgi
r588 r589 846 846 847 847 $page->param(block => $blockdata->{block}); 848 849 $page->param(rdns => $blockdata->{rdns}); 850 851 # maybe need to apply more magic here? 852 # most allocations we *do* want to autodelete the forward as well as reverse; for a handful we don't. 853 # -> all real blocks (nb: pool IPs need extra handling) 854 # -> NOC/private-IP (how to ID?) 855 # -> anything with a pattern matching $IPDB::domain? 856 if ($blockdata->{type} !~ /^.i$/) { 857 $page->param(autodel => 1); 858 } 859 848 860 $page->param(rdepth => $blockdata->{rdepth}); 849 861 $page->param(disptype => $disp_alloctypes{$blockdata->{type}}); -
trunk/templates/delete.tmpl
r577 r589 8 8 <td>IP block:</td> 9 9 <td><TMPL_VAR NAME=block></td> 10 </tr> 11 12 <tr class="row1"> 13 <td>Reverse DNS pattern:</td> 14 <td><TMPL_VAR NAME=rdns></td> 15 </tr> 16 17 <tr class="row0"> 18 <td>Remove associated forward DNS entry?</td> 19 <td><input type="checkbox" name="delforward"<TMPL_IF autodel> checked</TMPL_IF>></td> 10 20 </tr> 11 21
Note:
See TracChangeset
for help on using the changeset viewer.