getGUID(); $owner = $album->getOwnerEntity(); $tags = $album->tags; $title = $album->title; $desc = $album->description; $friendlytime = friendly_time($album->time_created); $mime = $album->mimetype; if (get_context() == "search") { if (get_input('search_viewtype') == "gallery") { /****************************************************************************** * * Gallery view of an album object * * This is called when looking at page of albums * * *****************************************************************************/ $album_cover_guid = $album->getCoverImageGuid(); if ($album_cover_guid) { $album_cover = ''; } else { $album_cover = ''; } ?>
' . $title . ''; $info .= " "; $album_cover_guid = $album->getCoverImageGuid(); if ($album_cover_guid) { $icon = "getURL()}\">" . ''; } else { $icon = "getURL()}\">" . ''; } echo elgg_view_listing($icon, $info); } } else { /****************************************************************************** * * Individual view of an album object * * This is called when getting a listing of the photos in an album * * *****************************************************************************/ $page = get_input("page"); list($album_placeholder, $album_id, $album_title) = split("/", $page); $photo_ratings = get_plugin_setting('photo_ratings', 'tidypics'); if ($photo_ratings == "enabled") { add_submenu_item( elgg_echo("tidypics:highestrated"), $CONFIG->wwwroot . "pg/photos/highestrated/group:" . $album_id, 'photos'); } echo elgg_view_title($title); ?>