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