summaryrefslogtreecommitdiffstats
path: root/files/templates/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'files/templates/index.php')
-rw-r--r--files/templates/index.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/files/templates/index.php b/files/templates/index.php
index f5a212add48..4e105811f05 100644
--- a/files/templates/index.php
+++ b/files/templates/index.php
@@ -5,9 +5,9 @@
<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">
- <div class="file_upload_wrapper" class="svg">
+ <div class="file_upload_wrapper svg">
<input type="submit" class="file_upload_filename" value="<?php echo $l->t('Upload'); ?>"/>
- <input class="file_upload_start" class="file_upload_start" type="file" name='files[]'/>
+ <input class="file_upload_start" type="file" name='files[]'/>
<a href="#" class="file_upload_button_wrapper" onclick="return false;" title="<?php echo 'max. '.$_['uploadMaxHumanFilesize'] ?>"></a>
</div>
<iframe name="file_upload_target_1" class='file_upload_target' src=""></iframe>
@@ -21,7 +21,9 @@
</div>
<div id='notification'></div>
-<table cellspacing="0">
+<div id="emptyfolder" <?php if(count($_['files'])) echo 'style="display:none;"';?>><?php echo $l->t('Nothing in here. Upload something!')?></div>
+
+<table>
<thead>
<tr>
<th id='headerName'>
@@ -43,8 +45,6 @@
<div id="uploadsize-message" title="<?php echo $l->t('Upload too large')?>">
<p>
- <?php echo $l->t( 'The files you are trying to upload exceed the maximum size for file uploads on this server.' ); ?>
+ <?php echo $l->t('The files you are trying to upload exceed the maximum size for file uploads on this server.');?>
</p>
</div>
-
-<span id="file_menu"/>