root/branches/boomer/tmpl/cms/include/template_table.tmpl @ 1103

Revision 1103, 4.5 kB (checked in by hachi, 2 years ago)

Merging release-23 to boomer branch: svn merge -r67286:67963 http://svn.sixapart.com/repos/eng/movabletype/branches/release-23 .

  • Property svn:keywords set to Id Revision
Line 
1<mt:setvarblock name="action_buttons">
2<mt:unless name="template_type" eq="system"><mt:unless name="template_type" eq="email">
3    <a href="javascript:void(0)"
4        onclick="doRemoveItems(getByID('<$mt:var name="object_type"$>-listing-form'), '<__trans phrase="template" escape="js">', '<__trans phrase="templates" escape="js">'); return false;"
5        accesskey="x"
6        title="<__trans phrase="Delete selected [_1] (x)" params="<$mt:var name="object_label_plural"$>">"
7        ><__trans phrase="Delete"></a>
8</mt:unless></mt:unless>
9</mt:setvarblock>
10<mtapp:listing hide_pager="1" class="show-all">
11    <mt:if __first__>
12        <thead>
13            <tr>
14                <th class="cb"><input type="checkbox" name="id-head" value="all" class="select" /></th>
15                <th class="template-name"><__trans phrase="Template Name"></th>
16                <th class="output-file"><__trans phrase="Output File"></th>
17        <mt:unless name="filter">
18                <th class="template-type"><__trans phrase="Type"></th>
19        </mt:unless>
20        <mt:unless name="blog_view">
21                <th class="blog"><__trans phrase="Blog"></th>
22        </mt:unless>
23                <th class="linked-template si"><!-- <span><__trans phrase="Linked"></span> --><img src="<mt:var name="static_uri">images/status_icons/linked.gif" alt="<__trans phrase="Linked Template">" title="<__trans phrase="Linked Template">" width="17" height="9" /></th>
24                <th class="dynamic-template si"><!-- <span><__trans phrase="Dynamic"></span> --><img src="<mt:var name="static_uri">images/status_icons/dynamic.gif" alt="<__trans phrase="Dynamic Template">" title="<__trans phrase="Dynamic Template">" width="11" height="9" /></th>
25                <th class="rebuild-template si"><!-- <span><__trans phrase="Published w/Indexes"></span> --><img src="<mt:var name="static_uri">images/status_icons/rebuild.gif" alt="<__trans phrase="Published Template w/Indexes">" title="<__trans phrase="Published Template w/Indexes">" width="9" height="9" /></th>
26                <th class="view-template si"><span><__trans phrase="View"></span></th>
27            </tr>
28        </thead>
29        <tbody>
30    </mt:if>
31            <tr class="<mt:if name="__odd__">odd<mt:else>even</mt:if> template-<$mt:var name="template_type"$>">
32                <td class="cb"><input type="checkbox" name="id" class="select" value="<mt:var name="id">" /></td>
33                <td class="template-name"><a href="<mt:var name="script_url">?__mode=view&amp;_type=template&amp;id=<mt:var name="id">&amp;blog_id=<mt:var name="blog_id">"><mt:var name="name" escape="html"></a></td>
34                <td class="output-file"><mt:if name="outfile"><mt:var name="outfile" escape="html"><mt:else><span><__trans phrase="-"></span></mt:if></td>
35        <mt:unless name="filter">
36                <td class="template-type"><$mt:var name="type"$></td>
37        </mt:unless>
38        <mt:unless name="blog_view">
39                <td class="blog"><a href="<$mt:var name="script_url"$>?__mode=list&amp;_type=template&amp;blog_id=<$mt:var name="blog_id"$>"><$mt:var name="weblog_name" escape="html"$></a></td>
40        </mt:unless>
41                <td class="linked-template si status-<mt:if name="linked_file">linked<mt:else>unlinked</mt:if>"><!-- <span><__trans phrase="Linked"></span> --><img src="<mt:var name="static_uri">images/spacer.gif" alt="<mt:if name="linked_file"><__trans phrase="Yes"><mt:else><__trans phrase="No"></mt:if>" width="9" height="9" <mt:if name="linked_file">title="<mt:var name="linked_file" escape="html">"</mt:if> /></td>
42                <td class="dynamic-template si status-<mt:if name="build_dynamic">dynamic<mt:else>static</mt:if>"><img src="<mt:var name="static_uri">images/spacer.gif" alt="<mt:if name="build_dynamic"><__trans phrase="Yes"><mt:else><__trans phrase="No"></mt:if>" width="9" height="9" /></td>
43                <td class="rebuild-template si status-<mt:if name="rebuild_me">rebuild<mt:else>norebuild</mt:if>"><img src="<mt:var name="static_uri">images/spacer.gif" alt="<mt:if name="rebuild_me"><__trans phrase="Yes"><mt:else><__trans phrase="No"></mt:if>" width="9" height="9" /></td>
44                <td class="view-template si status-view"><mt:if name="published_url"><a href="<mt:var name="published_url">" target="<__trans phrase="_external_link_target">" title="<__trans phrase="View Published Template">"><img src="<mt:var name="static_uri">images/spacer.gif" alt="<__trans phrase="View Published Template">" width="13" height="9" /></a><mt:else><__trans phrase="-"></mt:if></td>
45            </tr>
46    <mt:if __last__>
47        </tbody>
48    </mt:if>
49</mtapp:listing>
Note: See TracBrowser for help on using the browser.