Merge remote-tracking branch 'mike/master' into dev
This commit is contained in:
commit
b8fcfc7698
@ -83,7 +83,7 @@ class Embedphotos extends \Zotlabs\Web\Controller {
|
|||||||
return '';
|
return '';
|
||||||
|
|
||||||
if($args['album'])
|
if($args['album'])
|
||||||
$album = $args['album'];
|
$album = (($args['album'] === '/') ? '' : $args['album']);
|
||||||
if($args['title'])
|
if($args['title'])
|
||||||
$title = $args['title'];
|
$title = $args['title'];
|
||||||
|
|
||||||
|
@ -308,6 +308,11 @@ function attach_can_view_folder($uid,$ob_hash,$folder_hash) {
|
|||||||
$hash = $folder_hash;
|
$hash = $folder_hash;
|
||||||
$result = false;
|
$result = false;
|
||||||
|
|
||||||
|
if(! $folder_hash) {
|
||||||
|
return perm_is_allowed($uid,$ob_hash,'view_storage');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
do {
|
do {
|
||||||
$r = q("select folder from attach where hash = '%s' and uid = %d $sql_extra",
|
$r = q("select folder from attach where hash = '%s' and uid = %d $sql_extra",
|
||||||
dbesc($hash),
|
dbesc($hash),
|
||||||
|
@ -1802,3 +1802,6 @@ dl.bb-dl > dd > li {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.caption-visible {
|
||||||
|
max-height: 75%;
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user