Set some extra variables when viewing a photo from a virtual album, in order to distinguish how the user arrived at the page. This allows Tag Albums to create a menu option to make the photo the virtual album's thumbnail.
This commit is contained in:
parent
7484b49eb1
commit
21c5f51800
@ -289,6 +289,9 @@ class tag_albums_Controller extends Controller {
|
|||||||
return array("position" => $position,
|
return array("position" => $position,
|
||||||
"previous_item" => $previous_item,
|
"previous_item" => $previous_item,
|
||||||
"next_item" => $next_item,
|
"next_item" => $next_item,
|
||||||
|
"tag_id" => $tag_id,
|
||||||
|
"album_id" => $album_id,
|
||||||
|
"is_tagalbum_page" => true,
|
||||||
"sibling_count" => $sibling_count,
|
"sibling_count" => $sibling_count,
|
||||||
"breadcrumbs" => $tag_album_breadcrumbs);
|
"breadcrumbs" => $tag_album_breadcrumbs);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user