diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-02-04 19:25:23 +0400 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-02-04 19:25:23 +0400 |
commit | ebcbf85396387729bbef3d2ad3289b45c3ae289d (patch) | |
tree | 44eaf31cc275319651c78cd45da6d82c6c55c474 /apps/files | |
parent | 44a6d2a98cf60586355ac104f289de762d501501 (diff) |
reuse file upload as used within files app - remove public upload button
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/templates/index.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php index 00ec109621f..673cb8592f8 100644 --- a/apps/files/templates/index.php +++ b/apps/files/templates/index.php @@ -18,6 +18,10 @@ <input type="hidden" name="MAX_FILE_SIZE" id="max_upload" value="<?php p($_['uploadMaxFilesize']) ?>"> <?php endif;?> + <?php if(isset($_['dirToken'])):?> + <input type="hidden" id="publicUploadRequestToken" name="requesttoken" value="<?php p($_['requesttoken']) ?>" /> + <input type="hidden" id="dirToken" name="dirToken" value="<?php p($_['dirToken']) ?>" /> + <?php endif;?> <input type="hidden" class="max_human_file_size" value="(max <?php p($_['uploadMaxHumanFilesize']); ?>)"> <input type="hidden" name="dir" value="<?php p($_['dir']) ?>" id="dir"> |