Changeset 1394
- Timestamp:
- 02/22/08 01:25:26 (7 months ago)
- Files:
-
- branches/release-30/lib/MT/App/Comments.pm (modified) (3 diffs)
- branches/release-30/lib/MT/WeblogPublisher.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/release-30/lib/MT/App/Comments.pm
r1186 r1394 994 994 my $ctx = $tmpl->context; 995 995 $tmpl->param( 996 { 'body_class' => 'mt-comment-confirmation', 'comment_link' => $comment_link } );996 { 'body_class' => 'mt-comment-confirmation', 'comment_link' => $comment_link, 'comment_response_template' => 1, 'system_template' => 1 } ); 997 997 $ctx->stash('entry', $entry); 998 998 $ctx->stash('comment', $comment); … … 1587 1587 if ( $err eq 'pending' ) { 1588 1588 $tmpl->context($ctx); 1589 $tmpl->param('body_class', 'mt-comment-pending'); 1589 $tmpl->param( 1590 { 'body_class' => 'mt-comment-pending', 'comment_response_template' => 1, 'system_template' => 1 } ); 1590 1591 } 1591 1592 else { 1592 1593 $ctx->stash( 'error_message', $err ); 1593 1594 $tmpl->context($ctx); 1594 $tmpl->param('body_class', 'mt-comment-error'); 1595 $tmpl->param( 1596 { 'body_class' => 'mt-comment-error', 'comment_response_template' => 1, 'system_template' => 1 } ); 1595 1597 } 1596 1598 } … … 1608 1610 } 1609 1611 $tmpl->context($ctx); 1610 $tmpl->param('body_class', 'mt-comment-preview'); 1612 $tmpl->param( 1613 { 'body_class' => 'mt-comment-preview', 'comment_preview_template' => 1, 'system_template' => 1 } ); 1611 1614 } 1612 1615 my %cond; branches/release-30/lib/MT/WeblogPublisher.pm
r1379 r1394 234 234 entry_based => 1, 235 235 template_params => { 236 entry_archive => 1, 236 237 main_template => 1, 237 238 archive_template => 1,
