summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2013-10-08 15:45:40 -0700
committerMorris Jobke <morris.jobke@gmail.com>2013-10-08 15:45:40 -0700
commita18ebac108ad58d7b4298489fcb7ed3f22a99bb5 (patch)
tree946fdbac992603820fbd1ccccffe8e291b7255b9 /apps
parentfe64f7b900eed4d86eb1d6907d31ecb099989ab7 (diff)
parentcddb85c5886498771d0b92f1a22f17eeb98f44eb (diff)
downloadnextcloud-server-a18ebac108ad58d7b4298489fcb7ed3f22a99bb5.tar.gz
nextcloud-server-a18ebac108ad58d7b4298489fcb7ed3f22a99bb5.zip
Merge pull request #5213 from owncloud/files-filesappdetectionhint
Added filesApp flag as input field for files app detection
Diffstat (limited to 'apps')
-rw-r--r--apps/files/templates/index.php1
-rw-r--r--apps/files_sharing/templates/public.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php
index 5e7ad41b0f0..ebdca097e74 100644
--- a/apps/files/templates/index.php
+++ b/apps/files/templates/index.php
@@ -108,6 +108,7 @@
</div>
<!-- config hints for javascript -->
+<input type="hidden" name="filesApp" id="filesApp" value="1" />
<input type="hidden" name="ajaxLoad" id="ajaxLoad" value="<?php p($_['ajaxLoad']); ?>" />
<input type="hidden" name="allowZipDownload" id="allowZipDownload" value="<?php p($_['allowZipDownload']); ?>" />
<input type="hidden" name="usedSpacePercent" id="usedSpacePercent" value="<?php p($_['usedSpacePercent']); ?>" />
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php
index e53887c3590..5d935f645e6 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="filesApp" name="filesApp" value="1">
<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">