From 2b674d4cd983d637ddc863f9b87b9d863542e250 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 17 Jul 2016 12:54:10 +0200 Subject: hide fullscreen button in embedphotos modal album view --- Zotlabs/Module/Embedphotos.php | 2 +- view/tpl/photo_album.tpl | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Zotlabs/Module/Embedphotos.php b/Zotlabs/Module/Embedphotos.php index 2cd420664..0dac873c5 100644 --- a/Zotlabs/Module/Embedphotos.php +++ b/Zotlabs/Module/Embedphotos.php @@ -159,7 +159,7 @@ function embedphotos_widget_album($args) { '$upload' => array(t('Upload'), z_root() . '/photos/' . \App::$profile['channel_address'] . '/upload/' . bin2hex($album)), '$order' => false, '$upload_form' => $upload_form, - '$usage' => $usage_message + '$no_fullscreen_btn' => true )); return $o; diff --git a/view/tpl/photo_album.tpl b/view/tpl/photo_album.tpl index b391a00a1..f097646e4 100755 --- a/view/tpl/photo_album.tpl +++ b/view/tpl/photo_album.tpl @@ -12,8 +12,10 @@ {{/if}} + {{if !$no_fullscreen_btn}} + {{/if}}

{{$album}}

-- cgit v1.2.3