modify invoice DID summary date range calculation, RT10886
[freeside.git] / torrus / templates / globalsearch.html
1 [% PROCESS 'html-incblocks.txt' %]
2 [% global.SearchString = variables.SEARCH; clearVar('SEARCH') %]
3 [% INCLUDE htmlstart
4      title='Global Search results: ' _ global.SearchString
5      contentClass="SingleColumnContent"
6      noTopMenu=1 %]
7
8 <DIV CLASS="TopMenu">
9 [% INCLUDE shortcut url=url() text="Top"
10                     title="Choose from the list of trees"%]
11 </DIV>
12                     
13 <H1>Global Search results: [% global.SearchString %]</H1>
14 <DIV CLASS="Listing">
15 [% results = searchResults( global.SearchString );
16    counter = 0;
17
18    FOREACH entry = results;
19
20     counter = counter + 1;
21     IF counter % 2 == 0;
22       evenRow = 1;
23     ELSE;
24       evenRow = 0;
25     END;
26
27 %]
28   <DIV CLASS="[% evenRow ? 'ListRowEven' : 'ListRow' %]">
29     <SPAN CLASS="NodeName">[%entry.0%]:
30     <A HREF="[%persistentUrl(entry.0, entry.1)%]">
31     [% entry.1 %]</A>
32     </SPAN>
33   </DIV>
34 [% END %]
35 </DIV>
36
37
38 </DIV><!-- Content -->[% global.contentFinished = 1 %]
39 <DIV CLASS="BottomMenu">
40 [% INCLUDE globalsearchdialog %]
41 </DIV>
42
43 [% INCLUDE htmlend %]