diff options
Diffstat (limited to 'files/templates/admin.php')
-rw-r--r-- | files/templates/admin.php | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/files/templates/admin.php b/files/templates/admin.php index 0122865ee72..9bcc40e9361 100644 --- a/files/templates/admin.php +++ b/files/templates/admin.php @@ -1,10 +1,15 @@ <?php OC_Util::addScript('files','admin'); ?> <form name="filesForm" action='#' method='post'> - <?php if($_['htaccessWorking']):?> - <label for="maxUploadSize"><?php echo $l->t( 'Maximum upload size' ); ?> </label><input name='maxUploadSize' id="maxUploadSize" value='<?php echo $_['uploadMaxFilesize'] ?>'/><br/> - <input type='submit' value='Save'/> - <?php else:?> - No settings currently available. - <?php endif;?> + <fieldset class="personalblock"> + <legend><strong><?php echo $l->t('File handling');?></strong></legend> + <?php if($_['htaccessWorking']):?> + <label for="maxUploadSize"><?php echo $l->t( 'Maximum upload size' ); ?> </label><input name='maxUploadSize' id="maxUploadSize" value='<?php echo $_['uploadMaxFilesize'] ?>'/>(<?php echo $l->t('max. possible: '); echo $_['maxPossibleUploadSize'] ?>)<br/> + <?php endif;?> + <input type="checkbox" name="allowZipDownload" id="allowZipDownload" value="1" title="<?php echo $l->t( 'Needed for multi-file and folder downloads.' ); ?>"<?php if ($_['allowZipDownload']) echo ' checked="checked"'; ?> /> <label for="allowZipDownload"><?php echo $l->t( 'Enable ZIP-download' ); ?></label> <br/> + <fieldset class="personalblock"> + <label for="maxZipInputSize"><?php echo $l->t( 'Maximum input size for ZIP files:' ); ?> </label><input name="maxZipInputSize" id="maxZipInputSize" value='<?php echo $_['maxZipInputSize'] ?>' title="<?php echo $l->t( '0 is unlimited' ); ?>"<?php if (!$_['allowZipDownload']) echo ' disabled="disabled"'; ?> /><br/> + </fieldset> + <input type="submit" name="submitFilesAdminSettings" id="submitFilesAdminSettings" value="Save"/> + </fieldset> </form> |