Put the <%%> tags in the templates
[bugdar.git] / templates / search_results.tpl
1 <%- $doctype %>
2 <html xmlns="http://www.w3.org/1999/xhtml" lang="<%- $stylevar['lang'] %>" xml:lang="<%- $stylevar['lang'] %>" dir="<%- $stylevar['lang_dir'] %>">
3 <head>
4 <%- $headinclude %>
5 <title><%- bugdar::$options['trackertitle'] %> - {@"Search Results"}</title>
6 </head>
7
8 <body>
9
10 <%- $header %>
11
12 <if condition="$show['cached']">
13 <div style="font-weight: bold"><a href="search.php?new=1">{@"This search has been cached for your convenience. You can perform a new search by clicking here."}</a></div>
14 <div><a href="search.php?rerun=1&amp;searchid=<%- $searchid %>">{@"Alternatively, you can re-run this search by clicking here."}</a></div>
15 <br />
16 </if>
17
18 <table class="table">
19 <tr class="listinghead">
20 <%- $columnHeads %>
21 </tr>
22 <%- $bugs %>
23 </table>
24
25 <div>
26 <a href="search.php?do=export&amp;searchid=<%- $searchid %>">[{@"Export results as XML"}]</a>
27 <if condition="$show['save']"><a href="search.php?do=save&amp;searchid=<%- $searchid %>">[{@"Save Search"}]</a></if>
28 <if condition="$show['update']"><a href="search.php?do=update&amp;searchid=<%- $searchid %>">[{@"Mass Update Bugs in Result"}]</a></if>
29 </div>
30
31 <if condition="$show['pagenav']">
32 <!-- pagenav -->
33 <div align="<%- $stylevar[right] %>">
34 <%- $pagenav %>
35 </div>
36 <!-- / pagenav -->
37 </if>
38
39 <%- $footer %>