1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/17100] Move lang options HTML to template

PHPBB3-17100
This commit is contained in:
Marc Alexander
2022-02-23 22:29:13 +01:00
parent 97933380bb
commit 4846723bb6
13 changed files with 163 additions and 58 deletions

View File

@@ -153,10 +153,12 @@ class topic_form extends form
parent::render($template);
$this->user->add_lang('viewtopic');
phpbb_language_select($this->db, $template, $this->recipient_lang);
$template->assign_vars(array(
'EMAIL' => $this->recipient_address,
'NAME' => $this->recipient_name,
'S_LANG_OPTIONS' => language_select($this->recipient_lang),
'MESSAGE' => $this->body,
'L_EMAIL_BODY_EXPLAIN' => $this->user->lang['EMAIL_TOPIC_EXPLAIN'],