From 9ca07641d2132468ce42ab0b208a9c44e002f9a2 Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 24 Jun 2012 01:13:24 +0100 Subject: [PATCH] build_thumb_html can't be called statically --- ext/rss_images/main.php | 2 +- ext/rss_images/theme.php | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 ext/rss_images/theme.php diff --git a/ext/rss_images/main.php b/ext/rss_images/main.php index 55bad355..3120e498 100644 --- a/ext/rss_images/main.php +++ b/ext/rss_images/main.php @@ -49,7 +49,7 @@ class RSS_Images extends Extension { $image_url = $image->get_image_link(); $posted = date(DATE_RSS, $image->posted_timestamp); $content = html_escape( - "

" . Themelet::build_thumb_html($image) . "

" . + "

" . $this->theme->build_thumb_html($image) . "

" . "

Uploaded by " . html_escape($owner->name) . "

" ); diff --git a/ext/rss_images/theme.php b/ext/rss_images/theme.php new file mode 100644 index 00000000..d1f2734f --- /dev/null +++ b/ext/rss_images/theme.php @@ -0,0 +1,4 @@ +