mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 16:14:26 +02:00
render max_imagesize in header.tpl
so it is reachable general from the whole website, and the dropzone-factory can use it also to create dropzones from modal.js
This commit is contained in:
parent
16f065e260
commit
920dcca263
13 changed files with 19 additions and 56 deletions
|
@ -185,8 +185,6 @@ class Edit extends BaseModule
|
|||
|
||||
'$compose_link_title' => $this->t('Open Compose page'),
|
||||
|
||||
// Dropzone
|
||||
'$max_imagesize' => round(Strings::getBytesFromShorthand(DI::config()->get('system', 'maximagesize')) / 1000000,1),
|
||||
]);
|
||||
return $output;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue