Changeset 596
- Timestamp:
- 05/15/13 18:03:32 (12 years ago)
- Location:
- branches/stable
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/cgi-bin/main.cgi
r595 r596 323 323 if ($webvar{fbtype} eq 'i') { 324 324 my $ipinfo = getBlockData($ip_dbh, $webvar{block}, 'i'); 325 my $pinfo = getBlockData($ip_dbh, $webvar{parent}); 325 ##fixme: a reversion! kill it! 326 my ($iptype,$pool) = $ip_dbh->selectrow_array("SELECT type,pool FROM poolips WHERE ip = ?", undef, ($block)); 326 327 $page->param( 327 328 fbip => 1, … … 329 330 fbdisptype => $list_alloctypes{$ipinfo->{type}}, 330 331 type => $ipinfo->{type}, 331 allocfrom => $p info->{block},332 allocfrom => $pool, 332 333 ); 333 334 } elsif ($webvar{fbtype} eq 'n') { -
branches/stable/templates/listpool.tmpl
r594 r596 29 29 <TMPL_LOOP name=poolips> 30 30 <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>"> 31 <td><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&block=<TMPL_VAR NAME=ip>"><TMPL_VAR NAME=ip></a></td> 31 <td> 32 33 <TMPL_UNLESS delme> 34 <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=assign&block=<TMPL_VAR NAME=ip>&fbtype=i"><TMPL_VAR NAME=ip></a> 35 <TMPL_ELSE> 36 <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&block=<TMPL_VAR NAME=ip>"><TMPL_VAR NAME=ip></a> 37 </TMPL_UNLESS> 38 39 </td> 32 40 <td><TMPL_VAR NAME=custid></td> 33 41 <td><TMPL_VAR NAME=available></td>
Note:
See TracChangeset
for help on using the changeset viewer.