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 = 'thumbnail'; else $album_cover = 'new album'; ?> '.$title.'

'; $info .= "

username}\">{$owner->name} {$friendlytime}"; $numcomments = elgg_count_comments($file); if ($numcomments) $info .= ", getURL()}\">" . sprintf(elgg_echo("comments")) . " (" . $numcomments . ")"; $info .= "

"; $icon = "getURL()}\">" . elgg_view("tidypics/icon", array('album' => true, 'size' => 'small')) . ""; echo elgg_view_listing($icon, $info); } } else { // individual album view ?>
username) || empty(page_owner_entity()->username)) { //when no owner available, link to world photos ?>  >  name); ?> > 
'.$title.''; echo '
'.autop($desc).'
'; if ($file->canEdit()) { // add edits // specific to my theme only //add_submenu_item(elgg_echo('album:addpix'), $vars['url'] . "pg/photos/upload/". $file_guid , '', 'jade'); //add_submenu_item(elgg_echo('album:edit'), $vars['url'] . "mod/tidypics/edit.php?file_guid=". $file_guid , '', 'jade'); //add_submenu_item(elgg_echo('album:delete'), $vars['url'] . "action/tidypics/delete?file=". $file_guid , '', 'jade'); ?>
">   $vars['url'] . "action/tidypics/delete?file=" . $file->getGUID(), 'text' => elgg_echo("album:delete"), 'confirm' => elgg_echo("album:delete:confirm"), )); ?>
0) { foreach($count as $image){ array_push($_SESSION['image_sort'], $image->guid); } echo list_entities("object","image", $file_guid, 24, false); } else { echo elgg_echo('image:none'); } ?>
$tags));?>
name; ?>