Show
Ignore:
Timestamp:
07/01/08 06:52:55 (17 months ago)
Author:
auno
Message:

Added permission error message for refreshing templates. BugzID:80385

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-41/lib/MT/CMS/Blog.pm

    r2652 r2669  
    414414    $param{screen_id} = "list-blog"; 
    415415    $param{listing_screen} = 1; 
     416    if ( my $blog_name = $app->param('blog_name') ) { 
     417        $param{error}     = 1; 
     418        $param{blog_name} = $blog_name; 
     419    } 
    416420    return $app->load_tmpl( 'list_blog.tmpl', \%param ); 
    417421}