mirror of
https://github.com/Froxlor/Froxlor.git
synced 2024-09-21 02:17:34 +00:00
fix language replacement and fix 'sending messages' after successfully sending prior, thx to Davidd
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
parent
16d77a03cb
commit
1fd8b88ed8
@ -114,7 +114,7 @@ if ($page == 'message') {
|
||||
$note_msg = lng('message.norecipients');
|
||||
} else {
|
||||
$note_type = 'success';
|
||||
$note_msg = str_replace('%s', $sentitems, lng('message.success'));
|
||||
$note_msg = lng('message.success', [$sentitems]);
|
||||
}
|
||||
}
|
||||
|
||||
@ -128,7 +128,7 @@ if ($page == 'message') {
|
||||
$messages_add_data = include_once dirname(__FILE__) . '/lib/formfields/admin/messages/formfield.messages_add.php';
|
||||
|
||||
UI::view('user/form-note.html.twig', [
|
||||
'formaction' => $linker->getLink(['section' => 'message']),
|
||||
'formaction' => $linker->getLink(['section' => 'message', 'action' => '']),
|
||||
'formdata' => $messages_add_data['messages_add'],
|
||||
'actions_links' => [
|
||||
[
|
||||
|
Loading…
Reference in New Issue
Block a user