- Timestamp:
- 05/01/18 13:29:29 (7 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/main.cgi
r913 r916 513 513 514 514 my $pinfo = getBlockData($ip_dbh, $webvar{parent}); 515 516 # retrieve any notices 517 blocknotices($webvar{parent}); 515 518 516 519 my @cities; … … 770 773 $page->param(dnslocal => 1) unless ($pinfo->{revpartial} || $pinfo->{revavail}); 771 774 775 # retrieve any notices 776 blocknotices($webvar{parent}); 777 772 778 # reserve for expansion 773 779 $page->param(reserve => $webvar{reserve}); … … 1763 1769 1764 1770 } # finalDelete 1771 1772 # Retrive and lightly preprocess any block notices. 1773 sub blocknotices { 1774 my $blockid = shift; 1775 # retrieve any notices 1776 my $nlist = getBlockNotices($ip_dbh, $blockid); 1777 my @notices; 1778 foreach (@$nlist) { 1779 push @notices, $_->{notice} if $_->{notice}; 1780 } 1781 my $blockmsg = join("<br>\n", @notices); 1782 $page->param(blockmsg => $blockmsg); 1783 } -
trunk/templates/assign.tmpl
r892 r916 1 1 <div class="indent"> 2 3 <TMPL_IF blockmsg><br><div class="strongwarning blockcenter w70"><TMPL_VAR NAME=blockmsg></div><br></TMPL_IF> 2 4 3 5 <form method="post" action="main.cgi" class="regular"> -
trunk/templates/confirm.tmpl
r878 r916 12 12 </div> 13 13 </TMPL_IF> 14 15 <TMPL_IF blockmsg><br><div class="strongwarning blockcenter w70"><TMPL_VAR NAME=blockmsg></div><br></TMPL_IF> 16 14 17 <form method="POST" action="main.cgi" class="regular"> 15 18 <fieldset><legend class="noshow"> </legend>
Note:
See TracChangeset
for help on using the changeset viewer.