1 | <!-- <TMPL_VAR NAME=sid> -->
|
---|
2 | <table class="wholepage"><tr>
|
---|
3 | <TMPL_INCLUDE NAME="menu.tmpl">
|
---|
4 |
|
---|
5 | <td align="center" valign="top">
|
---|
6 |
|
---|
7 | <TMPL_IF resultmsg>
|
---|
8 | <div class="result"><TMPL_VAR NAME=resultmsg></div>
|
---|
9 | </TMPL_IF>
|
---|
10 | <TMPL_IF warnmsg>
|
---|
11 | <div class="warning">Warning: <TMPL_VAR NAME=warnmsg></div>
|
---|
12 | </TMPL_IF>
|
---|
13 | <TMPL_IF errmsg>
|
---|
14 | <div class="errmsg"><TMPL_VAR NAME=errmsg></div>
|
---|
15 | </TMPL_IF>
|
---|
16 |
|
---|
17 | <table width="98%" class="csubtable">
|
---|
18 | <tr><th colspan="3"><div class="center maintitle">Manage locations/views</div></th></tr>
|
---|
19 | <tr>
|
---|
20 | <td class="leftthird"><TMPL_INCLUDE NAME="pgcount.tmpl"></td>
|
---|
21 | <td align="center"><TMPL_INCLUDE NAME="fpnla.tmpl"></td>
|
---|
22 | <td class="rightthird"><TMPL_INCLUDE NAME="sbox.tmpl"></td>
|
---|
23 | </tr>
|
---|
24 | <TMPL_IF addloc>
|
---|
25 | <tr><td colspan="3" align="right"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=location">New Location/View</a></td></tr>
|
---|
26 | </TMPL_IF>
|
---|
27 | </table>
|
---|
28 |
|
---|
29 | <table width="98%" border="0" cellspacing="4" cellpadding="3" class="csubtable">
|
---|
30 | <tr>
|
---|
31 | <TMPL_LOOP NAME=colheads>
|
---|
32 | <td class="datahead_<TMPL_IF firstcol>l<TMPL_ELSE>s</TMPL_IF>"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=<TMPL_VAR NAME=page><TMPL_IF NAME=offset>&offset=<TMPL_VAR NAME=offset></TMPL_IF>&sortby=<TMPL_VAR NAME=sortby>&order=<TMPL_VAR NAME=order>"><TMPL_VAR NAME=colname></a><TMPL_IF NAME=sortorder> <img alt="<TMPL_VAR NAME=sortorder>" src="images/<TMPL_VAR NAME=sortorder>.png" /></TMPL_IF></td></TMPL_LOOP>
|
---|
33 | <TMPL_IF delloc> <td class="datahead_s">Delete</td></TMPL_IF>
|
---|
34 | </tr>
|
---|
35 | <TMPL_IF name=loctable>
|
---|
36 | <TMPL_LOOP name=loctable>
|
---|
37 | <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>">
|
---|
38 | <td align="left"><TMPL_IF edloc><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=location&locact=edit&loc=<TMPL_VAR NAME=location>"><TMPL_VAR NAME=description></a><TMPL_ELSE><TMPL_VAR NAME=description></TMPL_IF></td>
|
---|
39 | <td><TMPL_VAR name=iplist></td>
|
---|
40 | <td><TMPL_VAR name=group_name></td>
|
---|
41 | <TMPL_IF delloc>
|
---|
42 | <td align="center"><a href="dns.cgi?sid=<TMPL_VAR NAME=sid>&page=delloc&id=<TMPL_VAR
|
---|
43 | NAME=loc>"><img src="images/trash2.png" alt="[ Delete ]" /></a></td>
|
---|
44 | </TMPL_IF>
|
---|
45 | </tr>
|
---|
46 | </TMPL_LOOP>
|
---|
47 | <TMPL_ELSE>
|
---|
48 | <tr><td colspan="6">No locations/views defined</td></tr>
|
---|
49 | </TMPL_IF>
|
---|
50 | </table>
|
---|
51 |
|
---|
52 | </td>
|
---|
53 | </tr>
|
---|
54 | </table>
|
---|