diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-02-27 21:14:15 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-02-27 21:14:15 +0100 |
commit | 4860d03270a9caa9c5e686c6eeb31fd8adfbedf5 (patch) | |
tree | 322601c9438ec78b4039cb4e348a60c327e01f03 /apps/files/templates/admin.php | |
parent | 470fc3817f67c4f13217e14bf8040668d5374e4b (diff) | |
download | nextcloud-server-4860d03270a9caa9c5e686c6eeb31fd8adfbedf5.tar.gz nextcloud-server-4860d03270a9caa9c5e686c6eeb31fd8adfbedf5.zip |
[Files] Use p() instead of echo
Diffstat (limited to 'apps/files/templates/admin.php')
-rw-r--r-- | apps/files/templates/admin.php | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/apps/files/templates/admin.php b/apps/files/templates/admin.php index ad69b5519d9..0ab931a467c 100644 --- a/apps/files/templates/admin.php +++ b/apps/files/templates/admin.php @@ -2,27 +2,27 @@ <form name="filesForm" action='#' method='post'> <fieldset class="personalblock"> - <legend><strong><?php echo $l->t('File handling');?></strong></legend> + <legend><strong><?php p($l->t('File handling')); ?></strong></legend> <?php if($_['uploadChangable']):?> - <label for="maxUploadSize"><?php echo $l->t( 'Maximum upload size' ); ?> </label> - <input name='maxUploadSize' id="maxUploadSize" value='<?php echo $_['uploadMaxFilesize'] ?>'/> + <label for="maxUploadSize"><?php p($l->t( 'Maximum upload size' )); ?> </label> + <input name='maxUploadSize' id="maxUploadSize" value='<?php p($_['uploadMaxFilesize']) ?>'/> <?php if($_['displayMaxPossibleUploadSize']):?> - (<?php echo $l->t('max. possible: '); echo $_['maxPossibleUploadSize'] ?>) + (<?php p($l->t('max. possible: ')); p($_['maxPossibleUploadSize']) ?>) <?php endif;?> <br/> <?php endif;?> <input type="checkbox" name="allowZipDownload" id="allowZipDownload" value="1" - title="<?php echo $l->t( 'Needed for multi-file and folder downloads.' ); ?>" + title="<?php p($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/> + <label for="allowZipDownload"><?php p($l->t( 'Enable ZIP-download' )); ?></label><br/> - <input name="maxZipInputSize" id="maxZipInputSize" style="width:180px;" value='<?php echo $_['maxZipInputSize'] ?>' - title="<?php echo $l->t( '0 is unlimited' ); ?>" + <input name="maxZipInputSize" id="maxZipInputSize" style="width:180px;" value='<?php p($_['maxZipInputSize']) ?>' + title="<?php p($l->t( '0 is unlimited' )); ?>" <?php if (!$_['allowZipDownload']): ?> disabled="disabled"<?php endif; ?> /><br /> - <em><?php echo $l->t( 'Maximum input size for ZIP files' ); ?> </em><br /> + <em><?php p($l->t( 'Maximum input size for ZIP files' )); ?> </em><br /> - <input type="hidden" value="<?php echo $_['requesttoken']; ?>" name="requesttoken" /> + <input type="hidden" value="<?php p($_['requesttoken']); ?>" name="requesttoken" /> <input type="submit" name="submitFilesAdminSettings" id="submitFilesAdminSettings" - value="<?php echo $l->t( 'Save' ); ?>"/> + value="<?php p($l->t( 'Save' )); ?>"/> </fieldset> </form> |