1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/10345] Add documentation and phpbb_ prefix to the new avatar functions

PHPBB3-10345
This commit is contained in:
Joas Schilling
2011-11-30 21:03:29 +01:00
parent 6472a270e0
commit b790d2e283
5 changed files with 26 additions and 14 deletions

View File

@@ -371,7 +371,7 @@ class acp_groups
{
if ($data['width'] > $config['avatar_max_width'] || $data['height'] > $config['avatar_max_height'])
{
$error[] = avatar_error_wrong_size($data['width'], $data['height']);
$error[] = phpbb_avatar_error_wrong_size($data['width'], $data['height']);
}
}
@@ -381,7 +381,7 @@ class acp_groups
{
if ($data['width'] < $config['avatar_min_width'] || $data['height'] < $config['avatar_min_height'])
{
$error[] = avatar_error_wrong_size($data['width'], $data['height']);
$error[] = phpbb_avatar_error_wrong_size($data['width'], $data['height']);
}
}
}
@@ -627,7 +627,7 @@ class acp_groups
'U_BACK' => $u_back,
'U_SWATCH' => append_sid("{$phpbb_admin_path}swatch.$phpEx", 'form=settings&amp;name=group_colour'),
'U_ACTION' => "{$this->u_action}&amp;action=$action&amp;g=$group_id",
'L_AVATAR_EXPLAIN' => avatar_explanation_string(),
'L_AVATAR_EXPLAIN' => phpbb_avatar_explanation_string(),
));
return;

View File

@@ -1748,7 +1748,7 @@ class acp_users
'USER_AVATAR_WIDTH' => $user_row['user_avatar_width'],
'USER_AVATAR_HEIGHT' => $user_row['user_avatar_height'],
'L_AVATAR_EXPLAIN' => avatar_explanation_string()
'L_AVATAR_EXPLAIN' => phpbb_avatar_explanation_string(),
));
break;