admin.php 1.0 KB

123456789101112131415161718
  1. <?php OCP\Util::addscript('files', 'admin'); ?>
  2. <form name="filesForm" class="section" action="#" method="post">
  3. <h2><?php p($l->t('File handling')); ?></h2>
  4. <label for="maxUploadSize"><?php p($l->t( 'Maximum upload size' )); ?> </label>
  5. <input type="text" name='maxUploadSize' id="maxUploadSize" value='<?php p($_['uploadMaxFilesize']) ?>' <?php if(!$_['uploadChangable']) { p('disabled'); } ?> />
  6. <?php if($_['displayMaxPossibleUploadSize']):?>
  7. (<?php p($l->t('max. possible: ')); p($_['maxPossibleUploadSize']) ?>)
  8. <?php endif;?>
  9. <input type="hidden" value="<?php p($_['requesttoken']); ?>" name="requesttoken" />
  10. <?php if($_['uploadChangable']): ?>
  11. <input type="submit" name="submitFilesAdminSettings" id="submitFilesAdminSettings"
  12. value="<?php p($l->t( 'Save' )); ?>"/>
  13. <p><em><?php p($l->t('With PHP-FPM it might take 5 minutes for changes to be applied.')); ?></em></p>
  14. <?php else: ?>
  15. <p><em><?php p($l->t('Missing permissions to edit from here.')); ?></em></p>
  16. <?php endif; ?>
  17. </form>