diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2012-03-19 11:56:02 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2012-03-19 11:56:02 +0100 |
commit | b13ab2b17eb485aec13c7fb1e88e25e1c9901d72 (patch) | |
tree | 58259ba29b5833107b62bf08688eaefefe46cdb9 /files/templates/admin.php | |
parent | 194211500b601d8582fa1e8396fb4c8e4970224d (diff) | |
download | nextcloud-server-b13ab2b17eb485aec13c7fb1e88e25e1c9901d72.tar.gz nextcloud-server-b13ab2b17eb485aec13c7fb1e88e25e1c9901d72.zip |
enable admin to turn off ZIP downloads
user interface offers multi-file/folder downloads only if available
make function name more clear
Diffstat (limited to 'files/templates/admin.php')
-rw-r--r-- | files/templates/admin.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/files/templates/admin.php b/files/templates/admin.php index 8c3ba56ad52..fd86d02e1ed 100644 --- a/files/templates/admin.php +++ b/files/templates/admin.php @@ -6,7 +6,10 @@ <?php if($_['htaccessWorking']):?> <label for="maxUploadSize"><?php echo $l->t( 'Maximum upload size' ); ?> </label><input name='maxUploadSize' id="maxUploadSize" value='<?php echo $_['uploadMaxFilesize'] ?>'/><br/> <?php endif;?> - <label for="maxZipInputSize"><?php echo $l->t( 'Maximum input size for zip files (affects folder- and multi-file download)' ); ?> </label><input name="maxZipInputSize" id="maxZipInputSize" value='<?php echo $_['maxZipInputSize'] ?>'/><br/> + <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" value="Save"/> </fieldset> </form> |