X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fphotos.php;h=18db9c15d997e8433ddd6d62552cdb56cc73e5ae;hb=52a25ce6181c0b48a978f37a4ae3b94357dbb712;hp=97c0fb22e6106e981ba6b2dd5dc5a93d44375b02;hpb=368819685909c0fa027cfee288cce8c40917380c;p=friendica.git diff --git a/mod/photos.php b/mod/photos.php index 97c0fb22e6..18db9c15d9 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -1140,10 +1140,6 @@ function photos_content(App $a) '$loading' => DI::l10n()->t('Loading...'), '$qcomment' => $qcomment, '$rand_num' => Crypto::randomDigits(12), - // Dropzone - //'$max_imagesize' => Strings::getBytesFromShorthand(DI::config()->get('system', 'maximagesize')); - // Strings::getBytresFromShorthand not working, so just workaround in template and serve the bare value - '$max_imagesize' => DI::config()->get('system', 'maximagesize'), ]); } } @@ -1199,10 +1195,6 @@ function photos_content(App $a) '$preview' => DI::l10n()->t('Preview'), '$qcomment' => $qcomment, '$rand_num' => Crypto::randomDigits(12), - // Dropzone - //'$max_imagesize' => Strings::getBytesFromShorthand(DI::config()->get('system', 'maximagesize')); - // Strings::getBytresFromShorthand not working, so just workaround in template and serve the bare value - '$max_imagesize' => DI::config()->get('system', 'maximagesize'), ]); } @@ -1277,10 +1269,6 @@ function photos_content(App $a) '$preview' => DI::l10n()->t('Preview'), '$qcomment' => $qcomment, '$rand_num' => Crypto::randomDigits(12), - // Dropzone - //'$max_imagesize' => Strings::getBytesFromShorthand(DI::config()->get('system', 'maximagesize')); - // Strings::getBytresFromShorthand not working, so just workaround in template and serve the bare value - '$max_imagesize' => DI::config()->get('system', 'maximagesize'), ]); } }