Changeset 1725
- Timestamp:
- 04/02/08 19:01:50 (19 months ago)
- Location:
- branches/release-33/lib/MT
- Files:
-
- 2 modified
-
Template.pm (modified) (1 diff)
-
Template/ContextHandlers.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-33/lib/MT/Template.pm
r1658 r1725 261 261 $ctx->var( 'page_columns', $columns ) if $columns; 262 262 } 263 $ctx->var( $tmpl->identifier, 1 ) if defined $tmpl->identifier; 263 264 264 265 $timer->pause_partial if $timer; -
branches/release-33/lib/MT/Template/ContextHandlers.pm
r1677 r1725 2377 2377 return $ctx->error($builder->errstr); 2378 2378 } 2379 $tmpl->tokens( $tokens ); 2379 2380 2380 2381 $req->stash($stash_id, [ $tmpl, $tokens ]); … … 2382 2383 2383 2384 # Build the included template against the includ*ing* template's context. 2384 my $ret = $ builder->build($ctx, $tokens, $cond);2385 my $ret = $tmpl->build( $ctx, $cond ); 2385 2386 if (!defined $ret) { 2386 2387 $req->cache('build_template', $tmpl) if $tmpl;
