summaryrefslogtreecommitdiff
path: root/torrus/templates/globalsearch.html
diff options
context:
space:
mode:
authorivan <ivan>2010-12-27 00:04:44 +0000
committerivan <ivan>2010-12-27 00:04:44 +0000
commit74e058c8a010ef6feb539248a550d0bb169c1e94 (patch)
tree6e8d3efb218dd0f41970b62c7f29758d1ae9a937 /torrus/templates/globalsearch.html
parent35359a73152b3d7a9ad5e3d37faf81f6fedb76e8 (diff)
import torrus 1.0.9
Diffstat (limited to 'torrus/templates/globalsearch.html')
-rw-r--r--torrus/templates/globalsearch.html43
1 files changed, 43 insertions, 0 deletions
diff --git a/torrus/templates/globalsearch.html b/torrus/templates/globalsearch.html
new file mode 100644
index 000000000..c01c3d4ed
--- /dev/null
+++ b/torrus/templates/globalsearch.html
@@ -0,0 +1,43 @@
+[% PROCESS 'html-incblocks.txt' %]
+[% global.SearchString = variables.SEARCH; clearVar('SEARCH') %]
+[% INCLUDE htmlstart
+ title='Global Search results: ' _ global.SearchString
+ contentClass="SingleColumnContent"
+ noTopMenu=1 %]
+
+<DIV CLASS="TopMenu">
+[% INCLUDE shortcut url=url() text="Top"
+ title="Choose from the list of trees"%]
+</DIV>
+
+<H1>Global Search results: [% global.SearchString %]</H1>
+<DIV CLASS="Listing">
+[% results = searchResults( global.SearchString );
+ counter = 0;
+
+ FOREACH entry = results;
+
+ counter = counter + 1;
+ IF counter % 2 == 0;
+ evenRow = 1;
+ ELSE;
+ evenRow = 0;
+ END;
+
+%]
+ <DIV CLASS="[% evenRow ? 'ListRowEven' : 'ListRow' %]">
+ <SPAN CLASS="NodeName">[%entry.0%]:
+ <A HREF="[%persistentUrl(entry.0, entry.1)%]">
+ [% entry.1 %]</A>
+ </SPAN>
+ </DIV>
+[% END %]
+</DIV>
+
+
+</DIV><!-- Content -->[% global.contentFinished = 1 %]
+<DIV CLASS="BottomMenu">
+[% INCLUDE globalsearchdialog %]
+</DIV>
+
+[% INCLUDE htmlend %]