Visit BoonEx Page at Facebook

Facebook

Join BoonEx group at LinkedIn

LinkedIn

Follow BoonEx on Twitter

Twitter

Subscribe to BoonEx Blog RSS feed

RSS

Changeset 13124

Show
Ignore:
Timestamp:
11/01/09 23:34:37 (3 weeks ago)
Author:
Andrey Prikaznov
Message:

* Ticket #1392

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/modules/boonex/blogs/classes/BxBlogsModule.php

    r13090 r13124  
    420420 
    421421        function _defineActions () { 
    422                 defineMembershipActions(array ('blog view', 'blog post view', 'blogs browse', 'blogs posts browse', 'blog post search', 'blog post add', 'blog posts edit any post', 'blog posts delete any post', 'blog posts approving')); 
     422                defineMembershipActions(array ('blog view', 'blog post view', 'blogs browse', 'blogs posts browse', 'blog post search', 'blog post add', 'blog posts edit any post', 'blog posts delete any post', 'blog posts approving', 'blog posts comments delete and edit')); 
    423423        } 
    424424 
     
    773773        $sCategoriesSect = $this->getPostCategoriesBlock(); 
    774774                $sTagsSect = DesignBoxContent (_t('_Tags'), $this->getPostTagsBlock(), 1); 
    775         $sFeaturedSect = DesignBoxContent (_t('_bx_blog_Featured_Posts'), $this->getPostFeatureBlock(), 1); 
     775 
     776        $sFeaturedSectCont = $this->getPostFeatureBlock(); 
     777        $sFeaturedSect = ($sFeaturedSectCont) ? DesignBoxContent (_t('_bx_blog_Featured_Posts'), $this->getPostFeatureBlock(), 1) : ''; 
    776778 
    777779                return $sBlogActionsSect . $sActionsSect . $sDescriptionSect . $sCategoriesSect . $sFeaturedSect . $sTagsSect;