File: commenter_table.tmpl

package info (click to toggle)
movabletype-opensource 4.2.3-1%2Blenny3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 21,268 kB
  • ctags: 15,862
  • sloc: perl: 178,892; php: 26,178; sh: 161; makefile: 82
file content (46 lines) | stat: -rw-r--r-- 3,924 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<mtapp:listing>
    <mt:if name="__first__">
    <thead>
        <tr>
            <th class="cb"><input type="checkbox" name="id-head" value="all" class="select" /></th>
            <th class="cmtr-flag" class="si"><img src="<mt:var name="static_uri">images/status_icons/invert-flag.gif" alt="<__trans phrase="Status">" title="<__trans phrase="Status">" width="9" height="9" /></th>
            <th class="cmtr-commenter"><__trans phrase="Commenter"></th>
            <th class="cmtr-identity"><__trans phrase="Identity"></th>
            <th class="cmtr-email"><__trans phrase="Email"></th>
            <th class="cmtr-url"><__trans phrase="URL"></th>
            <th class="cmtr-comments"><__trans phrase="Comments"></th>
            <th class="cmtr-recent"><__trans phrase="Last Commented"></th>
        </tr>
    </thead>
    <tbody>
    </mt:if>
        <tr class="<mt:if name="__odd__">odd<mt:else>even</mt:if>">
            <td class="cb">
        <mt:if name="has_edit_access">
                <input type="checkbox" name="id" value="<mt:var name="author_id">" class="select" />
        <mt:else>
                &nbsp;
        </mt:if>
            </td>
            <td class="si <mt:if name="commenter_approved">status-trusted<mt:else><mt:if name="commenter_banned">status-banned<mt:else>status-authenticated</mt:if></mt:if>">
        <mt:if name="commenter_approved">
            <a href="<mt:var name="script_url">?__mode=list_commenter&amp;blog_id=<mt:var name="blog_id">&amp;filter=status&amp;filter_val=approved" title="<__trans phrase="Only show trusted commenters">"><img src="<mt:var name="static_uri">images/spacer.gif" alt="<__trans phrase="Trusted">" width="13" height="9" /></a>
        <mt:else>
            <mt:if name="commenter_banned">
            <a href="<mt:var name="script_url">?__mode=list_commenter&amp;blog_id=<mt:var name="blog_id">&amp;filter=status&amp;filter_val=banned" title="<__trans phrase="Only show banned commenters">"><img src="<mt:var name="static_uri">images/spacer.gif" alt="<__trans phrase="Banned">" width="13" height="9" /></a>
            <mt:else>
            <a href="<mt:var name="script_url">?__mode=list_commenter&amp;blog_id=<mt:var name="blog_id">&amp;filter=status&amp;filter_val=neutral" title="<__trans phrase="Only show neutral commenters">"><img src="<mt:var name="static_uri">images/spacer.gif" alt="<__trans phrase="Authenticated">" width="7" height="9" /></a>
            </mt:if>
        </mt:if>
            </td>
            <td><a href="<mt:var name="script_url">?__mode=view&amp;_type=commenter&amp;blog_id=<mt:var name="blog_id">&amp;id=<mt:var name="author_id">" title="<__trans phrase="Edit this commenter">"><mt:var name="author_display" escape="html"></a></td>
            <td><mt:if name="commenter_url"><a href="<mt:var name="commenter_url">" title="<__trans phrase="View this commenter&rsquo;s profile">"><mt:var name="author" escape="html"></a><mt:else><mt:var name="author" escape="html"></mt:if></td>
            <td class="status-email"><mt:unless name="email_hidden"><a href="mailto:<mt:var name="email" escape="html">"><img src="<mt:var name="static_uri">images/spacer.gif" alt="<__trans phrase="Email">" width="16" height="9" /></a><mt:else>&nbsp;</mt:unless></td>
            <td class="status-link"><mt:if name="url"><a href="<mt:var name="url" escape="html">"><img src="<mt:var name="static_uri">images/spacer.gif" alt="<__trans phrase="Link">" width="16" height="9" /></a><mt:else>&nbsp;</mt:if></td>
            <td><mt:var name="comment_count"></td>
            <td><span title="<mt:var name="most_recent_time_formatted">"><mt:if name="most_recent_relative"><mt:if name="dates_relative"><mt:var name="most_recent_relative"><mt:else><mt:var name="most_recent_formatted"></mt:if><mt:else><mt:var name="most_recent_formatted"></mt:if></span></td>
        </tr>
    <mt:if name="__last__">
    </tbody>
    </mt:if>
</mtapp:listing>