aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorkamijoutouma <michaelfox648@gmail.com>2015-02-14 17:57:13 -0500
committerMarc Alexander <admin@m-a-styles.de>2015-02-15 18:18:56 +0100
commit4398a51dc62ba04123db9dc081efbf4bc5ca31cd (patch)
treecc07ca3285636db95f017169ee6c4ec4ca7e4e5b /phpBB
parent9e3bc9a3f99d9a29702e4f8e45480ffd7f1c8003 (diff)
downloadforums-4398a51dc62ba04123db9dc081efbf4bc5ca31cd.tar
forums-4398a51dc62ba04123db9dc081efbf4bc5ca31cd.tar.gz
forums-4398a51dc62ba04123db9dc081efbf4bc5ca31cd.tar.bz2
forums-4398a51dc62ba04123db9dc081efbf4bc5ca31cd.tar.xz
forums-4398a51dc62ba04123db9dc081efbf4bc5ca31cd.zip
[ticket/13615] Correctly display images for gallery avatar in subsilver2
Avatar Gallery shows categories but no images in subsilver2. The ID was not specified in the template. Also, the correct parent template loop is called avatar_local_row and not avatar_local_col. PHPBB3-13615
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/styles/subsilver2/template/ucp_avatar_options_local.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/styles/subsilver2/template/ucp_avatar_options_local.html b/phpBB/styles/subsilver2/template/ucp_avatar_options_local.html
index 7beddfc109..919cf49e44 100644
--- a/phpBB/styles/subsilver2/template/ucp_avatar_options_local.html
+++ b/phpBB/styles/subsilver2/template/ucp_avatar_options_local.html
@@ -14,19 +14,19 @@
<!-- BEGIN avatar_local_row -->
<tr>
<!-- BEGIN avatar_local_col -->
- <td class="row1" align="center"><img src="{avatar_local_col.avatar_local_col.AVATAR_IMAGE}" alt="{avatar_local_col.avatar_local_col.AVATAR_NAME}" title="{avatar_local_col.avatar_local_col.AVATAR_NAME}" /></td>
+ <td class="row1" align="center" id="av-{avatar_local_row.S_ROW_COUNT}-{avatar_local_row.avatar_local_col.S_ROW_COUNT}"><img src="{avatar_local_row.avatar_local_col.AVATAR_IMAGE}" alt="{avatar_local_row.avatar_local_col.AVATAR_NAME}" title="{avatar_local_row.avatar_local_col.AVATAR_NAME}" /></td>
<!-- END avatar_local_col -->
</tr>
<tr>
<!-- BEGIN avatar_local_option -->
- <td class="row2" align="center"><input type="radio" class="radio" name="avatar_local_file" value="{avatar_local_col.avatar_local_option.S_OPTIONS_AVATAR}" /></td>
+ <td class="row2" align="center"><input type="radio" class="radio" name="avatar_local_file" id="av-{avatar_local_row.S_ROW_COUNT}-{avatar_local_row.avatar_local_col.S_ROW_COUNT}" value="{avatar_local_row.avatar_local_option.S_OPTIONS_AVATAR}" /></td>
<!-- END avatar_local_option -->
</tr>
<!-- BEGINELSE -->
<tr>
<td class="row1" colspan="2">{L_NO_AVATAR_CATEGORY}</td>
</tr>
- <!-- END avatar_local_col -->
+ <!-- END avatar_local_row -->
</table>
</td>
</tr>