admin.php 943 B

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. <br/>
  10. <input type="hidden" value="<?php p($_['requesttoken']); ?>" name="requesttoken" />
  11. <?php if($_['uploadChangable']): ?>
  12. <input type="submit" name="submitFilesAdminSettings" id="submitFilesAdminSettings"
  13. value="<?php p($l->t( 'Save' )); ?>"/>
  14. <?php else: ?>
  15. <?php p($l->t('Can not be edited from here due to insufficient permissions.')); ?>
  16. <?php endif; ?>
  17. </form>