aboutsummaryrefslogtreecommitdiffstats
path: root/files/templates/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'files/templates/index.php')
-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 639bdeaead8..b21cf0aeb02 100644
--- a/files/templates/index.php
+++ b/files/templates/index.php
@@ -2,7 +2,7 @@
<div id="controls">
<?php echo($_['breadcrumb']); ?>
<?php if (!isset($_['readonly']) || !$_['readonly']):?>
- <div class="actions">
+ <div class="actions <?php if (isset($_['files']) and ! $_['readonly'] and count($_['files'])==0):?>emptyfolder<?php endif; ?>">
<div id='new' class='button'>
<a><?php echo $l->t('New');?></a>
<ul class="popup popupTop">