HomeHelpTrac

Ignore:
Timestamp:
11/01/09 23:34:37 (3 years ago)
Author:
Andrey Prikaznov
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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; 
Note: See TracChangeset for help on using the changeset viewer.