Update mod/photos.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
c11e2b0795
commit
9dd1cf8316
|
@ -916,7 +916,7 @@ function photos_content(App $a)
|
||||||
|
|
||||||
$maximagesize_bytes = DI::config()->get('system', 'maximagesize');
|
$maximagesize_bytes = DI::config()->get('system', 'maximagesize');
|
||||||
$maximagesize_Mbytes = ($maximagesize_bytes / (10**6));
|
$maximagesize_Mbytes = ($maximagesize_bytes / (10**6));
|
||||||
$usage_message = DI::l10n()->t('The maximum accepted image size is: ') . $maximagesize_Mbytes . ' MB';
|
$usage_message = DI::l10n()->t('The maximum accepted image size is %.3g MB', $maximagesize_Mbytes);
|
||||||
|
|
||||||
$tpl = Renderer::getMarkupTemplate('photos_upload.tpl');
|
$tpl = Renderer::getMarkupTemplate('photos_upload.tpl');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user