aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-03-18 17:49:31 +0100
committerMario Vavti <mario@mariovavti.com>2016-03-18 17:49:31 +0100
commitbd249b276d5b0a7f9934272c5443dfe2e0eb010f (patch)
treeb4291018e83727ef4c41e9e2368f4d4ce27844a2 /mod
parentb6ae2bff01f8a4dfc057ef2971b3d988b1028b3e (diff)
downloadvolse-hubzilla-bd249b276d5b0a7f9934272c5443dfe2e0eb010f.tar.gz
volse-hubzilla-bd249b276d5b0a7f9934272c5443dfe2e0eb010f.tar.bz2
volse-hubzilla-bd249b276d5b0a7f9934272c5443dfe2e0eb010f.zip
add use as cover photo link to photos view
Diffstat (limited to 'mod')
-rw-r--r--mod/photos.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 8f44f01b2..07138e6cf 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -896,6 +896,7 @@ function photos_content(&$a) {
if($can_post && ($ph[0]['uid'] == $owner_uid)) {
$tools = array(
'profile'=>array($a->get_baseurl() . '/profile_photo/use/'.$ph[0]['resource_id'], t('Use as profile photo')),
+ 'cover'=>array($a->get_baseurl() . '/cover_photo/use/'.$ph[0]['resource_id'], t('Use as cover photo')),
);
}