diff options
Diffstat (limited to 'apps/files/templates')
-rw-r--r-- | apps/files/templates/admin.php | 2 | ||||
-rw-r--r-- | apps/files/templates/index.php | 7 |
2 files changed, 3 insertions, 6 deletions
diff --git a/apps/files/templates/admin.php b/apps/files/templates/admin.php index e1ca6afc4ad..697fc52526a 100644 --- a/apps/files/templates/admin.php +++ b/apps/files/templates/admin.php @@ -2,7 +2,7 @@ <form name="filesForm" action='#' method='post'> <fieldset class="personalblock"> - <legend><strong><?php p($l->t('File handling')); ?></strong></legend> + <h2><?php p($l->t('File handling')); ?></h2> <?php if($_['uploadChangable']):?> <label for="maxUploadSize"><?php p($l->t( 'Maximum upload size' )); ?> </label> <input name='maxUploadSize' id="maxUploadSize" value='<?php p($_['uploadMaxFilesize']) ?>'/> diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php index 7067b854f50..ebdca097e74 100644 --- a/apps/files/templates/index.php +++ b/apps/files/templates/index.php @@ -19,8 +19,6 @@ <input type="hidden" name="MAX_FILE_SIZE" id="max_upload" value="<?php p($_['uploadMaxFilesize']) ?>"> <?php endif;?> - <!-- Send the requesttoken, this is needed for older IE versions - because they don't send the CSRF token via HTTP header in this case --> <input type="hidden" class="max_human_file_size" value="(max <?php p($_['uploadMaxHumanFilesize']); ?>)"> <input type="hidden" name="dir" value="<?php p($_['dir']) ?>" id="dir"> @@ -29,9 +27,7 @@ <a href="#" class="svg"></a> </div> <?php if ($_['trash'] ): ?> - <div id="trash" class="button" <?php $_['trashEmpty'] ? p('disabled') : '' ?>> - <a><?php p($l->t('Deleted files'));?></a> - </div> + <input id="trash" type="button" value="<?php p($l->t('Deleted files'));?>" class="button" <?php $_['trashEmpty'] ? p('disabled') : '' ?>></input> <?php endif; ?> <div id="uploadprogresswrapper"> <div id="uploadprogressbar"></div> @@ -112,6 +108,7 @@ </div> <!-- config hints for javascript --> +<input type="hidden" name="filesApp" id="filesApp" value="1" /> <input type="hidden" name="ajaxLoad" id="ajaxLoad" value="<?php p($_['ajaxLoad']); ?>" /> <input type="hidden" name="allowZipDownload" id="allowZipDownload" value="<?php p($_['allowZipDownload']); ?>" /> <input type="hidden" name="usedSpacePercent" id="usedSpacePercent" value="<?php p($_['usedSpacePercent']); ?>" /> |