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