- Timestamp:
- 05/01/18 15:36:23 (7 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/main.cgi
r916 r917 432 432 $page->param(blockpctfree => sprintf("%0.1f", $pinfo->{nfree}/2**(32-$pinfo->{masklen}) * 100 ) ); 433 433 434 # retrieve any notices 435 blocknotices($webvar{parent}); 436 434 437 ##fixme: do we add a wrapper to not show the edit link for master blocks? 435 438 #$page->param(editme => 1) unless $pinfo->{type} ne 'mm'; … … 482 485 my $plist = listPool($ip_dbh, $webvar{pool}, 1); 483 486 $page->param(poolips => $plist); 487 488 # retrieve any notices 489 blocknotices($webvar{pool}); 484 490 } # end showPool 485 491 … … 1243 1249 $page->param(privdata => $blockinfo->{privdata}); 1244 1250 1251 # retrieve any notices 1252 blocknotices($webvar{id}); 1253 1245 1254 # ACL trickery - these two template booleans control the presence of all form/input tags 1246 1255 $page->param(maychange => $IPDBacl{$authuser} =~ /c/); -
trunk/templates/edit.tmpl
r879 r917 1 <TMPL_IF blockmsg><br><div class="strongwarning blockcenter w70"><TMPL_VAR NAME=blockmsg></div><br></TMPL_IF> 2 1 3 <TMPL_IF webpath></TMPL_IF> 2 4 <div class="indent"> -
trunk/templates/listpool.tmpl
r913 r917 1 <TMPL_IF blockmsg><br><div class="strongwarning blockcenter w70"><TMPL_VAR NAME=blockmsg></div><br></TMPL_IF> 2 1 3 <TMPL_IF webpath></TMPL_IF> 2 4 <br> -
trunk/templates/showsubs.tmpl
r913 r917 1 <TMPL_IF blockmsg><br><div class="strongwarning blockcenter w70"><TMPL_VAR NAME=blockmsg></div><br></TMPL_IF> 2 1 3 <div class="tbltitle">Subnets in <TMPL_VAR NAME=block> 2 4 (<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&id=<TMPL_VAR NAME=self_id>&basetype=b">Edit</a>)<TMPL_IF blockpctfree><br><TMPL_VAR NAME=blockpctfree>% free</TMPL_IF> -
trunk/templates/showsubs2.tmpl
r913 r917 1 <TMPL_IF blockmsg><br><div class="strongwarning blockcenter w70"><TMPL_VAR NAME=blockmsg></div><br></TMPL_IF> 2 1 3 <div class="tbltitle">Subnets in <TMPL_VAR NAME=block> 2 4 (<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&id=<TMPL_VAR NAME=self_id>&basetype=b">Edit</a>)<TMPL_IF blockpctfree><br><TMPL_VAR NAME=blockpctfree>% free</TMPL_IF>
Note:
See TracChangeset
for help on using the changeset viewer.