per-agent configuration of batch processors, #71837
[freeside.git] / torrus / templates / search.html
1 [% PROCESS 'html-incblocks.txt' %]
2 [% global.SearchString = variables.SEARCH; clearVar('SEARCH') %]
3 [% INCLUDE htmlstart
4      title='Search results: ' _ global.SearchString
5      contentClass="SingleColumnContent" %]
6
7 <H1>Search results: [% global.SearchString %]</H1>
8 [% INCLUDE treename %]
9 <DIV CLASS="Listing">
10 [% results = searchResults(global.SearchString);
11    counter = 0;
12
13    FOREACH entry = results;
14
15     counter = counter + 1;
16     IF counter % 2 == 0;
17       evenRow = 1;
18     ELSE;
19       evenRow = 0;
20     END;
21
22     etoken = pathToken(entry.0);
23 %]
24   <DIV CLASS="[% evenRow ? 'ListRowEven' : 'ListRow' %]">
25     <SPAN CLASS="NodeName"><A HREF="[%persistentUrl(etoken)%]">
26     [% entry.0 %]</A></SPAN>
27     <SPAN CLASS="NodeDescr">
28     [% IF entry.1; entry.1 _ ': ' _ xmlnorm(nodeParam(etoken, entry.1));
29     END %]
30     </SPAN>
31   </DIV>
32 [% END %]
33 </DIV>
34
35
36 </DIV><!-- Content -->[% global.contentFinished = 1 %]
37 <DIV CLASS="BottomMenu">
38 [% INCLUDE shortcut url=url(pathToken('/')) text="Datasources tree"
39                     title="Back to the datasources tree" %]
40 [% INCLUDE searchdialog %]
41 </DIV>
42
43 [% INCLUDE htmlend %]