Changeset 4953
- Timestamp:
- 11/01/09 05:48:48 (4 weeks ago)
- Location:
- branches/greyhound
- Files:
-
- 3 modified
-
lib/MT/Theme.pm (modified) (1 diff)
-
lib/MT/Theme/Element.pm (modified) (1 diff)
-
tmpl/cms/list_theme.tmpl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/greyhound/lib/MT/Theme.pm
r4952 r4953 542 542 my @messages; 543 543 for my $element ( @elements ) { 544 push @messages, $element->information_string( $blog ); 544 my $str = $element->information_string( $blog ); 545 push @messages, $str if $str; 545 546 } 546 547 return @messages; -
branches/greyhound/lib/MT/Theme/Element.pm
r4916 r4953 111 111 my $importer = $_[0] || $element->importer 112 112 or die sprintf 'Theme element importer not found: %s', $element->errstr; 113 $info = $importer->{info} ;113 $info = $importer->{info} or return; 114 114 my $str; 115 115 if ( defined $info ) { -
branches/greyhound/tmpl/cms/list_theme.tmpl
r4926 r4953 173 173 <mt:if name="info"> 174 174 <div id="theme-<mt:var name="id">-info" class="theme-info"> 175 <h4><__trans phrase="Theme Info mation"></h4>175 <h4><__trans phrase="Theme Information"></h4> 176 176 <ul> 177 177 <mt:loop name="info">
