blob: bed5c140b8ebdb51411eaf501b7dd5e1b08f045d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<?php
$num = $vars['entity']->num_display;
if (!$num) {
$num = 4;
}
$content = elgg_list_entities(array('types' => 'object', 'subtypes' => 'thewire', 'container_guid' => $vars['entity']->owner_guid, 'limit' => $num, 'full_view' => FALSE, 'pagination' => FALSE));
echo $content;
if ($content) {
$blogurl = elgg_get_site_url() . "pg/thewire/" . elgg_get_page_owner()->username;
echo "<div class=\"shares_widget_wrapper\"><a href=\"{$blogurl}\">".elgg_echo('thewire:moreposts')."</a></div>";
}
|