root/trunk/Vanilla/templates/vanilla+search+tags/home.mtml @ 924

Revision 924, 1.3 kB (checked in by bsmith, 16 months ago)

adding vanilla+search+tags

  • Property svn:executable set to *
Line 
1<mt:IncludeBlock module="Wrapper">
2   
3    <mt:setvarblock name="html_head" append="1">
4        <style type="text/css" media="screen">
5            .tagcloud {
6/*                float: right;*/
7/*                width: 30%;*/
8                list-style: none;
9            }
10            .tagcloud .tag {
11                display: inline;
12            }
13            .tag-1 { font-size: 26px;}
14            .tag-2 { font-size: 24px;}
15            .tag-3 { font-size: 22px;}
16            .tag-4 { font-size: 20px;}
17            .tag-5 { font-size: 18px;}
18            .tag-6 { font-size: 16px;}
19        </style>
20    </mt:setvarblock>
21   
22    <h3><__trans phrase="Tag Cloud"></h3>
23    <ul class="tagcloud">
24        <mt:Tags>
25            <li class="tag tag-<$mt:TagRank$>"><a href="<$mt:TagSearchLink$>"><$mt:TagName$> (<$mt:TagCount$>)</a></li>
26        </mt:Tags>
27    </ul>
28
29    <h3><__trans phrase="Search"></h3>
30    <form method="get" action="<$mt:CGIPath$><$mt:SearchScript$>">
31        <input type="text" name="search" value="<$mt:SearchString$>" />
32        <input type="hidden" name="IncludeBlogs" value="<$mt:BlogID$>" />
33        <input type="hidden" name="limit" value="<$mt:SearchMaxResults$>" />
34        <input type="submit" value="<__trans phrase="Search">" />
35    </form>
36
37</mt:IncludeBlock>
Note: See TracBrowser for help on using the browser.