@@ 204-210 (lines=7) @@ | ||
201 | $context['back_to_topic'] = isset($this->_req->post->goback); |
|
202 | ||
203 | // Ugly ! |
|
204 | if ($user_info['language'] != $language) |
|
205 | { |
|
206 | theme()->getTemplates()->loadLanguageFile('index', $language); |
|
207 | $temp = $txt['movetopic_default']; |
|
208 | theme()->getTemplates()->loadLanguageFile('index'); |
|
209 | $txt['movetopic_default'] = $temp; |
|
210 | } |
|
211 | ||
212 | // We will need this |
|
213 | if (isset($this->_req->query->current_board)) |
@@ 1632-1639 (lines=8) @@ | ||
1629 | // Get a response prefix, but in the forum's default language. |
|
1630 | if ($response_prefix === null && (!$cache->getVar($response_prefix, 'response_prefix') || !$response_prefix)) |
|
1631 | { |
|
1632 | if ($language === $user_info['language']) |
|
1633 | $response_prefix = $txt['response_prefix']; |
|
1634 | else |
|
1635 | { |
|
1636 | theme()->getTemplates()->loadLanguageFile('index', $language, false); |
|
1637 | $response_prefix = $txt['response_prefix']; |
|
1638 | theme()->getTemplates()->loadLanguageFile('index'); |
|
1639 | } |
|
1640 | ||
1641 | $cache->put('response_prefix', $response_prefix, 600); |
|
1642 | } |