summaryrefslogtreecommitdiffstats
path: root/apps/files/templates/admin.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-06-06 00:24:15 +0200
committerRobin Appelman <icewind@owncloud.com>2012-06-06 00:24:15 +0200
commita3c1f70be423eb4e6bc76164da9d080ffe66305c (patch)
treecad80b838edd95f6bd0977d09ba08b1ac1a855c2 /apps/files/templates/admin.php
parent549889d3cbc75e184f27973d7e020b7985189af1 (diff)
downloadnextcloud-server-a3c1f70be423eb4e6bc76164da9d080ffe66305c.tar.gz
nextcloud-server-a3c1f70be423eb4e6bc76164da9d080ffe66305c.zip
dont show config option for file upload size if we cant write the new value
Diffstat (limited to 'apps/files/templates/admin.php')
-rw-r--r--apps/files/templates/admin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/templates/admin.php b/apps/files/templates/admin.php
index c89070ce52e..23021ec6647 100644
--- a/apps/files/templates/admin.php
+++ b/apps/files/templates/admin.php
@@ -3,7 +3,7 @@
<form name="filesForm" action='#' method='post'>
<fieldset class="personalblock">
<legend><strong><?php echo $l->t('File handling');?></strong></legend>
- <?php if($_['htaccessWorking']):?>
+ <?php if($_['uploadChangable']):?>
<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/>
<?php endif;?>
<input type="checkbox" name="allowZipDownload" id="allowZipDownload" value="1" title="<?php echo $l->t( 'Needed for multi-file and folder downloads.' ); ?>"<?php if ($_['allowZipDownload']) echo ' checked="checked"'; ?> /> <label for="allowZipDownload"><?php echo $l->t( 'Enable ZIP-download' ); ?></label> <br/>