From: Björn Schießle Date: Wed, 10 Oct 2012 15:43:09 +0000 (+0200) Subject: don't show the share action in the file view for publically shared files. X-Git-Tag: v5.0.0alpha1~824 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=41640b4b91c7f8d407fb17e085f83d95ca900311;p=nextcloud-server.git don't show the share action in the file view for publically shared files. --- diff --git a/apps/files/templates/part.list.php b/apps/files/templates/part.list.php index 8faeae3939c..1329b5dc5cd 100644 --- a/apps/files/templates/part.list.php +++ b/apps/files/templates/part.list.php @@ -1,3 +1,12 @@ + + assign('files', $files, false); + $list->assign('publicListView', true); $list->assign('baseURL', OCP\Util::linkToPublic('files').'&dir='.$_GET['dir'].'&path=', false); $list->assign('downloadURL', OCP\Util::linkToPublic('files').'&download&dir='.$_GET['dir'].'&path=', false); $breadcrumbNav = new OCP\Template('files', 'part.breadcrumb', '' );