Changeset 620 for branches/stable
- Timestamp:
- 07/04/14 13:03:43 (10 years ago)
- Location:
- branches/stable
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/cgi-bin/search.cgi
r606 r620 467 467 my $count = 0; 468 468 my @sresults; 469 while (my ($block, $custid, $type, $city, $desc, $vrf ) = $sth->fetchrow_array) {469 while (my ($block, $custid, $type, $city, $desc, $vrf, $avail) = $sth->fetchrow_array) { 470 470 my %row = ( 471 471 rowclass => $count++ % 2, … … 478 478 desc => $desc, 479 479 vrf => $vrf, 480 avail => $avail eq 'y', 480 481 ); 481 482 push @sresults, \%row; -
branches/stable/templates/search/sresults.tmpl
r605 r620 17 17 <TMPL_LOOP NAME=sresults> 18 18 <tr class="row<TMPL_VAR NAME=rowclass>"> 19 <td><TMPL_IF issub>Sub </TMPL_IF><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi? action=edit&block=<TMPL_VAR NAME=block>"><TMPL_VAR NAME=block></a><TMPL_IF ispool> <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=listpool&pool=<TMPL_VAR NAME=block>">List IPs</a></TMPL_IF></td>19 <td><TMPL_IF issub>Sub </TMPL_IF><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?<TMPL_IF avail>action=edit&block=<TMPL_VAR NAME=block><TMPL_ELSE>action=assign&block=<TMPL_VAR NAME=block>&fbtype=i</TMPL_IF>"><TMPL_VAR NAME=block></a><TMPL_IF ispool> <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=listpool&pool=<TMPL_VAR NAME=block>">List IPs</a></TMPL_IF></td> 20 20 <td><TMPL_VAR NAME=custid></td> 21 21 <td><TMPL_VAR NAME=disptype></td>
Note:
See TracChangeset
for help on using the changeset viewer.