much friendlier get_theme_object
git-svn-id: file:///home/shish/svn/shimmie2/trunk@1019 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
@ -8,7 +8,7 @@ class LinkImage implements Extension {
|
||||
var $theme;
|
||||
|
||||
public function receive_event(Event $event) {
|
||||
if(is_null($this->theme)) $this->theme = get_theme_object("link_image", "LinkImageTheme");
|
||||
if(is_null($this->theme)) $this->theme = get_theme_object($this);
|
||||
if(($event instanceof DisplayingImageEvent)) {
|
||||
global $config;
|
||||
$data_href = get_base_href();
|
||||
|
Reference in New Issue
Block a user