summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2012-01-10 14:48:35 +0000
committerTom Needham <needham.thomas@gmail.com>2012-01-10 14:48:35 +0000
commitdf10d7f3852bd4fd332b131d99d9cde3398092e5 (patch)
tree831493df21c2e0f2b0a65c27e0397bb1f6e579be
parentfd4b63810d1276e4cc34dd18d5cf01eb0db63c98 (diff)
parent9d9f254c789aa4ddced149e2d186131a7cf58c0f (diff)
downloadnextcloud-server-df10d7f3852bd4fd332b131d99d9cde3398092e5.tar.gz
nextcloud-server-df10d7f3852bd4fd332b131d99d9cde3398092e5.zip
Merge branch 'master' of gitorious.org:owncloud/owncloud
-rw-r--r--files/templates/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/templates/index.php b/files/templates/index.php
index c4acab25cc4..fd1158a0297 100644
--- a/files/templates/index.php
+++ b/files/templates/index.php
@@ -1,3 +1,4 @@
+<input type="hidden" name="dir" value="<?php echo $_['dir'] ?>" id="dir">
<div id="controls">
<?php echo($_['breadcrumb']); ?>
<?php if (!isset($_['readonly']) || !$_['readonly']):?>
@@ -16,7 +17,6 @@
<form data-upload-id='1' class="file_upload_form" action="ajax/upload.php" method="post" enctype="multipart/form-data" target="file_upload_target_1">
<input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $_['uploadMaxFilesize'] ?>" id="max_upload">
<input type="hidden" class="max_human_file_size" value="(max <?php echo $_['uploadMaxHumanFilesize']; ?>)">
- <input type="hidden" name="dir" value="<?php echo $_['dir'] ?>" id="dir">
<button class="file_upload_filename"><img class='svg action' alt="Upload" src="<?php echo image_path("core", "actions/upload.svg"); ?>" /></button>
<input class="file_upload_start" type="file" name='files[]'/>
<a href="#" class="file_upload_button_wrapper" onclick="return false;" title="<?php echo $l->t('Upload'); echo ' max. '.$_['uploadMaxHumanFilesize'] ?>"></a>