summaryrefslogtreecommitdiffstats
path: root/files/templates
diff options
context:
space:
mode:
Diffstat (limited to 'files/templates')
-rw-r--r--files/templates/index.php5
-rw-r--r--files/templates/part.list.php4
2 files changed, 9 insertions, 0 deletions
diff --git a/files/templates/index.php b/files/templates/index.php
index b21cf0aeb02..3c76eb0187d 100644
--- a/files/templates/index.php
+++ b/files/templates/index.php
@@ -22,6 +22,11 @@
<iframe name="file_upload_target_1" class='file_upload_target' src=""></iframe>
</form>
</div>
+ <div id="upload">
+ <div id="uploadprogressbar"></div>
+ <input type="button" class="stop" style="display:none" value="<?php echo $l->t('Cancel upload');?>" onclick="javascript:Files.cancelUploads();" />
+ </div>
+
</div>
<div id="file_action_panel"></div>
<?php else:?>
diff --git a/files/templates/part.list.php b/files/templates/part.list.php
index 5a5941fc7ae..b2db4cbb8df 100644
--- a/files/templates/part.list.php
+++ b/files/templates/part.list.php
@@ -21,6 +21,10 @@
<?php echo htmlspecialchars($file['basename']);?><span class='extension'><?php echo $file['extension'];?></span>
<?php endif;?>
</span>
+ <?php if($file['type'] == 'dir'):?>
+ <span class="uploadtext" currentUploads="0">
+ </span>
+ <?php endif;?>
</a>
</td>
<td class="filesize" title="<?php echo human_file_size($file['size']); ?>" style="color:rgb(<?php echo $simple_size_color.','.$simple_size_color.','.$simple_size_color ?>)"><?php echo $simple_file_size; ?></td>