fembooru/contrib/news/theme.php
shish 1fd2fe084b apply cleanups to 2.2
git-svn-id: file:///home/shish/svn/shimmie2/branches/branch_2.2@807 7f39781d-f577-437e-ae19-be835c7a54ca
2008-04-11 05:47:16 +00:00

12 lines
190 B
PHP

<?php
class NewsTheme extends Themelet {
/*
* Show $text on the $page
*/
public function display_news($page, $text) {
$page->add_block(new Block("Note", $text, "left", 5));
}
}
?>