build_thumb_html can't be called statically
This commit is contained in:
parent
a640de5283
commit
9ca07641d2
@ -49,7 +49,7 @@ class RSS_Images extends Extension {
|
|||||||
$image_url = $image->get_image_link();
|
$image_url = $image->get_image_link();
|
||||||
$posted = date(DATE_RSS, $image->posted_timestamp);
|
$posted = date(DATE_RSS, $image->posted_timestamp);
|
||||||
$content = html_escape(
|
$content = html_escape(
|
||||||
"<p>" . Themelet::build_thumb_html($image) . "</p>" .
|
"<p>" . $this->theme->build_thumb_html($image) . "</p>" .
|
||||||
"<p>Uploaded by " . html_escape($owner->name) . "</p>"
|
"<p>Uploaded by " . html_escape($owner->name) . "</p>"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
4
ext/rss_images/theme.php
Normal file
4
ext/rss_images/theme.php
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<?php
|
||||||
|
/* needed for access to build_thumb_html */
|
||||||
|
class RSS_ImagesTheme extends Themelet {}
|
||||||
|
?>
|
Loading…
x
Reference in New Issue
Block a user