Adds the ability to export an album using streaming tar.
This commit is contained in:
@@ -61,7 +61,13 @@ class ViewPhotoAlbum extends HTMLController
|
||||
// Can we do fancy things here?
|
||||
// !!! TODO: permission system?
|
||||
$buttons = [];
|
||||
|
||||
if (Registry::get('user')->isLoggedIn())
|
||||
$buttons[] = [
|
||||
'url' => BASEURL . '/download/?tag=' . $id_tag,
|
||||
'caption' => 'Download this album',
|
||||
];
|
||||
|
||||
$buttons[] = [
|
||||
'url' => BASEURL . '/uploadmedia/?tag=' . $id_tag,
|
||||
'caption' => 'Upload new photos here',
|
||||
|
||||
Reference in New Issue
Block a user