forked from Cavemanon/cavepaintings
.ico handler, by request
git-svn-id: file:///home/shish/svn/shimmie2/trunk@792 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
10
contrib/handle_ico/theme.php
Normal file
10
contrib/handle_ico/theme.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
class IcoFileHandlerTheme 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));
|
||||
}
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user