uid); $open_url = $obj->get('url'); if (is_array($open_url) && !empty($open_url[0])) { $c .= ''; /*translation:Open*/ $c .= ''; $c .= 'open'; if ($resource_stats['url']) { $c .= $resource_stats['url']; } else { $c .= "  "; } $c .= ''; } else if ($obj->hasAttachments()) { $c .= ''; $c .= " wwwroot. "mod/koolielu/views/default/_graphics/downloaded_resource.gif\" alt=\"open\" />"; if ($resource_stats['url']) { $c .= $resource_stats['url']; } else { $c .= "  "; } $c .= ''; } // Collections count if ($obj->getCollectionIDs()) { $c .= ''; /*translation:Number of times added to collection.*/ $c .= 'collection'; $c .= count($obj->getCollectionIDs()); $c .= ''; } // Favorites count if ($resource_stats['favorite']) { $c .= ''; /*translation:Number of times marked as favourite.*/ $c .= 'favorite'; $c .= $resource_stats['favorite']; $c .= ''; } } return $c; } } if ( $vars['entity'] ) { $obj = $vars['entity']; $full = $vars['full']; if (is_null($full)) $full = false; if ($vars['full']) { // Full view is in view.php // XXX it might be a good idea to bring it here some time. but maybe not... } else { echo '
'; ?>
uid;?>">getTitle(); ?>
getDescription($chars=160); ?>
getSchema(), getCollectionSchema())) { $o = $obj->getOwnerPrintable(); if (!is_null($o[0])) { echo $o[1]; } } else { echo elgg_view("waramu/field_vCard", array("mode" => "short_view", "object" => $obj, "fieldname" => "vauthor")); } echo " ".date("d.m.Y", $obj->getDate()); ?>