getGUID(); $tags = $file->tags; $title = $file->title; $desc = $file->description; $owner = $vars['entity']->getOwnerEntity(); $friendlytime = friendly_time($vars['entity']->time_created); $mime = $file->mimetype; if (get_context() == "search") { if (get_input('search_viewtype') == "gallery") { //default gallery view for album listing @ /photos/owned/ //get album cover if one was set if($file->cover) $album_cover = ''; else $album_cover = ''; ?>
'.$title.''; $info .= " "; $icon = "getURL()}\">" . elgg_view("tidypics/icon", array('album' => true, 'size' => 'small')) . ""; echo elgg_view_listing($icon, $info); } } else { // individual album view ?> '.$title.''; echo '