diff options
author | Valdnet <47037905+Valdnet@users.noreply.github.com> | 2021-09-03 20:15:33 +0200 |
---|---|---|
committer | szaimen (Rebase PR Action) <szaimen@e.mail.de> | 2021-09-13 12:44:31 +0000 |
commit | 325aa48b95f20e5082f7a9192c84f70dad6993d6 (patch) | |
tree | b9af9a9181b374dc163ef66c3d4e692b29d52a41 /apps/files_sharing/templates | |
parent | a097695dad09ddd43837461adfa07224062961f2 (diff) | |
download | nextcloud-server-325aa48b95f20e5082f7a9192c84f70dad6993d6.tar.gz nextcloud-server-325aa48b95f20e5082f7a9192c84f70dad6993d6.zip |
Correct code
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r-- | apps/files_sharing/templates/public.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index c33ea3db09b..832e8a00b1a 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -75,7 +75,7 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size); <?php if (isset($_['mimetype']) && strpos($_['mimetype'], 'image') === 0) { ?> <div class="directDownload"> <div> - <?php p('%s', [$_['filename']])?> (<?php p($_['fileSize']) ?>) + <?php p($_['filename'])?> (<?php p($_['fileSize']) ?>) </div> <a href="<?php p($_['downloadURL']); ?>" id="downloadFile" class="button"> <span class="icon icon-download"></span> @@ -87,7 +87,7 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size); <?php if ($_['previewURL'] === $_['downloadURL'] && !$_['hideDownload']): ?> <div class="directDownload"> <div> - <?php p('%s', [$_['filename']])?> (<?php p($_['fileSize']) ?>) + <?php p($_['filename'])?> (<?php p($_['fileSize']) ?>) </div> <a href="<?php p($_['downloadURL']); ?>" id="downloadFile" class="button"> <span class="icon icon-download"></span> |