root/branches/release-41/tmpl/cms/list_blog.tmpl @ 2669

Revision 2669, 1.8 kB (checked in by auno, 17 months ago)

Added permission error message for refreshing templates. BugzID:80385

  • Property svn:keywords set to Id Revision
Line 
1<mt:setvar name="page_title" value="<__trans phrase="Blogs">">
2<mt:setvarblock name="system_msg">
3    <mt:if name="saved_deleted">
4        <mtapp:statusmsg
5            id="saved-deleted"
6            class="success">
7            <__trans phrase="You have successfully deleted the blogs from the Movable Type system.">
8        </mtapp:statusmsg>
9    </mt:if>
10    <mt:if name="refreshed">
11        <mtapp:statusmsg
12            id="refreshed"
13            class="success">
14            <__trans phrase="You have successfully refreshed your templates.">
15        </mtapp:statusmsg>
16    </mt:if>
17    <mt:if name="error">
18        <mtapp:statusmsg
19            id="error"
20            class="error">
21            <__trans phrase="You can not refresh templates: [_1]" params="<mt:var name="blog_name" escape="html">">
22        </mtapp:statusmsg>
23    </mt:if>
24</mt:setvarblock>
25<mt:setvarblock name="content_header">
26    <mt:if name="can_create_blog">
27    <p><a href="<mt:var name="script_url">?__mode=view&amp;_type=blog" class="icon-left icon-create"><__trans phrase="Create Blog"></a></p>
28    </mt:if>
29</mt:setvarblock>
30<mt:setvarblock name="related_content">
31    <$mtapp:pageactions from="list_blog"$>
32</mt:setvarblock>
33<mt:setvarblock name="html_body_footer">
34    <$mt:include name="include/display_options.tmpl"$>
35</mt:setvarblock>
36<mt:setvarblock name="html_head" append="1">
37    <script type="text/javascript">
38    /* <![CDATA[ */
39    var tableSelect;
40    function init()
41    {
42        // setup
43        tableSelect = new TC.TableSelect( "blog-listing-table" );
44        tableSelect.rowSelect = true;
45    }
46
47    TC.attachLoadEvent( init );
48    /* ]]> */
49    </script>
50</mt:setvarblock>
51<$mt:include name="include/header.tmpl"$>
52<$mt:include name="include/blog_table.tmpl"$>
53<$mt:include name="include/footer.tmpl"$>
Note: See TracBrowser for help on using the browser.