source: branches/stable/templates/search/sresults.tmpl@ 898

Last change on this file since 898 was 621, checked in by Kris Deugau, 10 years ago

/branches/stable

Brown-paper-bag fix for patch in r620; forgot to include the SQL update,
forgot to include the new field in the column selection, and got the logic
sense for whether to show the "edit block" or "allocate free IP" link
inverted. *sigh*

File size: 1.6 KB
RevLine 
[482]1<TMPL_IF errmsg>
2<br><div class="center"><TMPL_VAR NAME=errmsg><br><br>
3<input type="button" value="Back" onclick="history.go(-1)">
[500]4</div><br>
[482]5<TMPL_ELSE>
6<div class="heading"><TMPL_VAR NAME=searchtitle></div><br>
7<div class="center">
8<table width="98%" cellspacing="0" class="center">
9
10<tr>
11<td class="heading">Allocation</td>
12<td class="heading">CustID</td>
13<td class="heading">Type</td>
14<td class="heading">City</td>
15<td class="heading">Description/Name</td>
16</tr>
17<TMPL_LOOP NAME=sresults>
18<tr class="row<TMPL_VAR NAME=rowclass>">
[621]19<td><TMPL_IF issub>Sub </TMPL_IF><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?<TMPL_IF avail>action=assign&block=<TMPL_VAR NAME=block>&fbtype=i<TMPL_ELSE>action=edit&amp;block=<TMPL_VAR NAME=block></TMPL_IF>"><TMPL_VAR NAME=block></a><TMPL_IF ispool>&nbsp; <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=listpool&amp;pool=<TMPL_VAR NAME=block>">List IPs</a></TMPL_IF></td>
[482]20<td><TMPL_VAR NAME=custid></td>
21<td><TMPL_VAR NAME=disptype></td>
22<td><TMPL_VAR NAME=city></td>
[605]23<td><TMPL_VAR NAME=desc><TMPL_IF vrf> - vrf:<TMPL_VAR NAME=vrf></TMPL_IF></td>
[482]24</tr>
25</TMPL_LOOP>
26
27<tr><td colspan="5">Total records found: <TMPL_VAR NAME=resfound><br><i>Displaying: <TMPL_VAR NAME=resstart> - <TMPL_VAR
28NAME=resstop></i></td></tr>
29</table>
30
31<TMPL_IF multipage>
32<div class="center">Page:
[511]33<TMPL_LOOP NAME=pgnums><TMPL_IF thispage><b><TMPL_VAR NAME=pgnum>&nbsp;</b><TMPL_ELSE><a href="<TMPL_VAR NAME=webpath>/cgi-bin/search.cgi?page=<TMPL_VAR NAME=pgnum>&amp;stype=<TMPL_VAR NAME=stype>&amp;<TMPL_VAR NAME=extraopts>"><TMPL_VAR NAME=pgnum></a>&nbsp;</TMPL_IF>
[482]34</TMPL_LOOP>
35</div>
36</TMPL_IF>
37
38</div>
39</TMPL_IF>
Note: See TracBrowser for help on using the repository browser.