root/branches/release-39/plugins/TypePadAntiSpam/tmpl/stats_widget.tmpl @ 2461

Revision 2461, 2.0 kB (checked in by bchoate, 18 months ago)

Checkin of TypePad AntiSpam plugin; MT version bump.

Line 
1<mt:setvarblock name="html_head" append="1">
2<__trans_section component="typepadantispam">
3<style type="text/css" media="screen">
4    .typepadantispam-stats {
5        width: 300px;
6        background: #e7eff3;
7    }
8    .typepadantispam-stats .widget-content {
9        padding-top: 3px;
10    }
11    .tpas-label {
12        float: left;
13        width: <__trans phrase="widget_label_width">px;
14        text-align: right;
15        padding-top: 3px;
16    }
17    .tpas-totals {
18        float: right;
19        width: <__trans phrase="widget_totals_width">px;
20        padding: 2px 6px;
21        background: #fff;
22        border: 1px solid #d5e3ea;
23        border-width: 0 1px 1px 0;
24        overflow: auto;
25    }
26    .tpas-totals strong {
27        font-size: 24px;
28        font-weight: normal;
29        white-space: nowrap;
30    }
31    .tpas-totals em {
32        color: #999;
33        padding-left: 5px;
34        white-space: nowrap;
35    }
36    .tpas-ad {
37        clear: both;
38        width: 280px;
39        height: 30px;
40        margin-top: 10px;
41    }
42    .tpas-ad iframe {
43        border: none;
44    }
45</style>
46</__trans_section>
47</mt:setvarblock>
48<mtapp:widget class="widget typepadantispam-stats"
49    label="<__trans phrase="TypePad AntiSpam">"
50    label_link="http://antispam.typepad.com/"
51    can_close="1"
52    corners="1">
53    <div class="tpas-data pkg">
54        <div class="tpas-label"><__trans phrase="Spam Blocked"></div>
55        <div class="tpas-totals">
56<mt:if name="blog_id">
57            <strong><mt:var name="blog_blocked"></strong>
58            <em><__trans phrase="on this blog"></em>
59<mt:else>
60            <strong><mt:var name="system_blocked"></strong>
61            <em><__trans phrase="on this system"></em>
62</mt:if>
63        </div>
64    </div>
65    <mt:unless name="is_ssl">
66    <div class="tpas-ad"><iframe src="http://ads.sixapart.com/show?p=mt&amp;channel=app&amp;width=280&amp;height=30&amp;language=<mt:var name="language">" width="280" height="30" frameborder="0" marginwidth="0" marginheight="0" scrolling="0"></iframe></div>
67    </mt:unless>
68</mtapp:widget>
Note: See TracBrowser for help on using the browser.