Changeset 11
- Timestamp:
- 06/10/06 18:44:15 (3 years ago)
- Location:
- trunk/lib/MT
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/MT/Log.pm
r5 r11 168 168 my $msg; 169 169 if (my $entry = $log->metadata_object) { 170 $msg = $entry->to_hash->{ entry_text_html};170 $msg = $entry->to_hash->{'entry.text_html'}; 171 171 } else { 172 172 $msg = MT->translate('Entry # [_1] not found.', $log->metadata); … … 186 186 my $msg; 187 187 if ($cmt) { 188 $msg = $cmt->to_hash->{ comment_text_html};188 $msg = $cmt->to_hash->{'comment.text_html'}; 189 189 } else { 190 190 $msg = MT->translate("Comment # [_1] not found.", $log->metadata); … … 204 204 my $msg; 205 205 if ($ping) { 206 $msg = $ping->to_hash->{ ping_excerpt_html};206 $msg = $ping->to_hash->{'tbping.excerpt_html'}; 207 207 } else { 208 208 $msg = MT->translate("TrackBack # [_1] not found.", $log->metadata); -
trunk/lib/MT/TBPing.pm
r5 r11 227 227 my $hash = $ping->SUPER::to_hash(@_); 228 228 require MT::Sanitize; 229 $hash->{ tbping_excerpt} = MT::Sanitize->sanitize($ping->excerpt || '');229 $hash->{'tbping.excerpt_html'} = MT::Sanitize->sanitize($ping->excerpt || ''); 230 230 $hash->{'tbping.created_on_iso'} = sub { MT::Util::ts2iso(undef, $ping->created_on) }; 231 231 $hash->{'tbping.modified_on_iso'} = sub { MT::Util::ts2iso(undef, $ping->modified_on) };
