summaryrefslogtreecommitdiffstats
path: root/files/templates
diff options
context:
space:
mode:
Diffstat (limited to 'files/templates')
-rw-r--r--files/templates/index.php6
-rw-r--r--files/templates/part.list.php4
2 files changed, 9 insertions, 1 deletions
diff --git a/files/templates/index.php b/files/templates/index.php
index abcbd269211..319c8c64a07 100644
--- a/files/templates/index.php
+++ b/files/templates/index.php
@@ -21,7 +21,11 @@
<iframe name="file_upload_target_1" class='file_upload_target' src=""></iframe>
</form>
</div>
- <div id="uploadprogressbar"></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 b117d81a1a5..a86632bafc8 100644
--- a/files/templates/part.list.php
+++ b/files/templates/part.list.php
@@ -21,6 +21,10 @@
<?php echo htmlspecialchars($file['basename']);?><span class='extention'><?php echo $file['extention'];?></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>