2012-11-04 10:10:46 +00:00
|
|
|
<?php OCP\Util::addscript('files', 'admin'); ?>
|
2011-07-09 19:44:50 +00:00
|
|
|
|
2014-03-27 15:35:34 +00:00
|
|
|
<form name="filesForm" class="section" action="#" method="post">
|
|
|
|
<h2><?php p($l->t('File handling')); ?></h2>
|
|
|
|
<?php if($_['uploadChangable']):?>
|
|
|
|
<label for="maxUploadSize"><?php p($l->t( 'Maximum upload size' )); ?> </label>
|
|
|
|
<input type="text" name='maxUploadSize' id="maxUploadSize" value='<?php p($_['uploadMaxFilesize']) ?>'/>
|
|
|
|
<?php if($_['displayMaxPossibleUploadSize']):?>
|
|
|
|
(<?php p($l->t('max. possible: ')); p($_['maxPossibleUploadSize']) ?>)
|
2012-03-16 15:25:15 +00:00
|
|
|
<?php endif;?>
|
2014-03-27 15:35:34 +00:00
|
|
|
<br/>
|
|
|
|
<?php endif;?>
|
|
|
|
<input type="checkbox" name="allowZipDownload" id="allowZipDownload" value="1"
|
|
|
|
title="<?php p($l->t( 'Needed for multi-file and folder downloads.' )); ?>"
|
|
|
|
<?php if ($_['allowZipDownload']): ?> checked="checked"<?php endif; ?> />
|
|
|
|
<label for="allowZipDownload"><?php p($l->t( 'Enable ZIP-download' )); ?></label><br/>
|
2012-04-21 21:23:02 +00:00
|
|
|
|
2014-03-27 15:35:34 +00:00
|
|
|
<input type="text" name="maxZipInputSize" id="maxZipInputSize" style="width:180px;" value='<?php p($_['maxZipInputSize']) ?>'
|
|
|
|
title="<?php p($l->t( '0 is unlimited' )); ?>"
|
|
|
|
<?php if (!$_['allowZipDownload']): ?> disabled="disabled"<?php endif; ?> /><br />
|
|
|
|
<em><?php p($l->t( 'Maximum input size for ZIP files' )); ?> </em><br />
|
2012-04-21 21:23:02 +00:00
|
|
|
|
2014-03-27 15:35:34 +00:00
|
|
|
<input type="hidden" value="<?php p($_['requesttoken']); ?>" name="requesttoken" />
|
|
|
|
<input type="submit" name="submitFilesAdminSettings" id="submitFilesAdminSettings"
|
|
|
|
value="<?php p($l->t( 'Save' )); ?>"/>
|
2012-12-15 19:02:16 +00:00
|
|
|
</form>
|