admin.php 1.5 KB

1234567891011121314151617181920212223242526272829
  1. <?php OCP\Util::addscript('files', 'admin'); ?>
  2. <form name="filesForm" action='#' method='post'>
  3. <fieldset class="personalblock">
  4. <legend><strong><?php p($l->t('File handling')); ?></strong></legend>
  5. <?php if($_['uploadChangable']):?>
  6. <label for="maxUploadSize"><?php p($l->t( 'Maximum upload size' )); ?> </label>
  7. <input name='maxUploadSize' id="maxUploadSize" value='<?php p($_['uploadMaxFilesize']) ?>'/>
  8. <?php if($_['displayMaxPossibleUploadSize']):?>
  9. (<?php p($l->t('max. possible: ')); p($_['maxPossibleUploadSize']) ?>)
  10. <?php endif;?>
  11. <br/>
  12. <?php endif;?>
  13. <input type="checkbox" name="allowZipDownload" id="allowZipDownload" value="1"
  14. title="<?php p($l->t( 'Needed for multi-file and folder downloads.' )); ?>"
  15. <?php if ($_['allowZipDownload']): ?> checked="checked"<?php endif; ?> />
  16. <label for="allowZipDownload"><?php p($l->t( 'Enable ZIP-download' )); ?></label><br/>
  17. <input type="text" name="maxZipInputSize" id="maxZipInputSize" style="width:180px;" value='<?php p($_['maxZipInputSize']) ?>'
  18. title="<?php p($l->t( '0 is unlimited' )); ?>"
  19. <?php if (!$_['allowZipDownload']): ?> disabled="disabled"<?php endif; ?> /><br />
  20. <em><?php p($l->t( 'Maximum input size for ZIP files' )); ?> </em><br />
  21. <input type="hidden" value="<?php p($_['requesttoken']); ?>" name="requesttoken" />
  22. <input type="submit" name="submitFilesAdminSettings" id="submitFilesAdminSettings"
  23. value="<?php p($l->t( 'Save' )); ?>"/>
  24. </fieldset>
  25. </form>