{* $Header$ *}
{strip}
{if $gBitSystem->isPackageActive( 'rss' ) and $gBitSystem->isFeatureActive( 'blogs_rss' ) and $smarty.const.ACTIVE_PACKAGE eq 'blogs' and $gBitUser->hasPermission( 'p_blogs_view' )}
{if isset($gContent->mBlogId)}
{elseif isset($post_info.blogs)}
{foreach from=$post_info.blogs item=memberBlog key=blogContentId name=memberBlogLoop}
{/foreach}
{else}
{/if}
{/if}
{* this is for ajaxing the readmore portion of blog posts.
* this is ugly, but because recent posts are handled by dynamic center outside of the blog package we have
* no way to assign the appropriate ajax library needs the propery way - so we force it here.
*
* this is configured for using center_list_blog_posts in the user pkg, as this is a common configuration,
* but it can be used in other pkgs, like wiki for example. Expand this set of conditionals as
* needed for your site configuation by creating a custom version of this tpl in your theme. Target the
* conditionals to the pkg you are including center_list_blog_posts in.
*}
{if $ajax_more}
{* @TODO develop custom callback - for now override ajax callback for cool scroll effect *}
{literal}
{/literal}
{/if}
{/strip}