summaryrefslogtreecommitdiff
path: root/modules/info/helpers/info_block.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/info/helpers/info_block.php')
-rw-r--r--modules/info/helpers/info_block.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/info/helpers/info_block.php b/modules/info/helpers/info_block.php
index 975acd6a..224ce368 100644
--- a/modules/info/helpers/info_block.php
+++ b/modules/info/helpers/info_block.php
@@ -28,11 +28,13 @@ class info_block_Core {
}
public static function thumbnail_info($theme, $item) {
- print "<li>Views: 321</li>";
+ $results = array();
+ $results .= "<li>Views: 321</li>";
if ($item->owner) {
- print "<li>";
- printf(_("By: %s"), "<a href=\"#\">{$item->owner->name}</a>");
- print "</li>";
+ $results .= "<li>";
+ $results .= sprintf(_("By: %s"), "<a href=\"#\">{$item->owner->name}</a>");
+ $results .= "</li>";
}
+ return $results;
}
} \ No newline at end of file