From: Vincent Petry Date: Mon, 7 Oct 2013 14:59:57 +0000 (+0200) Subject: Added isPublic flag in files_sharing template X-Git-Tag: v6.0.0alpha2~70^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6a36d7fa864ec241d05a00b419ca48cf84ca41ff;p=nextcloud-server.git Added isPublic flag in files_sharing template To make it possible for apps to find out whether they are running in public mode, the flag "isPublic" will now be present in the DOM. This is required to disable the editor app in public mode to fix #5059 --- diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index c164b3ea2b7..e53887c3590 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -2,6 +2,7 @@ +