From 1b76def26fbfc4ef3f0fcb2df210d916b972628b Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 22 Nov 2008 21:59:41 +0000 Subject: Create thumbnail insertion points (top/bottom/info) and move the generic item info into the info module. --- modules/info/helpers/info_block.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'modules/info/helpers') diff --git a/modules/info/helpers/info_block.php b/modules/info/helpers/info_block.php index 62c2919c..975acd6a 100644 --- a/modules/info/helpers/info_block.php +++ b/modules/info/helpers/info_block.php @@ -26,4 +26,13 @@ class info_block_Core { $block->content = new View("info_block.html"); return $block; } + + public static function thumbnail_info($theme, $item) { + print "
  • Views: 321
  • "; + if ($item->owner) { + print "
  • "; + printf(_("By: %s"), "{$item->owner->name}"); + print "
  • "; + } + } } \ No newline at end of file -- cgit v1.2.3