Skip to content

Commit

Permalink
Improve text for uploadinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
chmst committed Apr 12, 2021
1 parent 5012613 commit 149a9a9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@
<?php $maxSizeBytes = Utility::getMaxUploadSize(); ?>
<?php $maxSize = HTMLHelper::_('number.bytes', $maxSizeBytes); ?>
<input id="max_upload_size" name="max_upload_size" type="hidden" value="<?php echo $maxSizeBytes; ?>"/>
<small class="form-text text-muted"><?php echo Text::sprintf('JGLOBAL_MAXIMUM_UPLOAD_SIZE_LIMIT', '&#x200E;' . $maxSize); ?></small>
<small class="form-text text-muted hidden" id="file_size" name="file_size"><?php echo Text::sprintf('JGLOBAL_SELECTED_UPLOAD_FILE_SIZE', '&#x200E;' . ''); ?></small>
<div class="form-text text-muted"><?php echo Text::sprintf('JGLOBAL_MAXIMUM_UPLOAD_SIZE_LIMIT', '&#x200E;' . $maxSize); ?></div>
<div class="form-text text-muted hidden" id="file_size" name="file_size"><?php echo Text::sprintf('JGLOBAL_SELECTED_UPLOAD_FILE_SIZE', '&#x200E;' . ''); ?></div>
<div class="alert alert-warning hidden" id="max_upload_size_warn">
<?php echo Text::_('COM_INSTALLER_MSG_WARNINGS_UPLOADFILETOOBIG'); ?>
</div>
Expand Down

0 comments on commit 149a9a9

Please sign in to comment.