mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00:00
[feature/avatars] Shorten needed language variable for avatar title
PHPBB3-10018
This commit is contained in:
parent
60b4c907b2
commit
cc86bd9267
1 changed files with 5 additions and 4 deletions
|
@ -638,13 +638,14 @@ class ucp_profile
|
|||
|
||||
if ($avatar->prepare_form($template, $avatar_data, $error))
|
||||
{
|
||||
$driver_u = strtoupper($driver);
|
||||
$driver_n = str_replace('.', '_', $driver);
|
||||
$driver_u = strtoupper($driver_n);
|
||||
|
||||
$template->assign_block_vars('avatar_drivers', array(
|
||||
'L_TITLE' => $user->lang('AVATAR_DRIVER_' . $driver_u . '_TITLE'), // @TODO add lang values
|
||||
'L_EXPLAIN' => $user->lang('AVATAR_DRIVER_' . $driver_u . '_EXPLAIN'),
|
||||
'L_TITLE' => $user->lang($driver_u . '_TITLE'), // @TODO add lang values
|
||||
'L_EXPLAIN' => $user->lang($driver_u . '_EXPLAIN'),
|
||||
|
||||
'DRIVER' => str_replace('.', '_', $driver),
|
||||
'DRIVER' => $driver_n,
|
||||
'SELECTED' => ($driver == $focused_driver),
|
||||
'OUTPUT' => $template->assign_display('avatar'),
|
||||
));
|
||||
|
|
Loading…
Add table
Reference in a new issue