Changeset 1992

Show
Ignore:
Timestamp:
04/18/08 23:58:09 (7 months ago)
Author:
bchoate
Message:

Display background option for new templates too. BugId:79402

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/release-35/lib/MT/CMS/Template.pm

    r1989 r1992  
    265265        } 
    266266        # publish options 
    267         $param->{publish_queue_available} = eval 'require List::Util; require Scalar::Util; 1;'; 
    268267        $param->{build_type} = $obj->build_type; 
    269268        $param->{ 'build_type_' . ( $obj->build_type || 0 ) } = 1; 
     
    378377          if $app->param('name'); 
    379378    } 
     379    $param->{publish_queue_available} = eval 'require List::Util; require Scalar::Util; 1;'; 
     380 
    380381    my $set = $blog ? $blog->template_set : undef; 
    381382    require MT::DefaultTemplates;