item()) { $block = new Block(); $block->id = "gMetadata"; $block->title = _("Item Info"); $block->content = new View("info_block.html"); return $block; } } public static function thumb_info($theme, $item) { $results = ""; if ($item->view_count) { $results .= "
  • "; $results .= sprintf(_("Views: %d"), $item->view_count); $results .= "
  • "; } if ($item->owner) { $results .= "
  • "; $results .= sprintf(_("By: %s"), "{$item->owner->name}"); $results .= "
  • "; } return $results; } }