1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

[feature/avatars] Support editing of group avatars in ACP

Edited templates for group avatars so they can be properly modified in ACP

PHPBB3-10018
This commit is contained in:
Cullen Walsh
2011-07-04 16:58:35 -07:00
parent 8416bf3dc9
commit 48e61b1b45
5 changed files with 137 additions and 148 deletions

View File

@@ -67,6 +67,10 @@ class phpbb_avatar_driver_local extends phpbb_avatar_driver
if (!empty($avatar_list[$category]))
{
$template->assign_vars(array(
'AV_LOCAL_SHOW' => true,
));
$table_cols = isset($row['av_gallery_cols']) ? $row['av_gallery_cols'] : 4;
$row_count = $col_count = $av_pos = 0;
$av_count = sizeof($avatar_list[$category]);