diff options
author | Vincent Petry <pvince81@owncloud.com> | 2013-10-08 17:19:58 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2013-10-08 17:19:58 +0200 |
commit | cddb85c5886498771d0b92f1a22f17eeb98f44eb (patch) | |
tree | d668e66955583c835ef63861205ac2538cb8b99a /apps/files/templates | |
parent | 6284ab31de660e4400e7e244e2a71096e6ed8f3b (diff) | |
download | nextcloud-server-cddb85c5886498771d0b92f1a22f17eeb98f44eb.tar.gz nextcloud-server-cddb85c5886498771d0b92f1a22f17eeb98f44eb.zip |
Added filesApp flag as input field for files app detection
Since the files app can be reached under multiple URLs, either root,
files.php or public.php, a flag has been added to the DOM to help apps
(like file viewers) to detect whether they are currently in the files
app.
Diffstat (limited to 'apps/files/templates')
-rw-r--r-- | apps/files/templates/index.php | 1 |
1 files changed, 1 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']); ?>" /> |