summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2013-10-07 08:23:55 -0700
committerVincent Petry <pvince81@owncloud.com>2013-10-07 08:23:55 -0700
commita3d0e29aa5df3390929c6378bd4f9c6bbf25c473 (patch)
tree5cb5a0a9d026b571427b0aa96282561742f98988 /apps
parentd8b7e42fc1626c64a28a31cfbde4a3789b9097bf (diff)
parent6a36d7fa864ec241d05a00b419ca48cf84ca41ff (diff)
downloadnextcloud-server-a3d0e29aa5df3390929c6378bd4f9c6bbf25c473.tar.gz
nextcloud-server-a3d0e29aa5df3390929c6378bd4f9c6bbf25c473.zip
Merge pull request #5178 from owncloud/sharing-ispublicflagintemplate
Added isPublic flag in files_sharing template
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/templates/public.php1
1 files changed, 1 insertions, 0 deletions
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 @@
<div id="notification" style="display: none;"></div>
</div>
+<input type="hidden" id="isPublic" name="isPublic" value="1">
<input type="hidden" name="dir" value="<?php p($_['dir']) ?>" id="dir">
<input type="hidden" name="downloadURL" value="<?php p($_['downloadURL']) ?>" id="downloadURL">
<input type="hidden" name="filename" value="<?php p($_['filename']) ?>" id="filename">