{* $Id$ *} {title help="Blogs"}{if isset($blogTitle)}{tr _0=$blogTitle}Blog: %0{/tr}{else}{tr}Blog Posts{/tr}{/if}{/title}
{button href="tiki-edit_blog.php" _type="link" class="btn btn-link" _icon_name="add" _text="{tr}Create Blog{/tr}"} {button href="tiki-blog_post.php" _type="link" class="btn btn-link" _icon_name="create" _text="{tr}New Blog Post{/tr}"} {button href="tiki-list_blogs.php" _type="link" class="btn btn-link" _icon_name="list" _text="{tr}List Blogs{/tr}"}
{if $posts or ($find ne '')} {include file='find.tpl'} {/if} {if $posts and $tiki_p_blog_admin eq 'y'}
{query _type='form_input'} {/if}
{* table-responsive class cuts off css drop-down menus *} {if $posts and $tiki_p_blog_admin eq 'y'} {/if} {if !isset($blogId)} {/if} {section name=changes loop=$posts}{assign var=id value=$posts[changes].postId} {if !isset($blogId)} {/if} {sectionelse} {norecords _colspan=7} {/section}
{select_all checkbox_names='checked[]'} {tr}Post Title{/tr} {tr}Blog Title{/tr} {tr}Created{/tr} {tr}Size{/tr} {tr}(bytes){/tr} {tr}Author{/tr}
{object_link type="blog post" id=$posts[changes].postId title=$posts[changes].title} {$posts[changes].blogTitle|truncate:$prefs.blog_list_title_len:"...":true|escape}  {$posts[changes].created|tiki_short_date}  {$posts[changes].size}  {$posts[changes].user}  {actions} {strip} {icon name="edit" _menu_text='y' _menu_icon='y' alt="{tr}Edit{/tr}"} {if $tiki_p_admin eq 'y' || $tiki_p_assign_perm_blog eq 'y'} {permission_link mode=text type="blog post" permType="blogs" id=$posts[changes].postId} {/if} {icon name="remove" _menu_text='y' _menu_icon='y' alt="{tr}Remove{/tr}"} {/strip} {/actions}
{if $posts and $tiki_p_blog_admin eq 'y'}
{/if} {pagination_links cant=$cant step=$maxRecords offset=$offset}{/pagination_links}