Version 5.0.0 beta 10
This commit is contained in:
1 parent
56979f8ee8
commit
264eeb97e0
325 files changed
+6442
-1849
No files matched your search
@@ -606,13 +606,6 @@ class Blog extends Model implements Embeddable
|
||||
}
|
||||
|
||||
$form->add( new YesNo( 'allow_anonymous_comments', $this->id ? $this->allow_anonymous : FALSE, FALSE, array() ) );
|
||||
|
||||
/* Categories */
|
||||
if ( $public and $this->id )
|
||||
{
|
||||
$form->addTab( 'blog_entry_categories' );
|
||||
$form->addHtml( Theme::i()->getTemplate( 'view', 'blog', 'front' )->manageCategories( $this ) );
|
||||
}
|
||||
|
||||
parent::form( $form );
|
||||
}
|
||||
@@ -1544,12 +1537,10 @@ class Blog extends Model implements Embeddable
|
||||
$editLink->opensDialog( 'edit_blog' );
|
||||
$links[] = $editLink;
|
||||
}
|
||||
else
|
||||
{
|
||||
$categoryLink = new ContentMenuLink( $this->url()->setQueryString( 'do', 'manageCategories' ), 'blog_manage_entry_categories' );
|
||||
$categoryLink->opensDialog( 'blog_manage_entry_categories' );
|
||||
$links[] = $categoryLink;
|
||||
}
|
||||
|
||||
$categoryLink = new ContentMenuLink( $this->url()->setQueryString( 'do', 'manageCategories' ), 'blog_manage_entry_categories' );
|
||||
$categoryLink->opensDialog( 'blog_manage_entry_categories' );
|
||||
$links[] = $categoryLink;
|
||||
|
||||
if( Settings::i()->blog_allow_rssimport )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user