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