generic file handler support :)

git-svn-id: file:///home/shish/svn/shimmie2/trunk@623 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish
2007-12-06 02:26:34 +00:00
parent 0d126084ce
commit a5a6f4781c
12 changed files with 259 additions and 315 deletions

View File

@@ -0,0 +1,10 @@
<?php
class PixelFileHandlerTheme extends Themelet {
public function display_image($page, $image) {
$ilink = $image->get_image_link();
$html = "<img id='main_image' src='$ilink'>";
$page->add_block(new Block("Image", $html, "main", 0));
}
}
?>