summaryrefslogtreecommitdiff
path: root/modules/info
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-22 21:59:41 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-22 21:59:41 +0000
commit1b76def26fbfc4ef3f0fcb2df210d916b972628b (patch)
tree78d12d06e6cc8f5cd3897349b1a4408a4aba0a6a /modules/info
parent35cfbfdef457d7d330c5a3839baea250a563af67 (diff)
Create thumbnail insertion points (top/bottom/info) and move
the generic item info into the info module.
Diffstat (limited to 'modules/info')
-rw-r--r--modules/info/helpers/info_block.php9
1 files changed, 9 insertions, 0 deletions
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 "<li>Views: 321</li>";
+ if ($item->owner) {
+ print "<li>";
+ printf(_("By: %s"), "<a href=\"#\">{$item->owner->name}</a>");
+ print "</li>";
+ }
+ }
} \ No newline at end of file