mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17414] Use language class in adm_back_link()
PHPBB-17414
This commit is contained in:
parent
3e938ea765
commit
38ce4985f4
1 changed files with 2 additions and 2 deletions
|
@ -203,8 +203,8 @@ function adm_page_footer($copyright_html = true)
|
|||
*/
|
||||
function adm_back_link($u_action)
|
||||
{
|
||||
global $user;
|
||||
return '<br /><br /><a href="' . $u_action . '">« ' . $user->lang['BACK_TO_PREV'] . '</a>';
|
||||
global $language;
|
||||
return '<br /><br /><a href="' . $u_action . '">« ' . $language->lang('BACK_TO_PREV') . '</a>';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue